Turn on libobjc.so for all platforms on -current. It didn't work back

in 1996.
This commit is contained in:
Peter Wemm 2005-05-01 01:59:48 +00:00
parent 8d46d9c46f
commit d18dd30b93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145739

View File

@ -5,14 +5,9 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc
.PATH: ${OBJCDIR}/objc ${OBJCDIR}
LIB= objc
LIB= objc
SHLIB_MAJOR= 1
NO_MAN=
.if ${MACHINE_ARCH} == "amd64"
SHLIB_MAJOR= 1
.else
# XXX is this still correct?
NO_PIC= # works but method lookup slowdown is significant
.endif
SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \
nil_method.c objects.c sarray.c selector.c sendmsg.c \
@ -23,11 +18,6 @@ INCS= encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \
sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h
INCSDIR=${INCLUDEDIR}/objc
# PR ia64/49081
.if ${MACHINE_ARCH} == "ia64"
CFLAGS+= -fpic
.endif
OBJCFLAGS= -fgnu-runtime ${CFLAGS}
CFLAGS+= -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS
CFLAGS+= -I. -I${.CURDIR}/../../usr.bin/cc/cc_tools