summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2026-04-01 22:24:22 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2026-04-04 19:51:35 +0200
commita809bc0f49ee4c6e777f39d1f80ee57862a0fcab (patch)
tree5187dbd9b83205aac62d1f48252025b6e2d158a9 /src/Makefile.am
Initial import of the code into gitv0.1
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..b9463d4
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,18 @@
+bin_PROGRAMS = aplwc
+dist_man_MANS = aplwc.1
+
+aplwc_SOURCES = \
+ main.c \
+ nls.h \
+ readline.c \
+ readline.h \
+ syscmd.c \
+ syscmd.h
+
+aplwc_CPPFLAGS = $(READLINE_CFLAGS) -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/lib -I$(top_srcdir)/gnu -I$(top_builddir)/gnu
+aplwc_LDADD = $(LTLIBINTL) ../lib/libaplwc.la ../gnu/libgnu.la $(READLINE_LIBS)
+
+CLEANFILES = aplwc.1
+
+aplwc.1: aplwc
+ $(AM_V_GEN)help2man --output=$@ $(top_builddir)/src/aplwc$(EXEEXT)