TESTROOT = ../..
include ${TESTROOT}/include/common.makefile
+PROG = ./main
+
+ifeq "ppc" "$(ARCH)"
+ MACHINE = $(shell arch)
+ ifeq "i386" "$(MACHINE)"
+ PROG = /usr/bin/true
+ endif
+endif
+
+
+
run: all
- ${TESTROOT}/bin/exit-zero-pass.pl "dlsym-RTLD_NEXT-missing with circular libraries" "dlsym-RTLD_NEXT-missing with circular libraries" ./main
+ ${TESTROOT}/bin/exit-zero-pass.pl "dlsym-RTLD_NEXT-missing with circular libraries" "dlsym-RTLD_NEXT-missing with circular libraries" ${PROG}
-all: main
+all: main
main : main.c foo1.dylib
${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c foo1.dylib