makefiles-garage/imgtools/romtools/Makefile
changeset 0 37428ad74fc2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/makefiles-garage/imgtools/romtools/Makefile	Mon Nov 16 10:04:44 2009 +0000
@@ -0,0 +1,42 @@
+# Copyright (c) 2009 Symbian Foundation Ltd
+# This component and the accompanying materials are made available
+# under the terms of the License "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Symbian Foundation Ltd - initial contribution.
+# Mike Kinghan, mikek@symbian.org
+#
+# Contributors:
+#
+# Description:
+# This is a Linux makefile for the romtools components. 
+
+ifdef EPOCROOT
+include $(EPOCROOT)/build/makefiles-garage/global-make-env.mk
+else
+$(error EPOCROOT must be defined as the parent directory of your epoc32 tree)
+endif
+
+subdirs = rombuild rofsbuild r_t_areaset
+#export_srcs = ../maksym/fixupsym.pl ../maksym/hpsym.pl ../maksym/maksym.pl ../maksym/maksymrofs.pl
+#export_dests = $(basename $(export_srcs))
+
+prereqs = imglib 
+
+.PHONY: all clean $(prereqs)
+
+all: $(prereqs)
+	for file in $(subdirs); do $(MAKE) -C $$file; done
+
+$(prereqs): $(global_prereqs)
+	$(MAKE) -C $(EPOCROOT)/build $@
+
+#export: all
+#	for file in $(exports); do cp -f $$file $(EPOCROOT)/epoc32/tools/$${$$file%%.pl}; done
+
+
+clean:
+	for file in $(subdirs); do $(MAKE) -C $$file clean; done
+