home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Source
/
GNU
/
gcc
/
config
/
next
/
x-next
< prev
Wrap
Text File
|
1996-12-14
|
1KB
|
36 lines
# Make assignments for compiling on NeXT with their compiler version.
AR=ar
OLDAR=ar
CC=cc -traditional-cpp
OLDCC=cc -traditional-cpp
GCC_FOR_TARGET = ./xgcc -B./ -traditional-cpp
GCC_CFLAGS=$(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -I./include -traditional-cpp
BISON=/usr/local/bin/bison
LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/ansi/limits.h ]
# When gcc is running on a NeXT, we want the make interaction in it.
COMMON_OBJS = makeUser.o make-support.o next-version.o
makeUser.o: config/next/makeUser.c config/next/make.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/next/makeUser.c
config/next/makeUser.c config/next/make.h: config/next/make.defs
cd config/next; mig make.defs
make-support.o: config/next/make-support.c config/next/make.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/next/make-support.c
next-version.o: next-version.c
next-version.c:
echo "const char *next_version = "\"`cd $(srcdir);vers_string -f cc`\" ";" > \
$@