GNUmakefile.in 627 Bytes
Newer Older
1
2
3
#
# Insert Copyright Here.
#
4
5
6
7
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
SUBDIR		= db
8

9
include $(OBJDIR)/Makeconf
10

11
12
13
BIN_SCRIPTS	= mac2if nalloc nfree nodeip
SBIN_SCRIPTS	= avail inuse showgraph
LIBEXEC_SCRIPTS = ptopgen
14
15

#
16
17
18
19
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
# 
all:	$(BIN_SCRIPTS) $(SBIN_SCRIPTS) $(LIBEXEC_SCRIPTS)
20

21
include $(TESTBED_SRCDIR)/GNUmakerules
22

23
24
25
install: $(addprefix $(INSTALL_BINDIR)/, $(BIN_SCRIPTS)) \
	$(addprefix $(INSTALL_SBINDIR)/, $(SBIN_SCRIPTS)) \
	$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS))
26
27

clean: