author | Claus Gittinger <cg@exept.de> |
Fri, 21 Nov 2003 20:36:13 +0100 | |
changeset 2829 | c4528c8ce1de |
parent 2828 | 763e387c7e53 |
child 3331 | e2e24f8443fb |
permissions | -rw-r--r-- |
2829 | 1 |
# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.73 2003-11-21 19:36:13 cg Exp $ |
56 | 2 |
# |
0 | 3 |
# -------------- no need to change anything below ---------- |
4 |
||
39 | 5 |
TOP=.. |
6 |
SUBDIRS= |
|
7 |
||
1511 | 8 |
LIB_BASE=$(LIBWIDG_BASE) |
2002 | 9 |
NM_LIB_BASE=LIBWIDG_BASE |
1511 | 10 |
|
132 | 11 |
STCOPT=$(LIBWIDG_STCOPT) -warnNonStandard |
1854
2376625c49b3
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1835
diff
changeset
|
12 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
519 | 13 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
7 | 14 |
|
530 | 15 |
all:: classLibRule |
119 | 16 |
|
457 | 17 |
# |
524 | 18 |
# on (my) aix system, this one cannot be compiled with |
19 |
# optimizer - running out of space during compile |
|
20 |
# |
|
1689 | 21 |
AIX:: ListView.o TextView.o |
2009 | 22 |
$(MAKE) OPT="" EditTextView.o |
23 |
$(MAKE) OPT="" ObjectView.o |
|
141 | 24 |
|
0 | 25 |
cleanjunk:: |
2824 | 26 |
@-rm -f *.s *.s2 *.c *.H |
0 | 27 |
|
28 |
clean:: |
|
2824 | 29 |
@-rm -f [A-Z]*.o *.s *.s2 *.c *.H |
0 | 30 |
|
31 |
clobber:: |
|
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
32 |
@-rm -f *.c *.H classList.stc abbrev.stc |
0 | 33 |
|
457 | 34 |
rmuncrit: |
35 |
-rm -f $(UNCRITICALOBJS) |
|
36 |
||
56 | 37 |
# |
38 |
# these nest too deep on some systems (see discussion about LIMITSUPERINCLUDE |
|
39 |
# in configurations/COMMON/defines |
|
40 |
# |
|
41 |
WORKSPACE: |
|
42 |
$(MAKE) Workspace.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 43 |
|
56 | 44 |
CODEVIEW: |
45 |
$(MAKE) CodeView.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 46 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
47 |
WARNBOX: |
2009 | 48 |
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
49 |
|
56 | 50 |
RBUTTON: |
2008 | 51 |
$(MAKE) RadioButton.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
0 | 52 |
|
53 |
# |
|
500
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
54 |
# special BIG-rule (kludge for HP) |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
55 |
# |
2009 | 56 |
EditTextView.$(O): |
57 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=EditTextView CC=$(CC) OPT="$(OPT)" |
|
500
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
58 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
59 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
60 |
# |
61 | 61 |
# special BIG-rule (kludge for NeXT) |
62 |
# |
|
164 | 63 |
ListView.$(O): |
525 | 64 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ListView OPT="$(OPT)" |
65 |
||
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
66 |
# |
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
67 |
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error) |
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
68 |
# |
862 | 69 |
#HP:: |
70 |
# |
|
861 | 71 |
#HPbigFiles: |
2009 | 72 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ObjectView CC=$(CC) OPT="$(OPT)" |
1689 | 73 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DialogBox CC=$(CC) OPT="$(OPT)" |
74 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=TextView CC=$(CC) OPT="$(OPT)" |
|
2009 | 75 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SelectionInListView CC=$(CC) OPT="$(OPT)" |
1689 | 76 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=MenuView CC=$(CC) OPT="$(OPT)" |
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
77 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
78 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
79 |
# deeply nested includes (kludge for sun cc) |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
80 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
81 |
SUN:: SUNfiles |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
82 |
|
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
83 |
SUNfiles: |
2009 | 84 |
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
85 |
|
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
86 |
|
61 | 87 |
|
144 | 88 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
89 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |