X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/39a8cd101b922f08058746122efff58c14b57605..412ebb8e3cc35d457058c31310d89ef96b7c416d:/unit-tests/test-cases/crt-libSystem/Makefile diff --git a/unit-tests/test-cases/crt-libSystem/Makefile b/unit-tests/test-cases/crt-libSystem/Makefile index 6f30df5..aab6ce6 100644 --- a/unit-tests/test-cases/crt-libSystem/Makefile +++ b/unit-tests/test-cases/crt-libSystem/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2007 Apple Inc. All rights reserved. +# Copyright (c) 2007-2009 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -28,37 +28,23 @@ include ${TESTROOT}/include/common.makefile # the mechanism for 10.4 and 10.5 is different # + all-check: all check check: - ./main-10.4 - ./main-10.5 - ./main-10.6 - ./main-10.4.stripped - ./main-10.5.stripped - ./main-10.6.stripped - -all: main-10.4 main-10.5 main-10.6 main-10.4.stripped main-10.5.stripped main-10.6.stripped - -main-10.4: main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main-10.4 main.c -mmacosx-version-min=10.4 + ./main + ./main.stripped -main-10.4.stripped: main-10.4 - strip main-10.4 -o main-10.4.stripped - -main-10.5: main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main-10.5 main.c -mmacosx-version-min=10.5 +all: main main.stripped -main-10.5.stripped: main-10.5 - strip main-10.5 -o main-10.5.stripped -main-10.6: main.c - ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main-10.6 main.c -mmacosx-version-min=10.6 -nostdlib -lcrt1.10.6.o -lSystem +main: main.c + ${CC} ${CCFLAGS} -I${TESTROOT}/include $(CRTLIB) -o main main.c -main-10.6.stripped: main-10.6 - strip main-10.6 -o main-10.6.stripped +main.stripped: main + strip main -o main.stripped clean: - ${RM} ${RMFLAGS} *~ main-10.4 main-10.5 main-10.6 main-10.4.stripped main-10.5.stripped main-10.6.stripped + ${RM} ${RMFLAGS} *~ main main.stripped