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/src | |
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/src')
-rw-r--r-- | gtk/src/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am index da44339c8..12d23b11e 100644 --- a/gtk/src/Makefile.am +++ b/gtk/src/Makefile.am @@ -127,6 +127,19 @@ widget.deps: makedeps.py resources.plist: create_resources resources.list $(icons_dep) internal_defaults.xml standard_presets.xml ghb.ui widget.deps widget_reverse.deps ./create_resources -I$(srcdir) $(srcdir)/resources.list resources.plist +CREATE_RES.c = \ + create_resources.c \ + plist.c \ + values.c + +CREATE_RES.c.o = $(patsubst %.c,%-native.o,$(CREATE_RES.c)) + +create_resources: $(CREATE_RES.c.o) + $(CC_FOR_BUILD) -o $@ $^ $(GHB_TOOLS_LIBS) + +$(CREATE_RES.c.o): %-native.o: %.c + $(CC_FOR_BUILD) $(GHB_TOOLS_CFLAGS) -c -o $@ $< + ghbcellrenderertext.$(OBJEXT): marshalers.h $(srcdir)/marshalers.h: marshalers.list |