|
|
1.1 ! root 1: SRC_ROOT = .. ! 2: # Cross platform/compiler definitions ! 3: include $(SRC_ROOT)/build/Common.gmake # defines clean and output directory rules ! 4: ! 5: CFLAGS += $(XPDEV-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) ! 6: ! 7: OBJS += $(MTOBJODIR)$(DIRSEP)curs_cio$(OFILE) ! 8: ifdef NO_X ! 9: CFLAGS += -DNO_X ! 10: else ! 11: OBJS += $(MTOBJODIR)$(DIRSEP)console$(OFILE) \ ! 12: $(MTOBJODIR)$(DIRSEP)x_cio$(OFILE) ! 13: endif ! 14: ! 15: ifdef WITH_SDL ! 16: OBJS += $(MTOBJODIR)$(DIRSEP)sdl_con$(OFILE) ! 17: endif ! 18: ! 19: ifeq ($(os),netbsd) ! 20: CFLAGS += -DN_CURSES_LIB ! 21: endif ! 22: ! 23: $(MTOBJODIR)$(DIRSEP)console$(OFILE).static: ! 24: $(QUIET)$(DELETE) $(MTOBJODIR)$(DIRSEP)console$(OFILE)* ! 25: $(QUIET)touch $(MTOBJODIR)$(DIRSEP)console$(OFILE).static ! 26: ! 27: $(MTOBJODIR)$(DIRSEP)console$(OFILE).dynamic: ! 28: $(QUIET)$(DELETE) $(MTOBJODIR)$(DIRSEP)console$(OFILE)* ! 29: $(QUIET)touch $(MTOBJODIR)$(DIRSEP)console$(OFILE).dynamic ! 30: ! 31: # CIOLIB Library Link Rule ! 32: ifdef STATIC ! 33: $(CIOLIB-MT_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).static $(MTOBJODIR) $(OBJS) ! 34: else ! 35: $(CIOLIB-MT_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).dynamic $(MTOBJODIR) $(OBJS) ! 36: endif ! 37: @echo Creating $@ ... ! 38: $(QUIET)$(AR) rc $@ $(OBJS) ! 39: $(QUIET)$(RANLIB) $@ ! 40: ! 41: ifdef STATIC ! 42: $(CIOLIB-MT_SHLIB_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).static $(MTOBJODIR) $(OBJS) ! 43: else ! 44: $(CIOLIB-MT_SHLIB_BUILD): $(MTOBJODIR)$(DIRSEP)console$(OFILE).dynamic $(MTOBJODIR) $(OBJS) ! 45: endif ! 46: @echo Creating $@ ! 47: $(QUIET)$(MKSHLIB) $(LDFLAGS) $(OBJS) $(SHLIBOPTS) -o $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.