2 # splint Makefile for GNU Make on OS/2 systems
\r
4 # Derived from original Unix makefile by Herbert
\r
7 include ../os2/make.vars
\r
11 UnixHeaders = stdio.h stdlib.h
\r
14 standard.h standard.lcd standardstrict.lcd posix.h posix.lcd posixstrict.lcd\
\r
15 unix.h unix.lcd unixstrict.lcd CTrait.syms CTraitGen.lcl bool.h \
\r
16 file.mts file.xh filerw.mts filerw.xh \
\r
17 lclinit.lci linux.h lslinit.lsi tainted.mts tainted.xh \
\r
18 stdio.h stdlib.h $(UnixHeaders)
\r
20 EXTRA_DIST = $(splintlib_DATA)
\r
22 CLEANFILES = posix.lcd standard.lcd unix.lcd \
\r
23 posixstrict.lcd standardstrict.lcd unixstrict.lcd
\r
26 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
\r
29 CONFIG_HEADER = $(top_builddir)/config.h
\r
30 DATA = $(splintlib_DATA)
\r
32 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
\r
37 cd $(top_builddir)/src; $(MAKE) -f Makefile.os2
\r
40 $(RM) -f $(CLEANFILES)
\r
42 standard.lcd: standard.h $(SPLINT)
\r
43 -$(SPLINT) -nof -nolib +impconj standard.h -dump standard
\r
46 standardstrict.lcd: standard.h $(SPLINT)
\r
47 -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h -dump standardstrict
\r
50 posix.lcd: standard.h posix.h $(SPLINT)
\r
51 -$(SPLINT) -nof -nolib +impconj standard.h posix.h -dump posix
\r
54 posixstrict.lcd: standard.h posix.h $(SPLINT)
\r
55 -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h posix.h -dump posixstrict
\r
58 unix.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
\r
59 -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj standard.h posix.h unix.h stdio.h stdlib.h -dump unix
\r
62 unixstrict.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
\r
63 -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj -DSTRICT standard.h posix.h unix.h stdio.h stdlib.h -dump unixstrict
\r