diff options
author | obrien <obrien@FreeBSD.org> | 2000-01-24 20:12:05 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-01-24 20:12:05 +0000 |
commit | b0579236199229f7f36f14e8c16535dab1bf408e (patch) | |
tree | df3fd20c72c85f507e7a188be3a8906da53eeecc /gnu | |
parent | 8321f8978dce0b1fccd35b40d7b7e249e5eab602 (diff) | |
download | FreeBSD-src-b0579236199229f7f36f14e8c16535dab1bf408e.zip FreeBSD-src-b0579236199229f7f36f14e8c16535dab1bf408e.tar.gz |
Merge cc_drv into cc_int. Merge more shared files into cc_int.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/Makefile | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/Makefile.inc | 6 | ||||
-rw-r--r-- | gnu/usr.bin/cc/c++/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc1/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc1obj/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc_int/Makefile | 8 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cpp/Makefile | 6 | ||||
-rw-r--r-- | gnu/usr.bin/cc/f77/Makefile | 4 |
9 files changed, 20 insertions, 24 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile index 7b25081..ed17ea1 100644 --- a/gnu/usr.bin/cc/Makefile +++ b/gnu/usr.bin/cc/Makefile @@ -3,7 +3,7 @@ # The order of some of these are rather important. Some depend on previous # subdirs. -SUBDIR= cc_fbsd cc_tools cc_int cc_drv cccp cpp cc1 cc cc1plus c++ c++filt doc +SUBDIR= cc_fbsd cc_tools cc_int cccp cpp cc1 cc cc1plus c++ c++filt doc .if !defined(NO_OBJC) SUBDIR+= cc1obj diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index e996686..fce4421 100644 --- a/gnu/usr.bin/cc/Makefile.inc +++ b/gnu/usr.bin/cc/Makefile.inc @@ -51,12 +51,6 @@ CFLAGS+= -I${.CURDIR}/../cc_tools # correctly. CFLAGS+= -I${GCCDIR} -I${GCCDIR}/config -.if exists(${.OBJDIR}/../cc_drv) -LIBCC_DRV= ${.OBJDIR}/../cc_drv/libcc_drv.a -.else -LIBCC_DRV= ${.CURDIR}/../cc_drv/libcc_drv.a -.endif - .if exists(${.OBJDIR}/../cc_fbsd) LIBCC_FBSD= ${.OBJDIR}/../cc_fbsd/libcc_fbsd.a .else diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile index f77aca7..4c25003 100644 --- a/gnu/usr.bin/cc/c++/Makefile +++ b/gnu/usr.bin/cc/c++/Makefile @@ -10,7 +10,7 @@ LINKS= ${BINDIR}/c++ ${BINDIR}/g++ LINKS+= ${BINDIR}/c++ ${BINDIR}/CC NOMAN= 1 -DPADD+= ${LIBCC_DRV} ${LIBCC_FBSD} -LDADD+= ${LIBCC_DRV} ${LIBCC_FBSD} +DPADD+= ${LIBCC_INT} ${LIBCC_FBSD} +LDADD+= ${LIBCC_INT} ${LIBCC_FBSD} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile index 6a5e6be..926c57e 100644 --- a/gnu/usr.bin/cc/cc/Makefile +++ b/gnu/usr.bin/cc/cc/Makefile @@ -11,7 +11,7 @@ SRCS= gcc.c gccspec.c LINKS= ${BINDIR}/cc ${BINDIR}/gcc MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1 -DPADD+= ${LIBCC_DRV} ${LIBCC_FBSD} -LDADD+= ${LIBCC_DRV} ${LIBCC_FBSD} +DPADD+= ${LIBCC_INT} ${LIBCC_FBSD} +LDADD+= ${LIBCC_INT} ${LIBCC_FBSD} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/cc1/Makefile b/gnu/usr.bin/cc/cc1/Makefile index 1a4e72f..3b2a63d 100644 --- a/gnu/usr.bin/cc/cc1/Makefile +++ b/gnu/usr.bin/cc/cc1/Makefile @@ -5,9 +5,8 @@ .PATH: ../cc_tools ${GCCDIR} PROG= cc1 -SRCS= c-parse.c c-parse.h \ - c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c c-lang.c \ - c-lex.c c-pragma.c c-typeck.c +SRCS= c-parse.c c-parse.h c-lang.c +SRCS+= c-lex.c BINDIR= /usr/libexec NOMAN= 1 NOSHARED=yes diff --git a/gnu/usr.bin/cc/cc1obj/Makefile b/gnu/usr.bin/cc/cc1obj/Makefile index f88f9f2..7bd4984 100644 --- a/gnu/usr.bin/cc/cc1obj/Makefile +++ b/gnu/usr.bin/cc/cc1obj/Makefile @@ -5,10 +5,9 @@ .PATH: ../cc_tools ${GCCDIR}/objc ${GCCDIR} PROG= cc1obj -SRCS= objc-parse.c objc-parse.h objc-act.c +SRCS= objc-parse.c objc-parse.h objc-parse.h objc-act.c # Ugh, compiled twice... -SRCS+= c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c c-lex.c \ - c-pragma.c c-typeck.c +SRCS+= c-lex.c BINDIR= /usr/libexec NOMAN= 1 NOSHARED=yes diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile index 511b09e..afb3786 100644 --- a/gnu/usr.bin/cc/cc_int/Makefile +++ b/gnu/usr.bin/cc/cc_int/Makefile @@ -8,7 +8,8 @@ LIB= cc_int NOPROFILE= YES NOPIC= YES -SRCS= c-common.c c-pragma.c \ +SRCS= c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c \ + c-pragma.c c-typeck.c \ caller-save.c calls.c combine.c convert.c cse.c \ dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \ final.c flow.c fold-const.c function.c getpwd.c global.c graph.c \ @@ -28,10 +29,13 @@ SRCS+= haifa-sched.c SRCS+= sched.c .endif +# shared between the drivers +SRCS+= multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c + # stuff that makes libiberty now required (2.95) and shouldn't be... SRCS+= obstack.c splay-tree.c -CFLAGS+= -DTARGET_NAME=\"${target}\" +CFLAGS+= -DTARGET_NAME=\"${target}\" -DIN_GCC install: @true diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile index 0942799..b5661d3 100644 --- a/gnu/usr.bin/cc/cpp/Makefile +++ b/gnu/usr.bin/cc/cpp/Makefile @@ -5,10 +5,10 @@ .PATH: ${GCCDIR} PROG= cpp -SRCS= gcc.c cppspec.c # version.c +SRCS= gcc.c cppspec.c NOMAN= 1 -DPADD+= ${LIBCC_DRV} ${LIBCC_FBSD} -LDADD+= ${LIBCC_DRV} ${LIBCC_FBSD} +DPADD+= ${LIBCC_INT} ${LIBCC_FBSD} +LDADD+= ${LIBCC_INT} ${LIBCC_FBSD} .include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile index 9dd6e63..72d7932 100644 --- a/gnu/usr.bin/cc/f77/Makefile +++ b/gnu/usr.bin/cc/f77/Makefile @@ -7,8 +7,8 @@ PROG= f77 SRCS= gcc.c g77spec.c version.c -DPADD+= ${LIBCC_DRV} ${LIBCC_FBSD} -LDADD+= ${LIBCC_DRV} ${LIBCC_FBSD} +DPADD+= ${LIBCC_INT} ${LIBCC_FBSD} +LDADD+= ${LIBCC_INT} ${LIBCC_FBSD} f77.1: g77.1 ln -sf ${.ALLSRC} ${.TARGET} |