X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b5437404b25d4453e1875dc02fc15db162f13855..002ca3d9a8ba4f323999811405efcc2e3e390fd7:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 20e06f6..58303f8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,6 +51,7 @@ libcycript_sys_la_LIBADD = $(LTLIBFFI) -ldl libcycript_sys_la_SOURCES += Cycript.tab.cc libcycript_sys_la_SOURCES += lex.cy.cpp +if CY_CONSOLE bin_PROGRAMS = cycript cycript_SOURCES = Console.cpp Display.cpp cycript_LDADD = libcycript.la libcycript-sys.la $(LTLIBAPR) $(LTLIBREADLINE) $(LTLIBTERMCAP) -ldl @@ -59,6 +60,7 @@ ldid = true entitle = $(ldid) -Scycript.xml filters = $(CY_FILTERS) +endif if CY_EXECUTE libcycript_sys_la_SOURCES += sig/ffi_type.cpp sig/parse.cpp sig/copy.cpp @@ -87,6 +89,8 @@ endif if CY_MACH libcycript_sys_la_SOURCES += Handler.mm + +if CY_CONSOLE cycript_SOURCES += Mach/Inject.cpp AM_CPPFLAGS += -DCY_ATTACH @@ -106,6 +110,7 @@ Trampoline.t.hpp: libTrampoline.t.la trampoline.sh $(srcdir)/trampoline.sh $@ .libs/libTrampoline.t.dylib Trampoline $(SED) $(LIPO) $(NM) $(OTOOL) ! grep '## symbol stub for:' $@ endif +endif libcycript_sim_la_SHORTNAME = sim if CY_IOS_SIMULATOR