2 EXTRA_DIST
= GeckoWebBrowser.make rules.make configure Makefile.
include
7 include $(top_srcdir
)/config.make
8 include $(top_srcdir
)/rules.make
10 #include $(top_srcdir)/custom-hooks.make
12 #Warning: This is an automatically generated file, do not edit!
13 ifeq ($(CONFIG
),DEBUG
)
16 ifeq ($(CONFIG
),RELEASE
)
20 # Include project specific makefile
21 include GeckoWebBrowser.make
23 CONFIG_MAKE
=$(top_srcdir
)/config.make
25 %-recursive
: $(CONFIG_MAKE
)
26 @set .
$$MAKEFLAGS; final_exit
=:; \
27 case
$$2 in
--unix
) shift
;; esac
; \
28 case
$$2 in
*=*) dk
="exit 1" ;; *k
*) dk
=: ;; *) dk
="exit 1" ;; esac
; \
29 make pre-
$*-hook
prefix=$(prefix) ; \
30 for
dir in
$(SUBDIRS
); do \
32 .
) make
$*-local ||
{ final_exit
="exit 1"; $$dk; };;\
33 *) (cd
$$dir && make
$*) ||
{ final_exit
="exit 1"; $$dk; };;\
36 make post-
$*-hook
prefix=$(prefix) ; \
40 echo
"You must run configure first"
43 clean: clean-recursive
44 install: install-recursive
45 uninstall: uninstall-recursive
48 rm -rf
$(PACKAGE
)-$(VERSION
)
49 mkdir
$(PACKAGE
)-$(VERSION
)
50 make pre-dist-hook distdir
=$$distdir
51 for
dir in
$(SUBDIRS
); do \
52 pkgdir
=`pwd`/$(PACKAGE
)-$(VERSION
); \
53 mkdir
$$pkgdir/$$dir || true
; \
55 .
) make dist-local distdir
=$$pkgdir || exit
1;; \
56 *) (cd
$$dir; make dist-local distdir
=$$pkgdir/$$dir) || exit
1;; \
59 (make dist-local distdir
=$(PACKAGE
)-$(VERSION
))
61 make post-dist-hook distsir
=$$distdir
62 tar czvf
$(PACKAGE
)-$(VERSION
).
tar.gz
$(PACKAGE
)-$(VERSION
)
63 rm -rf
$(PACKAGE
)-$(VERSION
)
64 @echo
"=========================================="
65 @echo
"$(PACKAGE)-$(VERSION) has been packaged > $(PACKAGE)-$(VERSION).tar.gz"
66 @echo
"=========================================="
69 (mkdir
test; cd
test; \
70 tar xzvf ..
/$(PACKAGE
)-$(VERSION
).
tar.gz
; cd
$(PACKAGE
)-$(VERSION
); \
71 .
/configure
--prefix=$$(cd
`pwd`/..
; pwd
); \
72 make
&& make
install && make
dist);