Makefile.am 866 Bytes
Newer Older
Chris Allegretta's avatar
Chris Allegretta committed
1
## $Id$
2
3
4
5
6
7
AUTOMAKE_OPTIONS = gnu no-dependencies
M4DIR = $(srcdir)/m4
ACLOCAL_AMFLAGS = -I $(M4DIR)
ACINCLUDE_INPUTS = $(M4DIR)/gettext.m4 $(M4DIR)/largefile.m4 \
	$(M4DIR)/lcmessage.m4 $(M4DIR)/progtest.m4

Chris Allegretta's avatar
Chris Allegretta committed
8
bin_PROGRAMS = 	nano
9
10
nano_SOURCES =	color.c \
		cut.c \
Chris Allegretta's avatar
Chris Allegretta committed
11
		files.c \
Chris Allegretta's avatar
Chris Allegretta committed
12
		global.c \
Chris Allegretta's avatar
Chris Allegretta committed
13
		move.c \
Chris Allegretta's avatar
Chris Allegretta committed
14
15
16
		nano.c \
		nano.h \
		proto.h \
17
		rcfile.c \
Chris Allegretta's avatar
Chris Allegretta committed
18
		search.c \
Chris Allegretta's avatar
Chris Allegretta committed
19
20
21
22
		utils.c \
		winio.c 

man_MANS = nano.1
23
nano_LDADD = @GLIB_LIBS@ @INTLLIBS@
Chris Allegretta's avatar
Chris Allegretta committed
24

25
26
27
info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split

28
29
EXTRA_DIST =	ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
		README THANKS TODO install-sh missing mkinstalldirs \
30
		nano.1 nano.1.html faq.html nanorc.sample $(ACINCLUDE_INPUTS)
Chris Allegretta's avatar
Chris Allegretta committed
31
32
33

SUBDIRS = po intl

34
localedir = @LOCALE_DIR@
Chris Allegretta's avatar
Chris Allegretta committed
35
INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
36
37
38

$(srcdir)/acinclude.m4: $(ACINCLUDE_INPUTS)
	cat $(ACINCLUDE_INPUTS) > $@