summaryrefslogtreecommitdiffstats
path: root/gtk/module.rules
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-03-01 19:40:56 +0000
committerjstebbins <[email protected]>2009-03-01 19:40:56 +0000
commit883b33c821d547afc1482bf19d6c496949599683 (patch)
tree19d7b6585caba05502e83e30fbfff019b215d4bf /gtk/module.rules
parenta2763d8dc216bc2670d49128d98dd65600cfe95f (diff)
LinGui: remove extraneous files dist files like AUTHORS etc.
add distclean to xclean rules link gtk.xclean to top xclean use hb build systems CFLAGS and LDFLAGS git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2184 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/module.rules')
-rw-r--r--gtk/module.rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/module.rules b/gtk/module.rules
index 3cc655923..215c8776e 100644
--- a/gtk/module.rules
+++ b/gtk/module.rules
@@ -2,6 +2,7 @@ $(eval $(call import.MODULE.rules,GTK))
build: gtk.build
clean: gtk.clean
+xclean: gtk.xclean
gtk.configure: $(GTK.CONFIGURE.stamp)
@@ -10,7 +11,9 @@ gtk.build: $(GTK.BUILD.stamp)
$(GTK.CONFIGURE.stamp): | $(dir $(GTK.CONFIGURE.stamp))
set -e; cd $(GTK.src/); NOCONFIGURE=1 ./autogen.sh
set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \
- --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
+ CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O)" \
+ LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O)" \
+ --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
$(TOUCH.exe) $@
$(GTK.BUILD.stamp): $(LIBHB.a)
@@ -30,5 +33,6 @@ gtk.clean:
$(RM.exe) $(GTK.BUILD.stamp)
gtk.xclean:
+ $(MAKE) -C $(GTK.build/) distclean
$(RM.exe) -f $(GTK.out)
$(RM.exe) -fr $(GTK.build/)