summaryrefslogtreecommitdiffstats
path: root/c/update-tools/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/update-tools/Makefile.in')
-rw-r--r--c/update-tools/Makefile.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/c/update-tools/Makefile.in b/c/update-tools/Makefile.in
new file mode 100644
index 0000000000..200a2b5c6a
--- /dev/null
+++ b/c/update-tools/Makefile.in
@@ -0,0 +1,37 @@
+#
+# $Id$
+#
+# NOTE: of course we can't use any of these tools
+# in this Makefile. Most notably: install-if-change
+#
+
+@SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH=@srcdir@
+
+include $(RTEMS_CUSTOM)
+include $(RTEMS_ROOT)/make/leaf.cfg
+
+DESTDIR=$(PROJECT_RELEASE)/update-tools
+
+PGMS=update word-replace
+MISC_SUPPORT=310_to_320_list
+
+INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)
+
+INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)
+
+all: $(DESTDIR)
+ echo $(DESTDIR)
+
+$(DESTDIR):
+ [ -d $@ ] || $(MKDIR) $@
+
+install: $(INSTALLED)
+
+# Install the program
+$(DESTDIR)/%: %
+ $(make-script)
+ $(INSTALL) -m 555 $(PERL_PGMS) ${DESTDIR}
+ $(INSTALL) -m 444 $(srcdir)/$(MISC_SUPPORT) ${DESTDIR}