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

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

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

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

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

SUBDIRS = po intl

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

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