summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-05 14:52:45 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-05 14:52:45 +0100
commit2f2a73beea5e9e66505ba2adba98be83452fc93b (patch)
treefb4d3ce845cba143fb8efa6cef0754729405cafa /Makefile
parentea9a2ff01d4ca599215a3bd943f7c5fd55d12f63 (diff)
downloadnetsurf-2f2a73beea5e9e66505ba2adba98be83452fc93b.tar.gz
netsurf-2f2a73beea5e9e66505ba2adba98be83452fc93b.tar.bz2
Move some RISc OS specific Makefile rules into its Makefile.target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 0 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index eef22af4b..3431ac905 100644
--- a/Makefile
+++ b/Makefile
@@ -633,39 +633,6 @@ $(RSRC_BEOS): $(RDEF_BEOS) $(RDEF_IMP_BEOS)
$(Q)$(BEOS_RC) -I beos -o $@ $^
endif
-ifeq ($(TARGET),riscos)
- # Native RO build is different as 1) it can't do piping and 2) ccres on
- # RO does not understand Unix filespec
- ifeq ($(HOST),riscos)
- define compile_template
-!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2)
- $$(VQ)echo "TEMPLATE: $(2)"
- $$(Q)$$(CC) -x c -E -P $$(CFLAGS) -o processed_template $(2)
- $$(Q)$$(CCRES) processed_template $$(subst /,.,$$@)
- $$(Q)$(RM) processed_template
-CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT)
-
- endef
- else
- define compile_template
-!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2)
- $$(VQ)echo "TEMPLATE: $(2)"
- $$(Q)mkdir -p !NetSurf/Resources/$(1)
- $$(Q)$$(CC) -x c -E -P $$(CFLAGS) $(2) | $$(CCRES) - $$@
-CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT)
-
- endef
- endif
-
-clean-templates:
- $(VQ)echo " CLEAN: $(CLEAN_TEMPLATES)"
- $(Q)$(RM) $(CLEAN_TEMPLATES)
-CLEANS += clean-templates
-
-$(eval $(foreach TPL,$(TPL_RISCOS), \
- $(call compile_template,$(notdir $(TPL)),$(TPL))))
-endif
-
clean-target:
$(VQ)echo " CLEAN: $(EXETARGET)"
$(Q)$(RM) $(EXETARGET)