1 SRCS := codesign_wrapper.c MISEntitlement.c codesign.c # MISCrypto_OpenSSL.c
3 CFLAGS := -Wall -Wmost -Werror -g -O2 -I. -std=c99 -DDEBUG_ASSERT_PRODUCTION_CODE=0
4 LDFLAGS := -framework CoreFoundation -framework Security
7 all: codesign_wrapper check_entitlements
9 codesign_wrapper: $(OBJS)
11 check_entitlements: check_entitlements.o
17 rm -f tags $(OBJS) codesign_wrapper
20 (cd ..; zip -r codesign_wrapper-$(VERSION).zip codesign_wrapper -x \*/.git/\*)
23 rm -r AccelerometerGraph.app
24 cp -R ../codesign_wrapper-unused/AccelerometerGraph.app .
25 cp ../codesign_wrapper-unused/Core_OS_IMG_v1_profile_052808.mobileprovision AccelerometerGraph.app/embedded.mobileprovision
26 CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ./codesign_wrapper -s "iPhone Developer: Katherine Kojima" -f -vvvv -r'=designated => anchor apple generic' AccelerometerGraph.app
29 rm -r AccelerometerGraph.app
30 cp -R ../codesign_wrapper-unused/AccelerometerGraph.app .
31 CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ./codesign_wrapper --no-profile -s "iPhone Developer: Katherine Kojima" -f -vvvv -r'=designated => anchor apple generic' AccelerometerGraph.app