home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / splint3s.zip / splint-3.0.1.6 / lib / Makefile.os2 < prev    next >
Encoding:
Makefile  |  2002-02-16  |  1.2 KB  |  40 lines

  1. #
  2. # splint Makefile for GNU Make on OS/2 systems
  3. #
  4. # Derived from original Unix makefile by Herbert
  5. #
  6.  
  7. include ../os2/make.vars
  8.  
  9. DATAFILES = standard.h standard.lcd standardstrict.lcd posix.h posix.lcd \
  10.     posixstrict.lcd unix.h unix.lcd unixstrict.lcd 
  11. SPLINT = ../bin/splint$(EXEEXT)
  12.  
  13. all: $(DATAFILES)
  14.  
  15. clean: $(RM) -f $(DATAFILES)
  16.  
  17. standard.lcd: standard.h $(SPLINT)
  18.     -$(SPLINT) -nof -nolib +impconj standard.h -dump standard
  19.     @touch $@
  20.  
  21. standardstrict.lcd: standard.h $(SPLINT)
  22.     -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h -dump standardstrict
  23.     @touch $@
  24.  
  25. posix.lcd: standard.h posix.h $(SPLINT)
  26.     -$(SPLINT) -nof -nolib +impconj standard.h posix.h -dump posix
  27.     @touch $@
  28.  
  29. posixstrict.lcd: standard.h posix.h $(SPLINT)
  30.     -$(SPLINT) -nof -nolib +impconj -DSTRICT standard.h posix.h -dump posixstrict
  31.     @touch $@
  32.  
  33. unix.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
  34.     -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj standard.h posix.h unix.h stdio.h stdlib.h -dump unix
  35.     @touch $@
  36.  
  37. unixstrict.lcd: standard.h posix.h unix.h $(UnixHeaders) $(SPLINT)
  38.     -$(SPLINT) -supcounts -nof -incondefs -nolib +impconj -DSTRICT standard.h posix.h unix.h  stdio.h stdlib.h  -dump unixstrict
  39.     @touch $@
  40.