1 ## Note: starting comments with ## means they don't end up in Makefile
3 AUTOMAKE_OPTIONS = 1.5 foreign
5 ## Put these files in $prefix/share/splint/lib
6 splintlibdir = $(pkgdatadir)/lib
8 UnixHeaders = stdio.h stdlib.h
12 standard.h standard.lcd standardstrict.lcd posix.h posix.lcd posixstrict.lcd \
13 unix.h unix.lcd unixstrict.lcd CTrait.syms CTraitGen.lcl bool.h \
14 file.mts file.xh filerw.mts filerw.xh \
15 lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh \
16 stdio.h stdlib.h $(UnixHeaders)
18 ## Include them in the distribution
19 EXTRA_DIST = $(splintlib_DATA)
22 ## Rules to make splint & the dumps
24 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
27 cd $(top_builddir)/src; $(MAKE)
29 standard.lcd: standard.h $(SPLINT)
30 -$(SPLINT) -nof -nolib +impconj standard.h -dump standard
33 standardstrict.lcd: standard.h $(SPLINT)
34 -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h -dump standardstrict
37 posix.lcd: standard.h posix.h $(SPLINT)
38 -$(SPLINT) -nof -nolib +impconj standard.h posix.h -dump posix
41 posixstrict.lcd: standard.h posix.h $(SPLINT)
42 -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h posix.h -dump posixstrict
45 unix.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
46 -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj standard.h posix.h unix.h stdio.h stdlib.h -dump unix
49 unixstrict.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
50 -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj -DSTRICT standard.h posix.h unix.h stdio.h stdlib.h -dump unixstrict