|
|
1.1 ! root 1: # Makefile for winlib (SCO UNIX Release 3.2 Version 2.0) ! 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 -DSCO32 ! 23: ! 24: OBJ = dialbox.o buttbox.o cmdbox.o listbox.o editbox.o fielded.o selbox.o \ ! 25: pdmenu.o scrollbar.o pfkeys.o \ ! 26: initwin.o openwin.o closall.o closwin.o refrall.o sh_esc.o sh_ret.o \ ! 27: nomem.o cursor.o clrscr.o ! 28: ! 29: winlib.a: $(OBJ) ! 30: ar vru winlib.a `lorder $(OBJ) | tsort` ! 31: # ranlib winlib.a ! 32: ! 33: dialbox.o: dialbox.c winfun.h ! 34: cc $(CFLAGS) $(OPTIONS) dialbox.c ! 35: ! 36: buttbox.o: buttbox.c winfun.h ! 37: cc $(CFLAGS) $(OPTIONS) buttbox.c ! 38: ! 39: cmdbox.o: cmdbox.c ! 40: cc $(CFLAGS) $(OPTIONS) cmdbox.c ! 41: ! 42: listbox.o: listbox.c winfun.h ! 43: cc $(CFLAGS) $(OPTIONS) listbox.c ! 44: ! 45: editbox.o: editbox.c ! 46: cc $(CFLAGS) $(OPTIONS) editbox.c ! 47: ! 48: fielded.o: fielded.c winfun.h ! 49: cc $(CFLAGS) $(OPTIONS) fielded.c ! 50: ! 51: selbox.o: selbox.c winfun.h ! 52: cc $(CFLAGS) $(OPTIONS) selbox.c ! 53: ! 54: pdmenu.o: pdmenu.c winfun.h ! 55: cc $(CFLAGS) $(OPTIONS) pdmenu.c ! 56: ! 57: scrollbar.o: scrollbar.c winfun.h ! 58: cc $(CFLAGS) $(OPTIONS) scrollbar.c ! 59: ! 60: pfkeys.o: pfkeys.c winfun.h ! 61: cc $(CFLAGS) $(OPTIONS) pfkeys.c ! 62: ! 63: initwin.o: initwin.c winfun.h ! 64: cc $(CFLAGS) $(OPTIONS) initwin.c ! 65: ! 66: openwin.o: openwin.c winfun.h ! 67: cc $(CFLAGS) $(OPTIONS) openwin.c ! 68: ! 69: closall.o: closall.c winfun.h ! 70: cc $(CFLAGS) $(OPTIONS) closall.c ! 71: ! 72: closwin.o: closwin.c winfun.h ! 73: cc $(CFLAGS) $(OPTIONS) closwin.c ! 74: ! 75: refrall.o: refrall.c winfun.h ! 76: cc $(CFLAGS) $(OPTIONS) refrall.c ! 77: ! 78: sh_esc.o: sh_esc.c ! 79: cc $(CFLAGS) $(OPTIONS) sh_esc.c ! 80: ! 81: sh_ret.o: sh_ret.c ! 82: cc $(CFLAGS) $(OPTIONS) sh_ret.c ! 83: ! 84: nomem.o: nomem.c ! 85: cc $(CFLAGS) $(OPTIONS) nomem.c ! 86: ! 87: cursor.o: cursor.c ! 88: cc $(CFLAGS) $(OPTIONS) cursor.c ! 89: ! 90: clrscr.o: clrscr.c ! 91: cc $(CFLAGS) $(OPTIONS) clrscr.c ! 92: ! 93: clean: ! 94: rm -f *.o winlib.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.