diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2011-05-08 01:03:44 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2011-05-08 01:03:44 +0000 |
commit | 4ebb145a7d2d75139a6cab6863c0e3eb85a5282c (patch) | |
tree | a6c03bbf35b4ca528718a1efd1bafa3cfb460a9d /Makefile | |
parent | f2e8be9fe75817a29eb7aeda08659944c0c69932 (diff) | |
download | netsurf-4ebb145a7d2d75139a6cab6863c0e3eb85a5282c.tar.gz netsurf-4ebb145a7d2d75139a6cab6863c0e3eb85a5282c.tar.bz2 |
Automatically build an rdef file importing the resources listed as dependencies for BeOS.
svn path=/trunk/netsurf/; revision=12306
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -426,9 +426,14 @@ ifeq ($(TARGET),beos) endif ifeq ($(TARGET),beos) -$(RSRC_BEOS): $(RDEF_BEOS) $(RDEP_BEOS) +$(RDEF_IMP_BEOS): $(RDEP_BEOS) + echo $(RDEF_IMP_BEOS) + $(VQ)echo " GEN: $@" + $(Q)n=5000; for f in $^; do echo "resource($$n,\"$${f#beos/res/}\") #'data' import \"$${f#beos/}\";"; n=$$(($$n+1)); done > $@ + +$(RSRC_BEOS): $(RDEF_BEOS) $(RDEF_IMP_BEOS) $(VQ)echo " RC: $<" - $(Q)$(BEOS_RC) -o $@ $< + $(Q)$(BEOS_RC) -I beos -o $@ $^ endif ifeq ($(TARGET),riscos) |