]>
Commit | Line | Data |
---|---|---|
87fa79e5 | 1 | #\r |
2 | # splint Makefile for GNU Make on OS/2 systems\r | |
3 | #\r | |
4 | # Derived from original Unix makefile by Herbert\r | |
5 | #\r | |
6 | \r | |
7 | include ../os2/make.vars\r | |
8 | \r | |
6ee276d2 | 9 | top_builddir = ..\r |
87fa79e5 | 10 | \r |
6ee276d2 | 11 | UnixHeaders = stdio.h stdlib.h\r |
87fa79e5 | 12 | \r |
6ee276d2 | 13 | splintlib_DATA = \\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 | |
19 | \r | |
20 | EXTRA_DIST = $(splintlib_DATA)\r | |
21 | \r | |
22 | CLEANFILES = posix.lcd standard.lcd unix.lcd \\r | |
23 | posixstrict.lcd standardstrict.lcd unixstrict.lcd\r | |
24 | \r | |
25 | \r | |
26 | SPLINT = $(top_builddir)/src/splint$(EXEEXT)\r | |
27 | \r | |
28 | subdir = lib\r | |
29 | CONFIG_HEADER = $(top_builddir)/config.h\r | |
30 | DATA = $(splintlib_DATA)\r | |
31 | \r | |
32 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)\r | |
33 | \r | |
34 | all: $(DATA)\r | |
35 | \r | |
36 | $(SPLINT):\r | |
37 | cd $(top_builddir)/src; $(MAKE) -f Makefile.os2\r | |
38 | \r | |
39 | clean: \r | |
40 | $(RM) -f $(CLEANFILES)\r | |
87fa79e5 | 41 | \r |
42 | standard.lcd: standard.h $(SPLINT)\r | |
43 | -$(SPLINT) -nof -nolib +impconj standard.h -dump standard\r | |
44 | @touch $@\r | |
45 | \r | |
46 | standardstrict.lcd: standard.h $(SPLINT)\r | |
47 | -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h -dump standardstrict\r | |
48 | @touch $@\r | |
49 | \r | |
50 | posix.lcd: standard.h posix.h $(SPLINT)\r | |
51 | -$(SPLINT) -nof -nolib +impconj standard.h posix.h -dump posix\r | |
52 | @touch $@\r | |
53 | \r | |
54 | posixstrict.lcd: standard.h posix.h $(SPLINT)\r | |
55 | -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h posix.h -dump posixstrict\r | |
56 | @touch $@\r | |
57 | \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 | |
60 | @touch $@\r | |
61 | \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 | |
64 | @touch $@\r |