diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-05 18:09:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-05 18:09:32 +0000 |
| commit | 41790dfe9d61b90a48ca5dfe898dbcf27ea936f6 (patch) | |
| tree | b81e9eb9763ba007eef7f4c32b45defe8d88254a /build/Makefile.data | |
| parent | d60d7a067426bf7266c99c69d9449f8254c2a3ce (diff) | |
add an rc3 which gets installed
Diffstat (limited to 'build/Makefile.data')
| -rw-r--r-- | build/Makefile.data | 38 |
1 files changed, 38 insertions, 0 deletions
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 |
