home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / config / next / x-next < prev   
Text File  |  1996-12-14  |  1KB  |  36 lines

  1. # Make assignments for compiling on NeXT with their compiler version.
  2. AR=ar
  3. OLDAR=ar
  4.  
  5. CC=cc -traditional-cpp
  6. OLDCC=cc -traditional-cpp
  7.  
  8. GCC_FOR_TARGET = ./xgcc -B./ -traditional-cpp
  9.  
  10. GCC_CFLAGS=$(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -I./include -traditional-cpp
  11.  
  12. BISON=/usr/local/bin/bison
  13.  
  14. LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/ansi/limits.h ]
  15.  
  16. # When gcc is running on a NeXT, we want the make interaction in it.
  17.  
  18. COMMON_OBJS = makeUser.o make-support.o next-version.o
  19.  
  20. makeUser.o: config/next/makeUser.c config/next/make.h
  21.     $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  22.       $(srcdir)/config/next/makeUser.c
  23.  
  24. config/next/makeUser.c config/next/make.h: config/next/make.defs
  25.     cd config/next; mig make.defs
  26.  
  27. make-support.o: config/next/make-support.c config/next/make.h
  28.     $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  29.       $(srcdir)/config/next/make-support.c
  30.  
  31. next-version.o:    next-version.c
  32. next-version.c:
  33.     echo "const char *next_version = "\"`cd $(srcdir);vers_string -f cc`\" ";" > \
  34.         $@
  35.  
  36.