proto.make 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  2. # See the copyright notice in the ACK home directory, in the file "Copyright".
  3. #
  4. # $Header$
  5. #PARAMS do not remove this line!
  6. SRC_DIR = $(SRC_HOME)/lang/cem/lint/llib
  7. LINT = $(TARGET_HOME)/bin/lint
  8. CURSESDIR = /usr/src/lib/libcurses# # for a local -lcurses
  9. MATHDIR = /usr/src/lib/libm# # for a local -lm
  10. TERMLIBDIR = /usr/src/lib/libtermlib# # for a local -ltermlib
  11. CLIBDIR = $(SRC_HOME)/lang/cem/libcc# # to create c.llb
  12. ANSILIBDIR = $(SRC_HOME)/lang/cem/libcc.ansi## to create c.llb
  13. INCLUDE = $(SRC_HOME)/include/_tail_cc
  14. AINCLUDE = $(SRC_HOME)/lang/cem/libcc.ansi/headers
  15. CLIBFLAGS = -I$(INCLUDE) # to compile $(CLIBDIR)
  16. ANSILIBFLAGS = -I$(AINCLUDE) # to compile $(ANSILIBDIR)
  17. all: c.llb ansi_c.llb
  18. install: all
  19. -mkdir $(TARGET_HOME)/lib.bin/lint
  20. -mkdir $(TARGET_HOME)/lib.bin/lint/llib
  21. cp $(SRC_DIR)/*.llb $(TARGET_HOME)/lib.bin/lint/llib
  22. cp *.llb $(TARGET_HOME)/lib.bin/lint/llib
  23. cmp:
  24. echo "nothing compared"
  25. pr:
  26. echo "nothing printed"
  27. opr:
  28. echo "nothing printed"
  29. clean:
  30. rm -f *.llb Out
  31. c.llb: $(SRC_DIR)/unix7.c
  32. cp $(SRC_DIR)/c.llb c.llb
  33. $(LINT) -Lc.llb $(SRC_DIR)/unix7.c
  34. ansi_c.llb: $(SRC_DIR)/unix7.c
  35. cp $(SRC_DIR)/ansi_c.llb ansi_c.llb
  36. $(LINT) -ansi -Lansi_c.llb $(SRC_DIR)/unix7.c
  37. curses.llb:
  38. $(LINT) -Lcurses.llb $(CURSESDIR)/*.c
  39. m.llb:
  40. $(LINT) -Lm.llb $(MATHDIR)/*.c
  41. termlib.llb:
  42. $(LINT) -Ltermlib.llb $(TERMLIBDIR)/*.c
  43. cnew.llb:
  44. cp /dev/null cnew.llb
  45. $(LINT) -Lcnew.llb $(CLIBFLAGS) $(CLIBDIR)/*/*.c
  46. $(LINT) -Lcnew.llb $(SRC_DIR)/unix7.c
  47. ansi_cnew.llb:
  48. cp /dev/null ansi_cnew.llb
  49. $(LINT) -ansi -Lansi_cnew.llb $(ANSILIBFLAGS) $(ANSILIBDIR)/*/*.c
  50. $(LINT) -Lansi_cnew.llb $(SRC_DIR)/unix7.c