summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2019-04-03 04:52:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2019-04-03 04:52:28 +0000
commit2126d5f624e20d6b991550b953b7ba4e90342726 (patch)
tree21542c659568d1f74bdb6448702ae1e303f95c1f /gnu/usr.bin
parente3aec67dbad58568129f9fce90648a8d9cd7cc78 (diff)
mortimer unlinked libobjc from the build, but didn't know how to cvs rm.
I don't know much about compilers, but what I do have are a very particular set of skills. Skills I have acquired over a very long career.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/libobjc/Makefile80
-rw-r--r--gnu/usr.bin/cc/libobjc/shlib_version2
2 files changed, 0 insertions, 82 deletions
diff --git a/gnu/usr.bin/cc/libobjc/Makefile b/gnu/usr.bin/cc/libobjc/Makefile
deleted file mode 100644
index df06dcdecc3..00000000000
--- a/gnu/usr.bin/cc/libobjc/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# $FreeBSD: src/gnu/lib/libobjc/Makefile,v 1.34.2.1 2009/08/03 08:13:06 kensmith Exp $
-# $OpenBSD: Makefile,v 1.8 2017/07/24 19:22:49 robert Exp $
-
-OBJCDIR=${.CURDIR}/../../../gcc/libobjc
-GCCDIR= ${.CURDIR}/../../../gcc/gcc
-GCCLIB= ${.CURDIR}/../../../gcc
-
-.PATH: ${OBJCDIR}/objc ${OBJCDIR}
-
-LIB= objc
-
-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
-
-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
-
-CFLAGS+= -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS
-CFLAGS+= -I. -I${.CURDIR}/../cc_tools
-CFLAGS+= -I${OBJCDIR}/objc -I${OBJCDIR}
-CFLAGS+= -I${GCCDIR}/config -I${GCCDIR}
-CFLAGS+= -I${GCCLIB}/include
-CFLAGS+= -fexceptions -frandom-seed=RepeatabilityConsideredGood
-.if ${MACHINE_ARCH} == "m88k"
-CPPFLAGS+= -DSJLJ_EXCEPTIONS=1
-.endif
-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}/../cc_tools/Makefile
- ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET}
-GENHDRS+= $H
-.endfor
-
-CLEANFILES+= ${GENHDRS} cs-* optionlist
-SRCS+= ${GENHDRS}
-
-.if !empty(INCS)
-includes: ${INCS}
- @test -d ${DESTDIR}/usr/include/objc || \
- mkdir ${DESTDIR}/usr/include/objc
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} \
- ${DESTDIR}/usr/include/objc
-.endif
-
-BUILDFIRST = ${GENHDRS}
-
-.include <bsd.lib.mk>
-
-.SUFFIXES: .m
-
-# ObjC
-OBJC?= ${CC}
-OBJCFLAGS?= ${CFLAGS} ${CPPFLAGS} -Wno-import
-COMPILE.m?= ${OBJC} ${OBJCFLAGS} -c
-LINK.m?= ${OBJC} ${OBJCFLAGS} ${LDFLAGS}
-
-.m:
- ${LINK.m} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
-.m.o:
- ${COMPILE.m} ${.IMPSRC}
-.m.a:
- ${COMPILE.m} ${.IMPSRC}
- ${AR} ${ARFLAGS} $@ $*.o
- rm -f $*.o
-.m.po:
- ${COMPILE.m} -p ${.IMPSRC} -o ${.TARGET}.o
- ${LD} -X -r ${.TARGET}.o -o ${.TARGET}
- rm -f ${.TARGET}.o
-.m.so:
- ${COMPILE.m} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}.o
- ${LD} -X -r ${.TARGET}.o -o ${.TARGET}
- rm -f ${.TARGET}.o
diff --git a/gnu/usr.bin/cc/libobjc/shlib_version b/gnu/usr.bin/cc/libobjc/shlib_version
deleted file mode 100644
index 9c1551636c5..00000000000
--- a/gnu/usr.bin/cc/libobjc/shlib_version
+++ /dev/null
@@ -1,2 +0,0 @@
-major=6
-minor=0