summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-04-17 21:03:23 +0000
committerdim <dim@FreeBSD.org>2011-04-17 21:03:23 +0000
commitd9e6052d4ec703f14849c7b8cad2795fc141edec (patch)
tree5fe8b25843e2a335b0bb3410998d4b4363031e4a /gnu/lib
parent34f2672a905032e05414032bd2669880fe72ddb4 (diff)
downloadFreeBSD-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/lib')
-rw-r--r--gnu/lib/Makefile4
-rw-r--r--gnu/lib/libobjc/Makefile50
2 files changed, 0 insertions, 54 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>
OpenPOWER on IntegriCloud