]> git.draconx.ca Git - cdecl99.git/blobdiff - Makefile.am
Port to use getline.h from dxcommon.
[cdecl99.git] / Makefile.am
index 452e811b62eee098871e7e524387c58996090c6c..006d97f9c0560ff89ff1c2b687f1752f391caf0b 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright © 2011-2013, 2019-2024 Nick Bowler
 #
-# License WTFPL2: Do What The Fuck You Want To Public License, version 2.
-# This is free software: you are free to do what the fuck you want to.
+# License GPLv3+: GNU General Public License version 3 or any later version.
+# This is free software: you are free to change and redistribute it.
 # There is NO WARRANTY, to the extent permitted by law.
 
 ACLOCAL_AMFLAGS = -I m4 -I common/m4
@@ -11,6 +11,9 @@ MOSTLYCLEANFILES =
 EXTRA_LTLIBRARIES =
 EXTRA_PROGRAMS =
 
+# Ensure .stamp rules are handled first
+SUFFIXES = .stamp
+
 AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \
        -I$(top_builddir)/lib -I$(top_srcdir)/lib \
        -I$(DX_BASEDIR)/src -I$(top_builddir)/t \
@@ -31,10 +34,11 @@ EXTRA_DIST = bootstrap $(DX_BASEDIR)/scripts/fix-gnulib.pl m4/gnulib-cache.m4 \
 
 dist_man_MANS = doc/cdecl99.1 doc/libcdecl.3
 
-noinst_HEADERS = conf_pre.h conf_post.h common/src/help.h common/src/tap.h \
-                 common/src/xtra.h src/cdecl.h src/intconv.h src/parse.h \
-                 src/scan.h src/thread-posix.h src/thread-stdc.h \
-                 src/thread-w32.h src/version.h t/declgen.h t/test.h
+noinst_HEADERS = conf_pre.h conf_post.h common/src/getline.h \
+                 common/src/help.h common/src/tap.h common/src/xtra.h \
+                 src/cdecl.h src/intconv.h src/parse.h src/scan.h \
+                 src/thread-posix.h src/thread-stdc.h src/thread-w32.h \
+                 src/version.h t/declgen.h t/test.h
 
 noinst_DATA = $(MOFILES)
 
@@ -75,7 +79,7 @@ EXTRA_libgnu_a_DEPENDENCIES = $(static_gl_objects)
 dummy $(static_gl_objects): $(gnulib_headers)
 
 bin_PROGRAMS = cdecl99
-cdecl99_SOURCES = common/src/help.c src/commands.c src/cdecl99.h src/getline.h
+cdecl99_SOURCES = common/src/help.c src/commands.c src/cdecl99.h
 EXTRA_cdecl99_DEPENDENCIES = $(libmain_a_OBJECTS) $(libexec_a_OBJECTS)
 cdecl99_LDADD = $(EXTRA_cdecl99_DEPENDENCIES) libcdecl.la libgnu.a \
                 $(LTLIBINTL) $(LTLIBREADLINE)