diff options
author | jstebbins <[email protected]> | 2010-08-25 17:42:52 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-08-25 17:42:52 +0000 |
commit | e97e93ae2745f67d0557f12129888b2e322d78be (patch) | |
tree | b0d0dd456bd24e965c855ea0e643be5fd2f62998 /gtk/module.rules | |
parent | ec4077940685c8516263ae074299e970144d0261 (diff) |
Change how native tools are built in a cross compiling environment.
Was using hb's core build system for these tools. Now using
accepted practice in autoconf for native tools.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3494 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/module.rules')
-rw-r--r-- | gtk/module.rules | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/gtk/module.rules b/gtk/module.rules index 09a8c34c7..a1c1eb76f 100644 --- a/gtk/module.rules +++ b/gtk/module.rules @@ -1,10 +1,10 @@ $(eval $(call import.MODULE.rules,GTK)) -build: hgtk.build gtk.build +build: gtk.build install: gtk.install install-strip: gtk.install-strip uninstall: gtk.uninstall -clean: hgtk.clean gtk.clean +clean: gtk.clean xclean: gtk.xclean gtk.configure: $(GTK.CONFIGURE.stamp) @@ -35,31 +35,11 @@ gtk.install: gtk.uninstall: $(MAKE) -C $(GTK.build/) uninstall -gtk.clean: hgtk.clean +gtk.clean: $(MAKE) -C $(GTK.build/) clean -gtk.xclean: hgtk.clean +gtk.xclean: $(MAKE) -C $(GTK.build/) distclean $(RM.exe) -f $(GTK.out) $(RM.exe) -fr $(GTK.build/) -############################################################################### -############################################################################### -$(eval $(call import.MODULE.rules,HGTK)) - -hgtk.build: $(CREATE_RES.exe) - -$(CREATE_RES.exe): | $(dir $(CREATE_RES.exe)) -$(CREATE_RES.exe): $(CREATE_RES.c.o) $(HGTKCOMMON.c.o) - $(call HGTK.GCC.EXE,$@,$^) - -$(HGTKCOMMON.c.o): | $(dir $(HGTKCOMMON.c.o)) -$(HGTKCOMMON.c.o): $(BUILD/)%-native.o: $(SRC/)%.c - $(call HGTK.GCC.C_O,$@,$<) - -$(CREATE_RES.c.o): | $(dir $(CREATE_RES.c.o)) -$(CREATE_RES.c.o): $(BUILD/)%-native.o: $(SRC/)%.c - $(call HGTK.GCC.C_O,$@,$<) - -hgtk.clean: - $(RM.exe) -f $(HGTK.out) |