# Generated automatically from Makefile.in by configure.

# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix).  The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.

prefix =	/usr/local
exec_prefix =	${prefix}

# Directory in which to install the library of tkined scripts.
# (note: you can set the TKINED_LIBRARY environment variable 
# at run-time to override the compiled-in location):
TKINED_DIR =	$(prefix)/lib/tkined

# Directory in which to install the program scotty:
BIN_DIR =	$(exec_prefix)/bin

# Directory in which to install the netguard server files:
ETC_DIR =	$(exec_prefix)/etc

# Top-level directory for manual entries:
MAN_DIR =       $(prefix)/man

# Directory in which to install manual entry for user commands:
MAN1_DIR =      $(MAN_DIR)/man1

# Directory in which to install manual entry for admin commands:
MAN8_DIR =      $(MAN_DIR)/man8

# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL =		/bin/sh

#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in.  You shouldn't normally
# modify any of this stuff by hand.
#----------------------------------------------------------------

INSTALL =		/bin/install -c
INSTALL_PROGRAM =	${INSTALL}
INSTALL_DATA =		${INSTALL} -m 644
SRC_DIR =		.

#----------------------------------------------------------------
# The information below should be usable as is.  The configure
# script won't modify it and you shouldn't need to modify it
# either.
#----------------------------------------------------------------

TKINEDSRCS = netguard_usr.tcl netguard_adm.tcl

NETGUARDSRCS = netguard snmp_netguard ip_netguard aggreg_netguard

all:

install:
	@if [ ! -d $(TKINED_DIR) ] ; then \
		mkdir -p $(TKINED_DIR); \
	else /bin/true; \
	fi
	for f in $(TKINEDSRCS) ; do \
		$(INSTALL_DATA) $$f $(TKINED_DIR); \
	done
	@if [ ! -d $(ETC_DIR) ] ; then \
		mkdir -p $(ETC_DIR); \
	else /bin/true; \
	fi
	for f in $(NETGUARDSRCS) ; do \
		$(INSTALL_PROGRAM) $$f $(ETC_DIR); \
	done
	@if [ ! -d $(MAN8_DIR) ] ; then \
		mkdir -p $(MAN8_DIR); \
	else /bin/true; \
	fi
	$(INSTALL_DATA) netguard.8 $(MAN8_DIR)

clean:
	rm -f core *~ *.bak tclIndex lmake.??? netguard.log agent.log

distclean: clean
	rm -f Makefile

