summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-08-10 16:54:29 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-08-10 16:54:29 +0000
commita8af16b947f9e676c377d65ad956b05705a4e187 (patch)
treec202ca346a9fd71783aac0ad5db4da4bdea5fc3b
parent89301019c6b4338cf949a2743873d14cb10f306a (diff)
Objective-C has been removed from base, do not test whether compiling
it works.
-rw-r--r--regress/misc/Makefile10
-rw-r--r--regress/misc/objc/Makefile17
-rw-r--r--regress/misc/objc/main.m18
3 files changed, 2 insertions, 43 deletions
diff --git a/regress/misc/Makefile b/regress/misc/Makefile
index 5821216f062..f3a420e236f 100644
--- a/regress/misc/Makefile
+++ b/regress/misc/Makefile
@@ -1,12 +1,6 @@
-# $OpenBSD: Makefile,v 1.6 2017/04/17 12:54:48 kettenis Exp $
+# $OpenBSD: Makefile,v 1.7 2017/08/10 16:54:28 bluhm Exp $
-.include <bsd.own.mk>
-
-SUBDIR+= X11 c++abi exceptions sse2
-
-.if ${COMPILER_VERSION:L} != "clang"
-SUBDIR+= objc
-.endif
+SUBDIR = X11 c++abi exceptions sse2
install:
diff --git a/regress/misc/objc/Makefile b/regress/misc/objc/Makefile
deleted file mode 100644
index 0b8fbaa78a3..00000000000
--- a/regress/misc/objc/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# $OpenBSD: Makefile,v 1.4 2013/10/06 20:05:30 guenther Exp $
-
-.SUFFIXES: .m
-
-COMPILE.m?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
-LINK.m?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
-
-.m:
- ${LINK.m} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
-.m.o:
- ${COMPILE.m} ${.IMPSRC}
-
-PROG= main
-SRCS= main.m
-LDADD= -lobjc -lpthread
-
-.include <bsd.regress.mk>
diff --git a/regress/misc/objc/main.m b/regress/misc/objc/main.m
deleted file mode 100644
index 6b4bc13815b..00000000000
--- a/regress/misc/objc/main.m
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdlib.h>
-
-@interface Foo
-+ (void) bar;
-@end
-
-@implementation Foo
-+ (void) bar {
- exit(0);
-}
-@end
-
-int main (void)
-{
- [Foo bar];
-
- return 1;
-}