summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 12:55:17 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-05 12:55:17 -0800
commit176336f2dedded583aa8d775e6f97ad25a293aa5 (patch)
tree35155f4aedb601ee1f5895b1e5aaa693c12d94df /src/Makefile.am
downloadnano-176336f2dedded583aa8d775e6f97ad25a293aa5.tar.gz
nano-176336f2dedded583aa8d775e6f97ad25a293aa5.tar.bz2
nano-176336f2dedded583aa8d775e6f97ad25a293aa5.zip
Imported Upstream version 2.3.1upstream/2.3.1upstream
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..f0b21c0
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,30 @@
+localedir = $(datadir)/locale
+INCLUDES = -DLOCALEDIR=\"$(localedir)\" -DSYSCONFDIR=\"$(sysconfdir)\"
+
+ACLOCAL_AMFLAGS = -I m4
+
+bin_PROGRAMS = nano
+nano_SOURCES = browser.c \
+ chars.c \
+ color.c \
+ cut.c \
+ files.c \
+ global.c \
+ help.c \
+ move.c \
+ nano.c \
+ nano.h \
+ prompt.c \
+ proto.h \
+ rcfile.c \
+ search.c \
+ text.c \
+ utils.c \
+ winio.c
+
+nano_LDADD = @GLIB_LIBS@ @LIBINTL@
+
+install-exec-hook:
+ cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano
+uninstall-hook:
+ cd $(DESTDIR)$(bindir) && rm -f rnano