# 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
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 \
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)
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)