home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / g++ / Makefile.symlinks < prev    next >
Encoding:
Makefile  |  1991-02-07  |  797 b   |  25 lines

  1. #    @(#)Makefile.symlinks    6.1 (Berkeley) 2/7/91
  2. #
  3. # Generate machine-dependent symlinks for GCC compiles.
  4. # Similar to config.gcc but (1) puts symlinks in the obj directory and
  5. # (2) knows that it's running on BSD.
  6. #
  7.  
  8. tm.h config.h md aux-output.c:
  9.     case $(MACHINE) in \
  10.     vax)    T=tm-vax.h C=xm-vax.h M=vax.md O=out-vax.c;; \
  11.     tahoe)    T=tm-tahoe.h C=xm-tahoe.h M=tahoe.md O=out-tahoe.c;; \
  12.     hp300)    T=tm-hp9k3bsd.h C=xm-m68k.h M=m68k.md O=out-m68k.c;; \
  13.     i386)    T=tm-i386b.h C=xm-i386.h M=i386.md O=out-i386.c;; \
  14.     *)    echo $(MACHINE)': unsupported GCC platform'; exit 1;; \
  15.     esac; \
  16.     D=$(.CURDIR)/../../gcc/cc1/config; \
  17.     ln -s $$D/$$T tm.h; \
  18.     ln -s $$D/$$C config.h; \
  19.     ln -s $$D/$$M md; \
  20.     ln -s $$D/$$O aux-output.c
  21.  
  22. $(OBJS): tm.h config.h md aux-output.c
  23.  
  24. CLEANFILES+=    tm.h config.h md aux-output.c
  25.