diff options
Diffstat (limited to 'regress/lib/libc/cxa-atexit/test1/Makefile')
-rw-r--r-- | regress/lib/libc/cxa-atexit/test1/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/regress/lib/libc/cxa-atexit/test1/Makefile b/regress/lib/libc/cxa-atexit/test1/Makefile new file mode 100644 index 00000000000..533392d144e --- /dev/null +++ b/regress/lib/libc/cxa-atexit/test1/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1 2007/09/03 14:42:44 millert Exp $ + +.include <bsd.obj.mk> + +GD1_DIR=${.CURDIR}/../libgd1 +GD1_OBJDIR!= if [ -d $(GD1_DIR)/${__objdir} ]; then \ + echo "$(GD1_DIR)/${__objdir}"; \ + else \ + echo "$(GD1_DIR)"; \ + fi + +GD2_DIR=${.CURDIR}/../libgd2 +GD2_OBJDIR!= if [ -d $(GD2_DIR)/${__objdir} ]; then \ + echo "$(GD2_DIR)/${__objdir}"; \ + else \ + echo "$(GD2_DIR)"; \ + fi + +PROG= test1 + +SRCS= test1.C + +CFLAGS+= -DLIBGD1="\"$(GD1_OBJDIR)/libgd1.so\"" +CFLAGS+= -DLIBGD2="\"$(GD2_OBJDIR)/libgd2.so\"" +LDFLAGS+= -Wl,-E + +NOMAN= + +.include <bsd.regress.mk> |