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/lclint/lib
6 lclintlibdir = $(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-old.mts file.mts file.xh filerw.c filerw.mts filerw.xh \
13 lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh
15 ## Include them in the distribution
16 EXTRA_DIST = $(lclintlib_DATA)
18 ## Rules to make lclint & the dumps
20 LCLINT = $(top_builddir)/bin/lclint$(EXEEXT)
23 cd $(top_builddir)/src; $(MAKE)
25 ansi.lcd: ansi.h $(LCLINT)
26 -$(LCLINT) -nolib +impconj ansi.h -dump ansi
29 ansistrict.lcd: ansi.h $(LCLINT)
30 -$(LCLINT) -nolib +impconj -DSTRICT ansi.h -dump ansistrict
33 posix.lcd: ansi.h posix.h $(LCLINT)
34 -$(LCLINT) -nolib +impconj ansi.h posix.h -dump posix
37 posixstrict.lcd: ansi.h posix.h $(LCLINT)
38 -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h -dump posixstrict
41 unix.lcd: ansi.h posix.h unix.h $(LCLINT)
42 -$(LCLINT) -nolib +impconj ansi.h posix.h unix.h -dump unix
45 unixstrict.lcd: ansi.h posix.h unix.h $(LCLINT)
46 -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h unix.h -dump unixstrict