WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / gtk / module.rules
blob64eef8ac32b742f9989e396ff02599ef7395267d
1 $(eval $(call import.MODULE.rules,GTK))
3 build: gtk.build
4 install: gtk.install
5 install-strip: gtk.install-strip
6 uninstall: gtk.uninstall
7 clean: gtk.clean
8 xclean: gtk.xclean
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)" \
21             --prefix=$(PREFIX) \
22             --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
23         $(TOUCH.exe) $@
25 gtk.build: | $(GTK.build/)
26 gtk.build: $(GTK.CONFIGURE.stamp) $(LIBHB.a)
27         +$(MAKE) -C $(GTK.build/)
29 gtk.install-strip:
30         $(MAKE) -C $(GTK.build/) prefix=$(PREFIX) install-strip
32 gtk.install:
33         $(MAKE) -C $(GTK.build/) prefix=$(PREFIX) install
35 gtk.uninstall:
36         $(MAKE) -C $(GTK.build/) uninstall
38 gtk.clean:
39         $(MAKE) -C $(GTK.build/) clean
41 gtk.xclean:
42         $(MAKE) -C $(GTK.build/) distclean
43         $(RM.exe) -f $(GTK.out)
44         $(RM.exe) -fr $(GTK.build/)