]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile
dyld-95.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dlsym-RTLD_NEXT-missing / Makefile
index 491d9f4833e9bef91d452fd8efed04de16d182fb..980ce61550b2c05265609356070c3783056f863f 100644 (file)
 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