forked from HandBrake/HandBrake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.rules
43 lines (31 loc) · 1.2 KB
/
module.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
$(eval $(call import.MODULE.rules,GTK))
build: gtk.build
install: gtk.install
install-strip: gtk.install-strip
uninstall: gtk.uninstall
clean: gtk.clean
xclean: gtk.xclean
gtk.configure: $(GTK.SETUP.stamp)
$(GTK.SETUP.stamp): | $(LIBHB.a) $(BUILD/)GNUmakefile
$(GTK.CONFIGURE.env) $(MESON.exe) setup \
$(call fn.ABSOLUTE,$(GTK.build/)) $(call fn.ABSOLUTE,$(GTK.src/)) $(GTK.CONFIGURE.extra) $(GTK.CONFIGURE.cross)
$(GTK.CONFIGURE.stamp): $(BUILD/)GNUmakefile | $(GTK.SETUP.stamp)
$(MESON.exe) configure $(call fn.ABSOLUTE,$(GTK.build/)) $(GTK.CONFIGURE.extra)
$(TOUCH.exe) $(call fn.ABSOLUTE,$(GTK.CONFIGURE.stamp))
gtk.reconfigure: | $(GTK.SETUP.stamp)
$(MESON.exe) setup --reconfigure \
$(call fn.ABSOLUTE,$(GTK.build/)) $(call fn.ABSOLUTE,$(GTK.src/)) $(GTK.CONFIGURE.extra)
gtk.build: | $(GTK.SETUP.stamp) $(GTK.CONFIGURE.stamp)
+$(NINJA.exe) -C $(GTK.build/) $(GTK.BUILD.extra)
gtk.test:
$(MESON.exe) test -C $(GTK.build/) $(GTK.BUILD.extra)
gtk.install-strip:
$(MESON.exe) install -C $(GTK.build/) --strip
gtk.install:
$(MESON.exe) install -C $(GTK.build/)
gtk.uninstall:
$(NINJA.exe) uninstall -C $(GTK.build/)
gtk.clean:
$(NINJA.exe) clean -C $(GTK.build/)
gtk.xclean:
$(RM.exe) -fr $(GTK.build/)