]> andersk Git - splint.git/blob - lib/Makefile.am
Modified configure.ac to new longer check for c++.
[splint.git] / lib / Makefile.am
1 ## Note: starting comments with ## means they don't end up in Makefile
2
3 AUTOMAKE_OPTIONS = 1.5 foreign
4
5 ## Put these files in $prefix/share/lclint/lib
6 lclintlibdir = $(pkgdatadir)/lib
7
8 ## List of files
9 lclintlib_DATA = \
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 \
14   stdio.h stdlib.h
15
16 ## Include them in the distribution
17 EXTRA_DIST = $(lclintlib_DATA)
18
19 ## Rules to make lclint & the dumps
20
21 LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
22
23 $(LCLINT):
24         cd $(top_builddir)/src; $(MAKE)
25
26 ansi.lcd: ansi.h $(LCLINT)
27         -$(LCLINT) -nolib +impconj ansi.h -dump ansi
28         @touch $@
29
30 ansistrict.lcd: ansi.h $(LCLINT)
31         -$(LCLINT) -nolib +impconj -DSTRICT ansi.h -dump ansistrict
32         @touch $@
33
34 posix.lcd: ansi.h posix.h $(LCLINT)
35         -$(LCLINT) -nolib +impconj ansi.h posix.h -dump posix
36         @touch $@
37
38 posixstrict.lcd: ansi.h posix.h $(LCLINT)
39         -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h -dump posixstrict
40         @touch $@
41
42 unix.lcd: ansi.h posix.h unix.h $(LCLINT)
43         -$(LCLINT) -nolib +impconj ansi.h posix.h unix.h stdio.h stdlib.h -dump unix
44         @touch $@
45
46 unixstrict.lcd: ansi.h posix.h unix.h $(LCLINT)
47         -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h unix.h  stdio.h stdlib.h  -dump unixstrict
48         @touch $@
This page took 0.033577 seconds and 5 git commands to generate.