# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.73 2003-11-21 19:36:13 cg Exp $
#
# -------------- no need to change anything below ----------
TOP=..
SUBDIRS=
LIB_BASE=$(LIBWIDG_BASE)
NM_LIB_BASE=LIBWIDG_BASE
STCOPT=$(LIBWIDG_STCOPT) -warnNonStandard
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME)
LINKOBJRULE=$(SEPINITLINKOBJRULE)
all:: classLibRule
#
# on (my) aix system, this one cannot be compiled with
# optimizer - running out of space during compile
#
AIX:: ListView.o TextView.o
$(MAKE) OPT="" EditTextView.o
$(MAKE) OPT="" ObjectView.o
cleanjunk::
@-rm -f *.s *.s2 *.c *.H
clean::
@-rm -f [A-Z]*.o *.s *.s2 *.c *.H
clobber::
@-rm -f *.c *.H classList.stc abbrev.stc
rmuncrit:
-rm -f $(UNCRITICALOBJS)
#
# these nest too deep on some systems (see discussion about LIMITSUPERINCLUDE
# in configurations/COMMON/defines
#
WORKSPACE:
$(MAKE) Workspace.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
CODEVIEW:
$(MAKE) CodeView.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
WARNBOX:
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
RBUTTON:
$(MAKE) RadioButton.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
#
# special BIG-rule (kludge for HP)
#
EditTextView.$(O):
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=EditTextView CC=$(CC) OPT="$(OPT)"
#
# special BIG-rule (kludge for NeXT)
#
ListView.$(O):
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ListView OPT="$(OPT)"
#
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error)
#
#HP::
#
#HPbigFiles:
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ObjectView CC=$(CC) OPT="$(OPT)"
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DialogBox CC=$(CC) OPT="$(OPT)"
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=TextView CC=$(CC) OPT="$(OPT)"
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SelectionInListView CC=$(CC) OPT="$(OPT)"
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=MenuView CC=$(CC) OPT="$(OPT)"
#
# deeply nested includes (kludge for sun cc)
#
SUN:: SUNfiles
SUNfiles:
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)"
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
# ENDMAKEDEPEND --- do not remove this line; make depend needs it