Commit | Line | Data |
---|---|---|
bec54b0c WJ |
1 | # @(#)Makefile.symlinks 6.1 (Berkeley) 1/29/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)/../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 |