|
|
1.1 ! root 1: # Makefile for winlib (TARGON/35 TOS 3.3) ! 2: ! 3: CFLAGS = -c -O ! 4: ! 5: # Additional flags which may be defined in OPTIONS: ! 6: # ! 7: # -DINTRFLUSH - if the curses library has the function intrflush() ! 8: # this flag should be activated ! 9: # ! 10: # -DNOTYPEAHEAD - if the curses library does typeahead optimization ! 11: # this flag should be set, because the library ! 12: # does it's own optimization of typeahead ! 13: # ! 14: # -DAIX - this flag is mandantory if compiling under AIX ! 15: # ! 16: # -DSCO32 - this flag is mandantory if compiling under SCO 3.2 ! 17: # ! 18: # -DSYSV4 - this flag is mandantory if compiling under SV.4 ! 19: # ! 20: # -DOLDACS - for curses without ACS_... ! 21: ! 22: OPTIONS = -DINTRFLUSH -DNOTYPEAHEAD ! 23: ! 24: ! 25: OBJ = dialbox.o buttbox.o cmdbox.o listbox.o editbox.o fielded.o selbox.o \ ! 26: pdmenu.o scrollbar.o pfkeys.o \ ! 27: initwin.o openwin.o closall.o closwin.o refrall.o sh_esc.o sh_ret.o \ ! 28: nomem.o cursor.o clrscr.o ! 29: ! 30: winlib.a: $(OBJ) ! 31: ar vru winlib.a `lorder $(OBJ) | tsort` ! 32: # ranlib winlib.a ! 33: ! 34: dialbox.o: dialbox.c winfun.h ! 35: cc $(CFLAGS) $(OPTIONS) dialbox.c ! 36: ! 37: buttbox.o: buttbox.c winfun.h ! 38: cc $(CFLAGS) $(OPTIONS) buttbox.c ! 39: ! 40: cmdbox.o: cmdbox.c ! 41: cc $(CFLAGS) $(OPTIONS) cmdbox.c ! 42: ! 43: listbox.o: listbox.c winfun.h ! 44: cc $(CFLAGS) $(OPTIONS) listbox.c ! 45: ! 46: editbox.o: editbox.c ! 47: cc $(CFLAGS) $(OPTIONS) editbox.c ! 48: ! 49: fielded.o: fielded.c winfun.h ! 50: cc $(CFLAGS) $(OPTIONS) fielded.c ! 51: ! 52: selbox.o: selbox.c winfun.h ! 53: cc $(CFLAGS) $(OPTIONS) selbox.c ! 54: ! 55: pdmenu.o: pdmenu.c winfun.h ! 56: cc $(CFLAGS) $(OPTIONS) pdmenu.c ! 57: ! 58: scrollbar.o: scrollbar.c winfun.h ! 59: cc $(CFLAGS) $(OPTIONS) scrollbar.c ! 60: ! 61: pfkeys.o: pfkeys.c winfun.h ! 62: cc $(CFLAGS) $(OPTIONS) pfkeys.c ! 63: ! 64: initwin.o: initwin.c winfun.h ! 65: cc $(CFLAGS) $(OPTIONS) initwin.c ! 66: ! 67: openwin.o: openwin.c winfun.h ! 68: cc $(CFLAGS) $(OPTIONS) openwin.c ! 69: ! 70: closall.o: closall.c winfun.h ! 71: cc $(CFLAGS) $(OPTIONS) closall.c ! 72: ! 73: closwin.o: closwin.c winfun.h ! 74: cc $(CFLAGS) $(OPTIONS) closwin.c ! 75: ! 76: refrall.o: refrall.c winfun.h ! 77: cc $(CFLAGS) $(OPTIONS) refrall.c ! 78: ! 79: sh_esc.o: sh_esc.c ! 80: cc $(CFLAGS) $(OPTIONS) sh_esc.c ! 81: ! 82: sh_ret.o: sh_ret.c ! 83: cc $(CFLAGS) $(OPTIONS) sh_ret.c ! 84: ! 85: nomem.o: nomem.c ! 86: cc $(CFLAGS) $(OPTIONS) nomem.c ! 87: ! 88: cursor.o: cursor.c ! 89: cc $(CFLAGS) $(OPTIONS) cursor.c ! 90: ! 91: clrscr.o: clrscr.c ! 92: cc $(CFLAGS) $(OPTIONS) clrscr.c ! 93: ! 94: clean: ! 95: rm -f *.o winlib.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.