aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcomex2015-01-28 02:54:21 -0500
committercomex2015-01-28 02:54:21 -0500
commit6536ff3cd2b2fac8a2068058735e77479341f19f (patch)
treeaa7186817874fc41ce8087cdcd4d520dbbc9b45a /Makefile
parentsorta (diff)
downloadsubstitute-6536ff3cd2b2fac8a2068058735e77479341f19f.tar.gz
***yawn***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9fd0c34..b11646e 100644
--- a/Makefile
+++ b/Makefile
@@ -171,9 +171,15 @@ all: safety-dance
out/posixspawn-hook.dylib: ios-bootstrap/posixspawn-hook.c out/libsubstitute.dylib
$(CC) -dynamiclib -o $@ $< -Lout -lsubstitute
+out/generic-dyld-inserted.dylib: ios-bootstrap/generic-dyld-inserted.m out/libsubstitute.dylib
+ $(CC) -dynamiclib -o $@ $< -Lout -lsubstitute
out/unrestrict-me: ios-bootstrap/unrestrict-me.c out/libsubstitute.dylib
$(CC) -o $@ $< -Lout -lsubstitute
-all: out/posixspawn-hook.dylib out/unrestrict-me
+ ldid -Sent.plist $@
+out/inject-into-launchd: ios-bootstrap/inject-into-launchd.c out/libsubstitute.dylib
+ $(CC) -o $@ $< -Lout -lsubstitute -framework IOKit -framework CoreFoundation
+ ldid -Sent.plist $@
+all: out/posixspawn-hook.dylib out/generic-dyld-inserted.dylib out/unrestrict-me out/inject-into-launchd
endif