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