home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Education Sampler 1992 [NeXTSTEP]
/
Education_1992_Sampler.iso
/
NeXT
/
GnuSource
/
cc-61.0.1
/
cc
/
config
/
make-decrose
< prev
next >
Wrap
Text File
|
1991-06-03
|
4KB
|
142 lines
CC = /usr/ccs/gcc/gcc
XCFLAGS = -O
CPPFLAGS = -Dabort=fancy_abort $(SYSTEM_INCLUDES)
SYSTEM_INCLUDES =
BISONFLAGS = -vl
CONFIG2_H = $(srcdir)/config/tm-mips.h $(srcdir)/config/tm-decrose.h
LANGUAGES = c # suppress c++, objc for now
ULTRIX_DIR = /usr/ultrix
ULTRIX_REV = 4.1
SABER_X = xsaber -rv
SABER_TTY = saber
SABER = if [ "$$DISPLAY" = "" ]; then saber="$(SABER_TTY)"; else saber="$(SABER_X)"; fi; $${saber}
SABER_CFLAGS = -L${ULTRIX_DIR}/lib-${ULTRIX_REV} -I${ULTRIX_DIR}/include-${ULTRIX_REV}
COFF_CC = coff-gcc
COFF_CFLAGS = -O2 -g
# Add additional dependencies to recompile selected modules whenever the
# tm*.h file changes. The files compiled are:
#
# gcc.c (*_SPEC changes)
# toplev.c (new switches + assembly output changes)
# sdbout.c (debug format changes)
# dbxout.c (debug format changes)
# dwarfout.c (debug format changes)
# final.c (assembly output changes)
# varasm.c (assembly output changes)
# cse.c (cost functions)
# insn-output.c (possible ifdef changes in out-<xx>)
# regclass.c (fixed/call used register changes)
# cccp.c (new preprocessor macros, -v version #)
# explow.c (GO_IF_LEGITIMATE_ADDRESS)
# recog.c (GO_IF_LEGITIMATE_ADDRESS)
# reload.c (GO_IF_LEGITIMATE_ADDRESS)
gcc.o: $(CONFIG2_H)
toplev.o: $(CONFIG2_H)
sdbout.o: $(CONFIG2_H)
dbxout.o: $(CONFIG2_H)
dwarfout.o: $(CONFIG2_H)
final.o: $(CONFIG2_H)
varasm.o: $(CONFIG2_H)
cse.o: $(CONFIG2_H)
insn-output.o: $(CONFIG2_H)
regclass.o: $(CONFIG2_H)
cccp.o: $(CONFIG2_H)
explow.o: $(CONFIG2_H)
recog.o: $(CONFIG2_H)
reload.o: $(CONFIG2_H)
# Rules for running Saber C
C_SRCS = $(srcdir)/c-parse.tab.c \
$(srcdir)/c-decl.c \
$(srcdir)/c-typeck.c \
$(srcdir)/c-lang.c \
$(srcdir)/c-convert.c \
$(srcdir)/c-aux-info.c \
$(srcdir)/c-common.c
# Language-specific object files for Objectionable C.
OBJC_SRCS = $(srcdir)/objc-parse.c \
$(srcdir)/objc-actions.c \
$(srcdir)/c-decl.c \
$(srcdir)/c-typeck.c \
$(srcdir)/c-convert.c \
$(srcdir)/c-aux-info.c \
$(srcdir)/c-common.c
# Language-specific object files for C++.
CPLUS_SRCS = $(srcdir)/cplus-tab.c \
$(srcdir)/cplus-decl.c \
$(srcdir)/cplus-decl2.c \
$(srcdir)/cplus-typeck.c \
$(srcdir)/cplus-type2.c \
$(srcdir)/cplus-tree.c \
$(srcdir)/cplus-ptree.c \
$(srcdir)/cplus-cvt.c \
$(srcdir)/cplus-search.c \
$(srcdir)/cplus-lex.c \
$(srcdir)/cplus-class.c \
$(srcdir)/cplus-init.c \
$(srcdir)/cplus-method.c \
$(srcdir)/cplus-except.c \
$(srcdir)/cplus-expr.c \
$(srcdir)/cplus-pt.c \
$(srcdir)/cplus-edsel.c \
$(srcdir)/c-common.c
# Language-independent object files.
SRCS = $(srcdir)/toplev.c \
$(srcdir)/version.c \
$(srcdir)/tree.c \
$(srcdir)/print-tree.c \
$(srcdir)/stor-layout.c \
$(srcdir)/fold-const.c \
$(srcdir)/function.c \
$(srcdir)/stmt.c \
$(srcdir)/expr.c \
$(srcdir)/calls.c \
$(srcdir)/expmed.c \
$(srcdir)/explow.c \
$(srcdir)/optabs.c \
$(srcdir)/varasm.c \
$(srcdir)/rtl.c \
$(srcdir)/rtlanal.c \
$(srcdir)/dbxout.c \
$(srcdir)/sdbout.c \
$(srcdir)/dwarfout.c \
$(srcdir)/emit-rtl.c \
insn-emit.c \
$(srcdir)/integrate.c \
$(srcdir)/jump.c \
$(srcdir)/cse.c \
$(srcdir)/loop.c \
$(srcdir)/flow.c \
$(srcdir)/stupid.c \
$(srcdir)/combine.c \
$(srcdir)/regclass.c \
$(srcdir)/local-alloc.c \
$(srcdir)/global-alloc.c \
$(srcdir)/reload.c \
$(srcdir)/reload1.c \
$(srcdir)/caller-save.c \
insn-peep.c \
$(srcdir)/reorg.c \
$(srcdir)/sched.c \
$(srcdir)/final.c \
$(srcdir)/recog.c \
insn-recog.c \
insn-extract.c \
insn-output.c \
insn-attrtab.c \
aux-output.c
LIB_SRCS = coff-obstack.o # Saber doesn't like obstack
coff-obstack.o: $(srcdir)/obstack.c
$(COFF_CC) $(COFF_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o coff-obstack.o $(srcdir)/obstack.c
saber-cc1: $(C_SRCS) $(SRCS) $(LIB_SRCS)
$(SABER) $(SABER_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(C_SRCS) $(SRCS) $(LIB_SRCS)