From 41790dfe9d61b90a48ca5dfe898dbcf27ea936f6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 Apr 2003 18:09:32 +0000 Subject: add an rc3 which gets installed --- build/Makefile.data | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 build/Makefile.data (limited to 'build/Makefile.data') diff --git a/build/Makefile.data b/build/Makefile.data new file mode 100644 index 00000000..874843ac --- /dev/null +++ b/build/Makefile.data @@ -0,0 +1,38 @@ +include build/Makefile.incl + +dir = data + +files = rc3 + +srcdir := $(srcdir)/$(dir) +files := $(addprefix $(srcdir)/,$(files)) + +all: + +$(target): $(objects) + $(AR) r $@ $^ + +$(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d + $(COMPILE) -c -o $@ $< + +$(depdir)/%.d: $(srcdir)/%.c + @echo Building dependancies for $< + @$(INSTALL) -d $(depdir) + @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $< + +install: + $(INSTALL) -d $(DESTDIR)$(rcdir) + $(INSTALL) -m 644 $(files) $(DESTDIR)$(rcdir) + +uninstall: + for i in $(notdir files); do \ + $(RM) $(DESTDIR)$(rcdir)/$$i; \ + done + -rmdir $(DESTDIR)$(rcdir) + +clean: + $(RM) $(srcdir)/*\~ + +distclean: + +.PHONY: all install uninstall clean distclean -- cgit v1.2.3