]> git.saurik.com Git - cycript.git/blame - rules.old
Linux requires AX_PTHREAD to autodetect -lpthread.
[cycript.git] / rules.old
CommitLineData
a243b558
JF
1PACKAGE_TARNAME := @PACKAGE_TARNAME@
2
3CY_ATTACH_GROUP := @CY_ATTACH_GROUP@
4
a243b558
JF
5lib := lib
6dll := @SO@
7depends ?=
8
a243b558
JF
9deb := $(shell grep ^Package: $(srcdir)/control.in | cut -d ' ' -f 2-)_$(shell grep ^Version: $(srcdir)/control.in | cut -d ' ' -f 2 | $(sed) -e 's/\#/$(version)/')_$(arch).deb
10
a243b558
JF
11libcycript.la: $(code)
12 $(ldid) .libs/$(lib)cycript.$(dll)
13
14cycript: Console.lo libcycript.la $(inject)
15 $(entitle) .libs/cycript
16
17package: $(deb)
18
19install: cycript libcycript.la
20ifneq ($(CY_ATTACH_GROUP),)
21 chgrp $(CY_ATTACH_GROUP) $(DESTDIR)$(bindir)/cycript
22 chmod g+s $(DESTDIR)$(bindir)/cycript
23endif