proto.libdb 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $Id$
  2. #PARAMS do not remove this line!
  3. #MACH_PARAMS do not remove this line!
  4. SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libdb
  5. CDIR = $(SRC_HOME)/mach/proto/grind
  6. EMFLAGS= -L -LIB -O -I$(SRC_DIR) -I$(CDIR) -I$(SRC_HOME)/util/grind -m$(MACH)
  7. LIST = atlin.$(SUF) lib.$(SUF)\
  8. par_misc.$(SUF) machdep.$(SUF)
  9. SRC = $(CDIR)/atlin.c $(CDIR)/lib.e\
  10. $(CDIR)/par_misc.e $(SRC_DIR)/machdep.s
  11. all: db_lib.a
  12. install: tail_fp
  13. tail_fp: db_lib.a
  14. cp db_lib.a $(TARGET_HOME)/lib/$(MACH)/tail_db
  15. $(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_db
  16. clean:
  17. rm -f $(LIST) db_lib.a
  18. opr:
  19. make pr | opr
  20. pr:
  21. @pr $(CDIR)/proto.make $(SRC)
  22. db_lib.a: $(LIST)
  23. $(ASAR) rv $@ $?
  24. $(RANLIB) db_lib.a
  25. atlin.$(SUF): $(CDIR)/atlin.c $(SRC_HOME)/util/grind/message.h
  26. ack $(EMFLAGS) -c $(CDIR)/atlin.c
  27. lib.$(SUF): $(CDIR)/lib.e
  28. ack $(EMFLAGS) -c $(CDIR)/lib.e
  29. par_misc.$(SUF): $(CDIR)/par_misc.e
  30. ack $(EMFLAGS) -c $(CDIR)/par_misc.e
  31. machdep.$(SUF): $(SRC_DIR)/machdep.s
  32. ack $(EMFLAGS) -c $(SRC_DIR)/machdep.s