|
|
1.1 root 1: # Makefile for winlib (RM 600 under UNIX System V.4)
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 = -DSYSV4 -DINTRFLUSH -DNOTYPEAHEAD
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:
32: dialbox.o: dialbox.c winfun.h
33: cc $(CFLAGS) $(OPTIONS) dialbox.c
34:
35: buttbox.o: buttbox.c winfun.h
36: cc $(CFLAGS) $(OPTIONS) buttbox.c
37:
38: cmdbox.o: cmdbox.c
39: cc $(CFLAGS) $(OPTIONS) cmdbox.c
40:
41: listbox.o: listbox.c winfun.h
42: cc $(CFLAGS) $(OPTIONS) listbox.c
43:
44: editbox.o: editbox.c
45: cc $(CFLAGS) $(OPTIONS) editbox.c
46:
47: fielded.o: fielded.c winfun.h
48: cc $(CFLAGS) $(OPTIONS) fielded.c
49:
50: selbox.o: selbox.c winfun.h
51: cc $(CFLAGS) $(OPTIONS) selbox.c
52:
53: pdmenu.o: pdmenu.c winfun.h
54: cc $(CFLAGS) $(OPTIONS) pdmenu.c
55:
56: scrollbar.o: scrollbar.c winfun.h
57: cc $(CFLAGS) $(OPTIONS) scrollbar.c
58:
59: pfkeys.o: pfkeys.c winfun.h
60: cc $(CFLAGS) $(OPTIONS) pfkeys.c
61:
62: initwin.o: initwin.c winfun.h
63: cc $(CFLAGS) $(OPTIONS) initwin.c
64:
65: openwin.o: openwin.c winfun.h
66: cc $(CFLAGS) $(OPTIONS) openwin.c
67:
68: closall.o: closall.c winfun.h
69: cc $(CFLAGS) $(OPTIONS) closall.c
70:
71: closwin.o: closwin.c winfun.h
72: cc $(CFLAGS) $(OPTIONS) closwin.c
73:
74: refrall.o: refrall.c winfun.h
75: cc $(CFLAGS) $(OPTIONS) refrall.c
76:
77: sh_esc.o: sh_esc.c
78: cc $(CFLAGS) $(OPTIONS) sh_esc.c
79:
80: sh_ret.o: sh_ret.c
81: cc $(CFLAGS) $(OPTIONS) sh_ret.c
82:
83: nomem.o: nomem.c
84: cc $(CFLAGS) $(OPTIONS) nomem.c
85:
86: cursor.o: cursor.c
87: cc $(CFLAGS) $(OPTIONS) cursor.c
88:
89: clrscr.o: clrscr.c
90: cc $(CFLAGS) $(OPTIONS) clrscr.c
91:
92: clean:
93: rm -f *.o winlib.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.