GNUmakefile.in 658 Bytes
Newer Older
1
2
3
4
#
# Insert Copyright Here.
#
include ../Makeconf
5
6
7

all:

8
9
10
include ../GNUmakerules

BINSCRIPTS	= avail inuse mac2if nalloc nfree nodeip ptopgen \
11
12
		  showgraph
ALLSCRIPTS	= checkowner.tcl \
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
		  $(BINSCRIPTS)

#
# Currently, all the stuff that gets installed in the bin directory
# gets duplicated in lib/tbsetup.
#
INSTALL_LIBTBDIR = $(INSTALL_LIBDIR)/db

install: $(addprefix $(INSTALL_BINDIR)/, $(BINSCRIPTS)) \
	 $(addprefix $(INSTALL_LIBTBDIR)/, $(ALLSCRIPTS))

#
# Leave these rules here. They should be flushed when we no longer
# dup this stuff.
# 
$(INSTALL_LIBTBDIR)/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_LIBTBDIR)
	$(INSTALL) $< $@

clean: