GNUmakerules 751 Bytes
Newer Older
1 2 3 4 5 6
#
# Insert Copyright Here.
#
$(INSTALL_BINDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_BINDIR)
7
	$(INSTALL_PROGRAM) $< $@
8

9 10 11 12 13
$(INSTALL_SBINDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_SBINDIR)
	$(INSTALL_PROGRAM) $< $@

14 15 16
$(INSTALL_BINDIR)/%: %.tcl
	@echo "Installing $<"
	-mkdir -p $(INSTALL_BINDIR)
17
	$(INSTALL_PROGRAM) $< $@
18

19 20 21
$(INSTALL_LIBDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_LIBDIR)
22
	$(INSTALL_PROGRAM) $< $@
23

24 25 26 27 28 29 30 31 32 33
$(INSTALL_ETCDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_ETCDIR)
	$(INSTALL_DATA) $< $@

$(INSTALL_WWWDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_WWWDIR)
	$(INSTALL_DATA) $< $@

34 35
CFLAGS += $(LOCALCFLAGS)

36 37 38 39 40 41
vpath %.c $(SRCDIR)

clean:

distclean: clean
	rm -f GNUmakefile $(DISTCLEAN_FILES)