]> git.saurik.com Git - cycript.git/blob - rules.old
CRLF from non-last line wrote result over command.
[cycript.git] / rules.old
1 PACKAGE_TARNAME := @PACKAGE_TARNAME@
2
3 CY_ATTACH_GROUP := @CY_ATTACH_GROUP@
4
5 lib := lib
6 dll := @SO@
7 depends ?=
8
9 deb := $(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
11 libcycript.la: $(code)
12 $(ldid) .libs/$(lib)cycript.$(dll)
13
14 cycript: Console.lo libcycript.la $(inject)
15 $(entitle) .libs/cycript
16
17 package: $(deb)
18
19 install: cycript libcycript.la
20 ifneq ($(CY_ATTACH_GROUP),)
21 chgrp $(CY_ATTACH_GROUP) $(DESTDIR)$(bindir)/cycript
22 chmod g+s $(DESTDIR)$(bindir)/cycript
23 endif