1 $(eval $(call import.MODULE.rules,GTK))
5 install-strip: gtk.install-strip
6 uninstall: gtk.uninstall
10 gtk.configure: $(GTK.CONFIGURE.stamp)
12 $(GTK.CONFIGURE.stamp): | $(dir $(GTK.CONFIGURE.stamp))
13 $(GTK.CONFIGURE.stamp): $(GTK.src/)Makefile.am
14 $(GTK.CONFIGURE.stamp): $(GTK.src/)configure.ac $(GTK.src/)src/Makefile.am
15 set -e; cd $(GTK.src/); NOCONFIGURE=1 ./autogen.sh
16 set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \
17 $(GTK.CONFIGURE.extra) \
18 PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig \
19 CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \
20 LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \
22 --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
25 gtk.build: | $(GTK.build/)
26 gtk.build: $(GTK.CONFIGURE.stamp) $(LIBHB.a)
27 +$(MAKE) -C $(GTK.build/)
30 $(MAKE) -C $(GTK.build/) prefix=$(PREFIX) install-strip
33 $(MAKE) -C $(GTK.build/) prefix=$(PREFIX) install
36 $(MAKE) -C $(GTK.build/) uninstall
39 $(MAKE) -C $(GTK.build/) clean
42 $(MAKE) -C $(GTK.build/) distclean
43 $(RM.exe) -f $(GTK.out)
44 $(RM.exe) -fr $(GTK.build/)