diff options
author | dim <dim@FreeBSD.org> | 2011-04-17 21:03:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-04-17 21:03:23 +0000 |
commit | d9e6052d4ec703f14849c7b8cad2795fc141edec (patch) | |
tree | 5fe8b25843e2a335b0bb3410998d4b4363031e4a /gnu | |
parent | 34f2672a905032e05414032bd2669880fe72ddb4 (diff) | |
download | FreeBSD-src-d9e6052d4ec703f14849c7b8cad2795fc141edec.zip FreeBSD-src-d9e6052d4ec703f14849c7b8cad2795fc141edec.tar.gz |
Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.
Silence from: current@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/Makefile | 4 | ||||
-rw-r--r-- | gnu/lib/libobjc/Makefile | 50 | ||||
-rw-r--r-- | gnu/usr.bin/cc/Makefile | 4 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc1obj/Makefile | 28 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 9 | ||||
-rw-r--r-- | gnu/usr.bin/cc/doc/Makefile | 2 |
6 files changed, 1 insertions, 96 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index cae52c3..c33cef6 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -11,8 +11,4 @@ SUBDIR= csu libgcc libgcov libdialog libgomp libodialog libregex libreadline \ SUBDIR+= libstdc++ libsupc++ .endif -.if ${MK_OBJC} != "no" -SUBDIR+= libobjc -.endif - .include <bsd.subdir.mk> diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile deleted file mode 100644 index 80d0240..0000000 --- a/gnu/lib/libobjc/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# $FreeBSD$ - -.include <bsd.own.mk> - -OBJCDIR=${.CURDIR}/../../../contrib/libobjc -GCCDIR= ${.CURDIR}/../../../contrib/gcc -GCCLIB= ${.CURDIR}/../../../contrib/gcclibs - -.PATH: ${OBJCDIR}/objc ${OBJCDIR} - -LIB= objc -SHLIB_MAJOR= 4 - -SRCS= archive.c class.c encoding.c gc.c hash.c init.c linking.m misc.c \ - nil_method.c NXConstStr.m Object.m objects.c Protocol.m sarray.c \ - selector.c sendmsg.c thr.c thr-objc.c exception.c - -# XXX: clang cannot compile libobjc yet -CC:=${CC:C/^(.*\/)?clang$/gcc/1} - -INCS= encoding.h hash.h objc-api.h objc-decls.h objc-list.h objc.h runtime.h \ - sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h -INCSDIR=${INCLUDEDIR}/objc - -CFLAGS+= -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -CFLAGS+= -I. -I${.CURDIR}/../../usr.bin/cc/cc_tools -CFLAGS+= -I${OBJCDIR}/objc -I${OBJCDIR} -CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -CFLAGS+= -I${GCCLIB}/include -CFLAGS+= -fexceptions -frandom-seed=RepeatabilityConsideredGood -OBJCFLAGS= -fgnu-runtime ${CFLAGS} - -GENHDRS= runtime-info.h - -runtime-info.h: - `${CC} --print-prog-name=cc1obj` -print-objc-runtime-info \ - < /dev/null > ${.TARGET} - -.for H in tconfig.h tm.h config.h options.h gthr-default.h unwind.h -$H: ${.CURDIR}/../../usr.bin/cc/cc_tools/Makefile - ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET} -GENHDRS+= $H -.endfor - -CLEANFILES+= ${GENHDRS} cs-* optionlist -SRCS+= ${GENHDRS} - -${OBJS}: ${GENHDRS} - -.include <bsd.lib.mk> diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile index d08b723..efb548a 100644 --- a/gnu/usr.bin/cc/Makefile +++ b/gnu/usr.bin/cc/Makefile @@ -15,10 +15,6 @@ SUBDIR+= cpp SUBDIR+= cc1plus c++ c++filt .endif -.if ${MK_OBJC} != "no" -SUBDIR+= cc1obj -.endif - .if ${MK_GCOV} != "no" SUBDIR+= gcov .endif diff --git a/gnu/usr.bin/cc/cc1obj/Makefile b/gnu/usr.bin/cc/cc1obj/Makefile deleted file mode 100644 index 8baf9d6..0000000 --- a/gnu/usr.bin/cc/cc1obj/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# $FreeBSD$ - -.include "../Makefile.inc" - -.PATH: ${GCCDIR}/objc ${GCCDIR} - -PROG= cc1obj -SRCS= main.c c-parser.c objc-act.c objc-lang.c c-decl.c -BINDIR= /usr/libexec -NO_MAN= -NO_SHARED?=yes - -CFLAGS+= -I${GCCDIR}/objc -I. - -OBJS+= ${PROG}-checksum.o -DPADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY} -LDADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY} - -DOBJS+= ${SRCS:N*.h:R:S/$/.o/g} -${PROG}-dummy: ${DOBJS} - ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${DOBJS} ${LDADD} -CLEANFILES+= ${PROG}-dummy - -${PROG}-checksum.c: ${PROG}-dummy - ../cc_tools/genchecksum ${PROG}-dummy > ${.TARGET} -CLEANFILES+= ${PROG}-checksum.c - -.include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 4d6de02..3cedd69 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -130,10 +130,6 @@ GTFILES_LANG_DIR_NAMES= GTFILES_LANG_DIR_NAMES+= cp .endif -.if ${MK_OBJC} != "no" -GTFILES_LANG_DIR_NAMES+= objc -.endif - # The list of language specific files for gengtype .for L in ${GTFILES_LANG_DIR_NAMES} c .if exists(${GCCDIR}/$L-config-lang.in) @@ -158,10 +154,6 @@ TREE_DEF_FILES= TREE_DEF_FILES+= cp/cp-tree.def .endif -.if ${MK_OBJC} != "no" -TREE_DEF_FILES+= objc/objc-tree.def -.endif - # # Option files. # @@ -342,7 +334,6 @@ GENSRCS+= configargs.h # Language spec files specs.h: echo '#include "cp/lang-specs.h"' > ${.TARGET} - echo '#include "objc/lang-specs.h"' >> ${.TARGET} GENSRCS+= specs.h diff --git a/gnu/usr.bin/cc/doc/Makefile b/gnu/usr.bin/cc/doc/Makefile index 4139769..840b694 100644 --- a/gnu/usr.bin/cc/doc/Makefile +++ b/gnu/usr.bin/cc/doc/Makefile @@ -14,7 +14,7 @@ INFOENTRY_gccint= "* gccint: (gccint). The GNU compiler family internal documen INFOENTRY_cppinternals= "* cppinternals: (cppinternals). The GNU compiler preprocessor internal documentation." gcc.info: gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \ - standards.texi invoke.texi extend.texi md.texi objc.texi \ + standards.texi invoke.texi extend.texi md.texi \ gcov.texi trouble.texi bugreport.texi service.texi \ contribute.texi compat.texi funding.texi gnu.texi gpl.texi \ fdl.texi contrib.texi cppenv.texi cppopts.texi \ |