X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/155af98de2d41917730964947d990b7fb70ddc01..f6753ca7324b8b367b49a83666614bafaf62d9df:/lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index 07f8c09..39e216e 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,5 +1,9 @@ ## Note: starting comments with ## means they don't end up in Makefile +### Make phony, always remake everything. + +.PHONY: all standard.lcd standardstrict.lcd posix.lcd posixstrict.lcd unix.lcd unixstrict.lcd + AUTOMAKE_OPTIONS = 1.5 foreign ## Put these files in $prefix/share/splint/lib @@ -18,6 +22,10 @@ splintlib_DATA = \ ## Include them in the distribution EXTRA_DIST = $(splintlib_DATA) +##get rid of lcd files if the user does a make clean +CLEANFILES = posix.lcd standard.lcd unix.lcd \ + posixstrict.lcd standardstrict.lcd unixstrict.lcd + ## Rules to make splint & the dumps @@ -26,6 +34,8 @@ SPLINT = $(top_builddir)/src/splint$(EXEEXT) $(SPLINT): cd $(top_builddir)/src; $(MAKE) +all: standard.lcd standardstrict.lcd posix.lcd posixstrict.lcd unix.lcd unixstrict.lcd + standard.lcd: standard.h $(SPLINT) -$(SPLINT) -nof -nolib +impconj standard.h -dump standard @touch $@