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
10 ansi.h ansi.lcd ansistrict.lcd posix.h posix.lcd posixstrict.lcd \
11 unix.h unix.lcd unixstrict.lcd CTrait.syms CTraitGen.lcl bool.h \
12 file.mts file.xh filerw.mts filerw.xh \
13 lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh \
16 ## Include them in the distribution
17 EXTRA_DIST = $(splintlib_DATA)
19 ## Rules to make splint & the dumps
21 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
24 cd $(top_builddir)/src; $(MAKE)
26 ansi.lcd: ansi.h $(SPLINT)
27 -$(SPLINT) -nolib +impconj ansi.h -dump ansi
30 ansistrict.lcd: ansi.h $(SPLINT)
31 -$(SPLINT) -nolib +impconj -DSTRICT ansi.h -dump ansistrict
34 posix.lcd: ansi.h posix.h $(SPLINT)
35 -$(SPLINT) -nolib +impconj ansi.h posix.h -dump posix
38 posixstrict.lcd: ansi.h posix.h $(SPLINT)
39 -$(SPLINT) -nolib +impconj -DSTRICT ansi.h posix.h -dump posixstrict
42 unix.lcd: ansi.h posix.h unix.h $(SPLINT)
43 -$(SPLINT) -nolib +impconj ansi.h posix.h unix.h stdio.h stdlib.h -dump unix
46 unixstrict.lcd: ansi.h posix.h unix.h $(SPLINT)
47 -$(SPLINT) -nolib +impconj -DSTRICT ansi.h posix.h unix.h stdio.h stdlib.h -dump unixstrict