]> andersk Git - splint.git/blobdiff - lib/Makefile.am
Moved doc/lclint.1 to doc/splint.1
[splint.git] / lib / Makefile.am
index 0b0c7cb3afa78b5f23f00904a3badb0889fee7da..07f8c094a7bbdddceec80d52fe4f334a0af2f824 100644 (file)
@@ -2,46 +2,50 @@
 
 AUTOMAKE_OPTIONS = 1.5 foreign
 
-## Put these files in $prefix/share/lclint/lib
-lclintlibdir = $(pkgdatadir)/lib
+## Put these files in $prefix/share/splint/lib
+splintlibdir = $(pkgdatadir)/lib
+
+UnixHeaders = stdio.h stdlib.h
 
 ## List of files
-lclintlib_DATA = \
-  ansi.h ansi.lcd ansistrict.lcd posix.h posix.lcd posixstrict.lcd \
+splintlib_DATA = \
+  standard.h standard.lcd standardstrict.lcd posix.h posix.lcd posixstrict.lcd \
   unix.h unix.lcd unixstrict.lcd CTrait.syms CTraitGen.lcl bool.h \
   file.mts file.xh filerw.mts filerw.xh \
-  lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh
+  lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh \
+  stdio.h stdlib.h $(UnixHeaders)
 
 ## Include them in the distribution
-EXTRA_DIST = $(lclintlib_DATA)
+EXTRA_DIST = $(splintlib_DATA)
+
 
-## Rules to make lclint & the dumps
+## Rules to make splint & the dumps
 
-LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
+SPLINT = $(top_builddir)/src/splint$(EXEEXT)
 
-$(LCLINT):
+$(SPLINT):
        cd $(top_builddir)/src; $(MAKE)
 
-ansi.lcd: ansi.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj ansi.h -dump ansi
+standard.lcd: standard.h $(SPLINT)
+       -$(SPLINT) -nof -nolib +impconj standard.h -dump standard
        @touch $@
 
-ansistrict.lcd: ansi.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj -DSTRICT ansi.h -dump ansistrict
+standardstrict.lcd: standard.h $(SPLINT)
+       -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h -dump standardstrict
        @touch $@
 
-posix.lcd: ansi.h posix.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj ansi.h posix.h -dump posix
+posix.lcd: standard.h posix.h $(SPLINT)
+       -$(SPLINT) -nof -nolib +impconj standard.h posix.h -dump posix
        @touch $@
 
-posixstrict.lcd: ansi.h posix.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h -dump posixstrict
+posixstrict.lcd: standard.h posix.h $(SPLINT)
+       -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h posix.h -dump posixstrict
        @touch $@
 
-unix.lcd: ansi.h posix.h unix.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj ansi.h posix.h unix.h -dump unix
+unix.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
+       -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj standard.h posix.h unix.h stdio.h stdlib.h -dump unix
        @touch $@
 
-unixstrict.lcd: ansi.h posix.h unix.h $(LCLINT)
-       -$(LCLINT) -nolib +impconj -DSTRICT ansi.h posix.h unix.h -dump unixstrict
+unixstrict.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
+       -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj -DSTRICT standard.h posix.h unix.h  stdio.h stdlib.h  -dump unixstrict
        @touch $@
This page took 0.030691 seconds and 4 git commands to generate.