# Makefile.in generated automatically by automake 1.5 from Makefile.am.

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



# -- Real Programs

SHELL = /bin/sh

srcdir = .
top_srcdir = ..

prefix = 
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/xorp
pkglibdir = $(libdir)/xorp
pkgincludedir = $(includedir)/xorp
top_builddir = ..

ACLOCAL = ${SHELL} /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/missing --run aclocal
AUTOCONF = ${SHELL} /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/missing --run autoconf
AUTOMAKE = ${SHELL} /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/missing --run automake
AUTOHEADER = ${SHELL} /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/missing --run autoheader

INSTALL = /usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM = install  -s -o root -g wheel -m 555
INSTALL_DATA = install  -o root -g wheel -m 444
INSTALL_SCRIPT = install  -o root -g wheel -m 555
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,^,i386-unknown-gnu-,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = i386-unknown-gnu
host_triplet = i386-unknown-gnu
AMTAR = ${SHELL} /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/missing --run tar
AS = @AS@
AWK = gawk
CC = cc
CLI_CURSES_LIB = -lcurses
CPP = cc -E
CXX = c++
CXXCPP = c++ -E
DEPDIR = .deps
DLLTOOL = @DLLTOOL@
EXEEXT = 
FLOWER_MALLOC = 
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIBTOOL_DEPS = config/ltconfig config/ltmain.sh
LN_S = ln -s
MAINT = #
MIBS = 
OBJDUMP = @OBJDUMP@
OBJEXT = 
PACKAGE = xorp
PYTHON = python2.2
PYTHON_BUILD = 
RANLIB = ranlib
VERSION = 1.4
am__include = include
am__quote = 
install_sh = /mnt/gmirror/ports/net/xorp/work/xorp-1.4/config/install-sh

bin_PROGRAMS = xorp_rtrmgr xorpsh xorp_profiler

# -- No-install Programs
test_programs = test_templates test_sample_config test_module_manager

check_PROGRAMS = $(test_programs)

# -- Test Programs
TESTS = $(addsuffix $(EXEEXT),$(test_programs))

# -- Libraries and library flags to link the binary programs
LDADD = $(top_builddir)/libxipc/libfinder.la $(top_builddir)/libxipc/libxipc.la $(top_builddir)/libcomm/libcomm.la $(top_builddir)/libxorp/libxorp.la

# -- Program Sources

#
# xorp_rtrmgr
#
xorp_rtrmgr_SOURCES = rtrmgr_module.h y.boot_tab.h y.tplt_tab.h glob_win32.h command_tree.hh conf_tree.hh conf_tree_node.hh config_operators.hh generic_module_manager.hh master_conf_tree.hh master_conf_tree_node.hh master_template_tree.hh master_template_tree_node.hh module_commands.hh module_manager.hh path_segment.hh randomness.hh rtrmgr_error.hh task.hh template_base_command.hh template_commands.hh template_tree.hh template_tree_node.hh unexpanded_program.hh unexpanded_xrl.hh userdb.hh util.hh xorp_client.hh xrl_rtrmgr_interface.hh xrldb.hh glob_win32.c conf_tree.cc conf_tree_node.cc config_operators.cc generic_module_manager.cc lex.boot.cc lex.tplt.cc main_rtrmgr.cc master_conf_tree.cc master_conf_tree_node.cc master_template_tree.cc master_template_tree_node.cc module_command.cc module_manager.cc randomness.cc task.cc template_base_command.cc template_commands.cc template_tree.cc template_tree_node.cc unexpanded_program.cc unexpanded_xrl.cc userdb.cc util.cc xorp_client.cc xrl_rtrmgr_interface.cc xrldb.cc y.boot_tab.cc y.tplt_tab.cc

xorp_rtrmgr_LDADD = $(top_builddir)/xrl/targets/librtrmgrbase.la $(top_builddir)/xrl/interfaces/librtrmgr_clientxif.la $(top_builddir)/xrl/interfaces/libfindereventnotifierxif.la $(LDADD)

#
# xorpsh
#
xorpsh_SOURCES = rtrmgr_module.h y.boot_tab.h y.opcmd_tab.h y.tplt_tab.h glob_win32.h cli.hh command_tree.hh conf_tree.hh conf_tree_node.hh config_operators.hh generic_module_manager.hh op_commands.hh path_segment.hh rtrmgr_error.hh slave_conf_tree.hh slave_conf_tree_node.hh slave_module_manager.hh template_base_commands.hh template_tree.hh template_tree_node.hh util.hh xorp_client.hh xorpsh_base.hh xorpsh_main.hh xrl_xorpsh_interface.hh glob_win32.c cli.cc command_tree.cc conf_tree.cc conf_tree_node.cc config_operators.cc generic_module_manager.cc lex.boot.cc lex.opcmd.cc lex.tplt.cc op_commands.cc slave_conf_tree.cc slave_conf_tree_node.cc slave_module_manager.cc template_base_command.cc template_tree.cc template_tree_node.cc util.cc xorp_client.cc xorpsh_main.cc xrl_xorpsh_interface.cc y.boot_tab.cc y.opcmd_tab.cc y.tplt_tab.cc

xorpsh_LDADD = $(top_builddir)/cli/libcli.la $(top_builddir)/libproto/libproto.la $(top_builddir)/cli/libtecla/libtecla.a -lcurses $(top_builddir)/xrl/interfaces/librtrmgrxif.la $(top_builddir)/xrl/targets/libxorpshbase.la $(LDADD)

#
# xorp_profiler
#
xorp_profiler_SOURCES = profiler.cc

xorp_profiler_LDADD = $(top_builddir)/xrl/interfaces/libprofilexif.la $(top_builddir)/xrl/targets/libprofileclientbase.la $(LDADD)

#
# test_templates
# #
test_templates_SOURCES = rtrmgr_module.h y.tplt_tab.h glob_win32.h conf_tree_node.hh config_operators.hh template_base_command.hh template_tree.hh template_tree_node.hh util.hh glob_win32.c conf_tree_node.cc config_operators.cc lex.tplt.cc template_base_command.cc template_tree.cc template_tree_node.cc test_templates.cc util.cc y.tplt_tab.cc

test_templates_LDADD = $(LDADD)

#
# test_sample_config
#
#test_sample_config_SOURCES	+= xrl_rtrmgr_interface.hh
#test_sample_config_SOURCES	+= xrl_rtrmgr_interface.cc
test_sample_config_SOURCES = rtrmgr_module.h y.boot_tab.h y.tplt_tab.h glob_win32.h command_tree.hh conf_tree.hh conf_tree_node.hh config_operators.hh generic_module_manager.hh master_conf_tree.hh master_conf_tree_node.hh master_template_tree.hh master_template_tree_node.hh module_commands.hh module_manager.hh path_segment.hh rtrmgr_error.hh task.hh template_base_command.hh template_commands.hh template_tree.hh template_tree_node.hh unexpanded_program.hh unexpanded_xrl.hh util.hh xorp_client.hh xrldb.hh glob_win32.c command_tree.cc conf_tree.cc conf_tree_node.cc config_operators.cc generic_module_manager.cc lex.boot.cc lex.tplt.cc master_conf_tree.cc master_conf_tree_node.cc master_template_tree.cc master_template_tree_node.cc module_command.cc module_manager.cc task.cc template_base_command.cc template_commands.cc template_tree.cc template_tree_node.cc test_sample_config.cc unexpanded_program.cc unexpanded_xrl.cc util.cc xorp_client.cc xrldb.cc y.boot_tab.cc y.tplt_tab.cc

test_sample_config_LDADD = $(LDADD)

# #
# # test_module_manager
# #

# test_module_manager_SOURCES	+= command_tree.hh
test_module_manager_SOURCES = rtrmgr_module.h y.boot_tab.h y.tplt_tab.h glob_win32.h conf_tree.hh conf_tree_node.hh config_operators.hh generic_module_manager.hh master_conf_tree.hh master_conf_tree_node.hh module_command.hh module_manager.hh path_segment.hh rtrmgr_error.hh task.hh template_base_command.hh template_commands.hh template_tree.hh template_tree_node.hh test_module_manager.hh unexpanded_program.hh unexpanded_xrl.hh util.hh xorp_client.hh xrldb.hh glob_win32.c conf_tree.cc conf_tree_node.cc config_operators.cc generic_module_manager.cc lex.boot.cc lex.tplt.cc master_conf_tree.cc master_conf_tree_node.cc module_command.cc module_manager.cc task.cc template_base_command.cc template_commands.cc template_tree.cc template_tree_node.cc test_module_manager.cc unexpanded_program.cc unexpanded_xrl.cc util.cc xorp_client.cc xrldb.cc y.boot_tab.cc y.tplt_tab.cc

test_module_manager_LDADD = $(LDADD)

# -- Library Sources

# -- Extra files and directories to add to the distribution
EXTRA_DIST = Notes boot.ll boot.yy config.boot.sample op_commands.ll op_commands.yy template.ll templatey.yy


################################################################
INCLUDES = -I$(top_srcdir)
subdir = rtrmgr
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
bin_PROGRAMS = xorp_rtrmgr$(EXEEXT) xorpsh$(EXEEXT) \
	xorp_profiler$(EXEEXT)
check_PROGRAMS = test_templates$(EXEEXT) test_sample_config$(EXEEXT) \
	test_module_manager$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)

am_test_module_manager_OBJECTS = glob_win32.$(OBJEXT) \
	conf_tree.$(OBJEXT) conf_tree_node.$(OBJEXT) \
	config_operators.$(OBJEXT) generic_module_manager.$(OBJEXT) \
	lex.boot.$(OBJEXT) lex.tplt.$(OBJEXT) \
	master_conf_tree.$(OBJEXT) master_conf_tree_node.$(OBJEXT) \
	module_command.$(OBJEXT) module_manager.$(OBJEXT) \
	task.$(OBJEXT) template_base_command.$(OBJEXT) \
	template_commands.$(OBJEXT) template_tree.$(OBJEXT) \
	template_tree_node.$(OBJEXT) test_module_manager.$(OBJEXT) \
	unexpanded_program.$(OBJEXT) unexpanded_xrl.$(OBJEXT) \
	util.$(OBJEXT) xorp_client.$(OBJEXT) xrldb.$(OBJEXT) \
	y.boot_tab.$(OBJEXT) y.tplt_tab.$(OBJEXT)
test_module_manager_OBJECTS = $(am_test_module_manager_OBJECTS)
test_module_manager_DEPENDENCIES = $(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
test_module_manager_LDFLAGS =
am_test_sample_config_OBJECTS = glob_win32.$(OBJEXT) \
	command_tree.$(OBJEXT) conf_tree.$(OBJEXT) \
	conf_tree_node.$(OBJEXT) config_operators.$(OBJEXT) \
	generic_module_manager.$(OBJEXT) lex.boot.$(OBJEXT) \
	lex.tplt.$(OBJEXT) master_conf_tree.$(OBJEXT) \
	master_conf_tree_node.$(OBJEXT) master_template_tree.$(OBJEXT) \
	master_template_tree_node.$(OBJEXT) module_command.$(OBJEXT) \
	module_manager.$(OBJEXT) task.$(OBJEXT) \
	template_base_command.$(OBJEXT) template_commands.$(OBJEXT) \
	template_tree.$(OBJEXT) template_tree_node.$(OBJEXT) \
	test_sample_config.$(OBJEXT) unexpanded_program.$(OBJEXT) \
	unexpanded_xrl.$(OBJEXT) util.$(OBJEXT) xorp_client.$(OBJEXT) \
	xrldb.$(OBJEXT) y.boot_tab.$(OBJEXT) y.tplt_tab.$(OBJEXT)
test_sample_config_OBJECTS = $(am_test_sample_config_OBJECTS)
test_sample_config_DEPENDENCIES = $(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
test_sample_config_LDFLAGS =
am_test_templates_OBJECTS = glob_win32.$(OBJEXT) \
	conf_tree_node.$(OBJEXT) config_operators.$(OBJEXT) \
	lex.tplt.$(OBJEXT) template_base_command.$(OBJEXT) \
	template_tree.$(OBJEXT) template_tree_node.$(OBJEXT) \
	test_templates.$(OBJEXT) util.$(OBJEXT) y.tplt_tab.$(OBJEXT)
test_templates_OBJECTS = $(am_test_templates_OBJECTS)
test_templates_DEPENDENCIES = $(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
test_templates_LDFLAGS =
am_xorp_profiler_OBJECTS = profiler.$(OBJEXT)
xorp_profiler_OBJECTS = $(am_xorp_profiler_OBJECTS)
xorp_profiler_DEPENDENCIES = \
	$(top_builddir)/xrl/interfaces/libprofilexif.la \
	$(top_builddir)/xrl/targets/libprofileclientbase.la \
	$(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
xorp_profiler_LDFLAGS =
am_xorp_rtrmgr_OBJECTS = glob_win32.$(OBJEXT) conf_tree.$(OBJEXT) \
	conf_tree_node.$(OBJEXT) config_operators.$(OBJEXT) \
	generic_module_manager.$(OBJEXT) lex.boot.$(OBJEXT) \
	lex.tplt.$(OBJEXT) main_rtrmgr.$(OBJEXT) \
	master_conf_tree.$(OBJEXT) master_conf_tree_node.$(OBJEXT) \
	master_template_tree.$(OBJEXT) \
	master_template_tree_node.$(OBJEXT) module_command.$(OBJEXT) \
	module_manager.$(OBJEXT) randomness.$(OBJEXT) task.$(OBJEXT) \
	template_base_command.$(OBJEXT) template_commands.$(OBJEXT) \
	template_tree.$(OBJEXT) template_tree_node.$(OBJEXT) \
	unexpanded_program.$(OBJEXT) unexpanded_xrl.$(OBJEXT) \
	userdb.$(OBJEXT) util.$(OBJEXT) xorp_client.$(OBJEXT) \
	xrl_rtrmgr_interface.$(OBJEXT) xrldb.$(OBJEXT) \
	y.boot_tab.$(OBJEXT) y.tplt_tab.$(OBJEXT)
xorp_rtrmgr_OBJECTS = $(am_xorp_rtrmgr_OBJECTS)
xorp_rtrmgr_DEPENDENCIES = $(top_builddir)/xrl/targets/librtrmgrbase.la \
	$(top_builddir)/xrl/interfaces/librtrmgr_clientxif.la \
	$(top_builddir)/xrl/interfaces/libfindereventnotifierxif.la \
	$(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
xorp_rtrmgr_LDFLAGS =
am_xorpsh_OBJECTS = glob_win32.$(OBJEXT) cli.$(OBJEXT) \
	command_tree.$(OBJEXT) conf_tree.$(OBJEXT) \
	conf_tree_node.$(OBJEXT) config_operators.$(OBJEXT) \
	generic_module_manager.$(OBJEXT) lex.boot.$(OBJEXT) \
	lex.opcmd.$(OBJEXT) lex.tplt.$(OBJEXT) op_commands.$(OBJEXT) \
	slave_conf_tree.$(OBJEXT) slave_conf_tree_node.$(OBJEXT) \
	slave_module_manager.$(OBJEXT) template_base_command.$(OBJEXT) \
	template_tree.$(OBJEXT) template_tree_node.$(OBJEXT) \
	util.$(OBJEXT) xorp_client.$(OBJEXT) xorpsh_main.$(OBJEXT) \
	xrl_xorpsh_interface.$(OBJEXT) y.boot_tab.$(OBJEXT) \
	y.opcmd_tab.$(OBJEXT) y.tplt_tab.$(OBJEXT)
xorpsh_OBJECTS = $(am_xorpsh_OBJECTS)
xorpsh_DEPENDENCIES = $(top_builddir)/cli/libcli.la \
	$(top_builddir)/libproto/libproto.la \
	$(top_builddir)/cli/libtecla/libtecla.a \
	$(top_builddir)/xrl/interfaces/librtrmgrxif.la \
	$(top_builddir)/xrl/targets/libxorpshbase.la \
	$(top_builddir)/libxipc/libfinder.la \
	$(top_builddir)/libxipc/libxipc.la \
	$(top_builddir)/libcomm/libcomm.la \
	$(top_builddir)/libxorp/libxorp.la
xorpsh_LDFLAGS =

DEFS = -DHAVE_CONFIG_H
DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
CPPFLAGS = 
LDFLAGS = 
LIBS = -lcrypto 
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
DEP_FILES = $(DEPDIR)/cli.Po $(DEPDIR)/command_tree.Po \
	$(DEPDIR)/conf_tree.Po $(DEPDIR)/conf_tree_node.Po \
	$(DEPDIR)/config_operators.Po \
	$(DEPDIR)/generic_module_manager.Po \
	$(DEPDIR)/glob_win32.Po $(DEPDIR)/lex.boot.Po \
	$(DEPDIR)/lex.opcmd.Po $(DEPDIR)/lex.tplt.Po \
	$(DEPDIR)/main_rtrmgr.Po \
	$(DEPDIR)/master_conf_tree.Po \
	$(DEPDIR)/master_conf_tree_node.Po \
	$(DEPDIR)/master_template_tree.Po \
	$(DEPDIR)/master_template_tree_node.Po \
	$(DEPDIR)/module_command.Po \
	$(DEPDIR)/module_manager.Po \
	$(DEPDIR)/op_commands.Po $(DEPDIR)/profiler.Po \
	$(DEPDIR)/randomness.Po \
	$(DEPDIR)/slave_conf_tree.Po \
	$(DEPDIR)/slave_conf_tree_node.Po \
	$(DEPDIR)/slave_module_manager.Po $(DEPDIR)/task.Po \
	$(DEPDIR)/template_base_command.Po \
	$(DEPDIR)/template_commands.Po \
	$(DEPDIR)/template_tree.Po \
	$(DEPDIR)/template_tree_node.Po \
	$(DEPDIR)/test_module_manager.Po \
	$(DEPDIR)/test_sample_config.Po \
	$(DEPDIR)/test_templates.Po \
	$(DEPDIR)/unexpanded_program.Po \
	$(DEPDIR)/unexpanded_xrl.Po $(DEPDIR)/userdb.Po \
	$(DEPDIR)/util.Po $(DEPDIR)/xorp_client.Po \
	$(DEPDIR)/xorpsh_main.Po \
	$(DEPDIR)/xrl_rtrmgr_interface.Po \
	$(DEPDIR)/xrl_xorpsh_interface.Po \
	$(DEPDIR)/xrldb.Po $(DEPDIR)/y.boot_tab.Po \
	$(DEPDIR)/y.opcmd_tab.Po $(DEPDIR)/y.tplt_tab.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
CFLAGS = -fno-common
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
	$(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
	$(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXFLAGS = -Wno-uninitialized
DIST_SOURCES = $(test_module_manager_SOURCES) \
	$(test_sample_config_SOURCES) $(test_templates_SOURCES) \
	$(xorp_profiler_SOURCES) $(xorp_rtrmgr_SOURCES) \
	$(xorpsh_SOURCES)
DIST_COMMON = Makefile.am Makefile.in TODO
SOURCES = $(test_module_manager_SOURCES) $(test_sample_config_SOURCES) $(test_templates_SOURCES) $(xorp_profiler_SOURCES) $(xorp_rtrmgr_SOURCES) $(xorpsh_SOURCES)

all: all-am

.SUFFIXES:
.SUFFIXES: .c .cc .lo .o .obj

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
$(srcdir)/Makefile.in: # Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --foreign  rtrmgr/Makefile
Makefile: # $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && \
	  CONFIG_HEADERS= CONFIG_LINKS= \
	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  if test -f $$p \
	     || test -f $$p1 \
	  ; then \
	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
	  rm -f $(DESTDIR)$(bindir)/$$f; \
	done

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

clean-checkPROGRAMS:
	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
test_module_manager$(EXEEXT): $(test_module_manager_OBJECTS) $(test_module_manager_DEPENDENCIES) 
	@rm -f test_module_manager$(EXEEXT)
	$(CXXLINK) $(test_module_manager_LDFLAGS) $(test_module_manager_OBJECTS) $(test_module_manager_LDADD) $(LIBS)
test_sample_config$(EXEEXT): $(test_sample_config_OBJECTS) $(test_sample_config_DEPENDENCIES) 
	@rm -f test_sample_config$(EXEEXT)
	$(CXXLINK) $(test_sample_config_LDFLAGS) $(test_sample_config_OBJECTS) $(test_sample_config_LDADD) $(LIBS)
test_templates$(EXEEXT): $(test_templates_OBJECTS) $(test_templates_DEPENDENCIES) 
	@rm -f test_templates$(EXEEXT)
	$(CXXLINK) $(test_templates_LDFLAGS) $(test_templates_OBJECTS) $(test_templates_LDADD) $(LIBS)
xorp_profiler$(EXEEXT): $(xorp_profiler_OBJECTS) $(xorp_profiler_DEPENDENCIES) 
	@rm -f xorp_profiler$(EXEEXT)
	$(CXXLINK) $(xorp_profiler_LDFLAGS) $(xorp_profiler_OBJECTS) $(xorp_profiler_LDADD) $(LIBS)
xorp_rtrmgr$(EXEEXT): $(xorp_rtrmgr_OBJECTS) $(xorp_rtrmgr_DEPENDENCIES) 
	@rm -f xorp_rtrmgr$(EXEEXT)
	$(CXXLINK) $(xorp_rtrmgr_LDFLAGS) $(xorp_rtrmgr_OBJECTS) $(xorp_rtrmgr_LDADD) $(LIBS)
xorpsh$(EXEEXT): $(xorpsh_OBJECTS) $(xorpsh_DEPENDENCIES) 
	@rm -f xorpsh$(EXEEXT)
	$(CXXLINK) $(xorpsh_LDFLAGS) $(xorpsh_OBJECTS) $(xorpsh_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT) core *.core

distclean-compile:
	-rm -f *.tab.c

include $(DEPDIR)/cli.Po
include $(DEPDIR)/command_tree.Po
include $(DEPDIR)/conf_tree.Po
include $(DEPDIR)/conf_tree_node.Po
include $(DEPDIR)/config_operators.Po
include $(DEPDIR)/generic_module_manager.Po
include $(DEPDIR)/glob_win32.Po
include $(DEPDIR)/lex.boot.Po
include $(DEPDIR)/lex.opcmd.Po
include $(DEPDIR)/lex.tplt.Po
include $(DEPDIR)/main_rtrmgr.Po
include $(DEPDIR)/master_conf_tree.Po
include $(DEPDIR)/master_conf_tree_node.Po
include $(DEPDIR)/master_template_tree.Po
include $(DEPDIR)/master_template_tree_node.Po
include $(DEPDIR)/module_command.Po
include $(DEPDIR)/module_manager.Po
include $(DEPDIR)/op_commands.Po
include $(DEPDIR)/profiler.Po
include $(DEPDIR)/randomness.Po
include $(DEPDIR)/slave_conf_tree.Po
include $(DEPDIR)/slave_conf_tree_node.Po
include $(DEPDIR)/slave_module_manager.Po
include $(DEPDIR)/task.Po
include $(DEPDIR)/template_base_command.Po
include $(DEPDIR)/template_commands.Po
include $(DEPDIR)/template_tree.Po
include $(DEPDIR)/template_tree_node.Po
include $(DEPDIR)/test_module_manager.Po
include $(DEPDIR)/test_sample_config.Po
include $(DEPDIR)/test_templates.Po
include $(DEPDIR)/unexpanded_program.Po
include $(DEPDIR)/unexpanded_xrl.Po
include $(DEPDIR)/userdb.Po
include $(DEPDIR)/util.Po
include $(DEPDIR)/xorp_client.Po
include $(DEPDIR)/xorpsh_main.Po
include $(DEPDIR)/xrl_rtrmgr_interface.Po
include $(DEPDIR)/xrl_xorpsh_interface.Po
include $(DEPDIR)/xrldb.Po
include $(DEPDIR)/y.boot_tab.Po
include $(DEPDIR)/y.opcmd_tab.Po
include $(DEPDIR)/y.tplt_tab.Po

distclean-depend:
	-rm -rf $(DEPDIR)

.c.o:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<

.c.obj:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CCDEPMODE) $(depcomp) \
	$(COMPILE) -c `cygpath -w $<`

.c.lo:
	source='$<' object='$@' libtool=yes \
	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
	$(CCDEPMODE) $(depcomp) \
	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
CCDEPMODE = depmode=gcc3

.cc.o:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CXXDEPMODE) $(depcomp) \
	$(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<

.cc.obj:
	source='$<' object='$@' libtool=no \
	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
	$(CXXDEPMODE) $(depcomp) \
	$(CXXCOMPILE) -c -o $@ `cygpath -w $<`

.cc.lo:
	source='$<' object='$@' libtool=yes \
	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
	$(CXXDEPMODE) $(depcomp) \
	$(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
CXXDEPMODE = depmode=gcc3
uninstall-info-am:

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)

GTAGS:
	here=`CDPATH=: && cd $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH

check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=0; \
	srcdir=$(srcdir); export srcdir; \
	list='$(TESTS)'; \
	if test -n "$$list"; then \
	  for tst in $$list; do \
	    if test -f ./$$tst; then dir=./; \
	    elif test -f $$tst; then dir=; \
	    else dir="$(srcdir)/"; fi; \
	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *" $$tst "*) \
	        xpass=`expr $$xpass + 1`; \
	        failed=`expr $$failed + 1`; \
	        echo "XPASS: $$tst"; \
	      ;; \
	      *) \
	        echo "PASS: $$tst"; \
	      ;; \
	      esac; \
	    elif test $$? -ne 77; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *" $$tst "*) \
	        xfail=`expr $$xfail + 1`; \
	        echo "XFAIL: $$tst"; \
	      ;; \
	      *) \
	        failed=`expr $$failed + 1`; \
	        echo "FAIL: $$tst"; \
	      ;; \
	      esac; \
	    fi; \
	  done; \
	  if test "$$failed" -eq 0; then \
	    if test "$$xfail" -eq 0; then \
	      banner="All $$all tests passed"; \
	    else \
	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
	    fi; \
	  else \
	    if test "$$xpass" -eq 0; then \
	      banner="$$failed of $$all tests failed"; \
	    else \
	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
	    fi; \
	  fi; \
	  dashes=`echo "$$banner" | sed s/./=/g`; \
	  echo "$$dashes"; \
	  echo "$$banner"; \
	  echo "$$dashes"; \
	  test "$$failed" -eq 0; \
	fi

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    $(mkinstalldirs) "$(distdir)/$$dir"; \
	  fi; \
	  if test -d $$d/$$file; then \
	    cp -pR $$d/$$file $(distdir) \
	    || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile $(PROGRAMS)

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(bindir)

install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
	clean-libtool mostlyclean-am

distclean: distclean-am

distclean-am: clean-am distclean-compile distclean-depend \
	distclean-generic distclean-libtool distclean-tags

dvi: dvi-am

dvi-am:

info: info-am

info-am:

install-data-am:

install-exec-am: install-binPROGRAMS

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

uninstall-am: uninstall-binPROGRAMS uninstall-info-am

.PHONY: GTAGS all all-am check check-TESTS check-am clean \
	clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
	clean-libtool distclean distclean-compile distclean-depend \
	distclean-generic distclean-libtool distclean-tags distdir dvi \
	dvi-am info info-am install install-am install-binPROGRAMS \
	install-data install-data-am install-exec install-exec-am \
	install-info install-info-am install-man install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool tags uninstall \
	uninstall-am uninstall-binPROGRAMS uninstall-info-am


################################################################

yacc:	.yacc_generated_files
lex:	.lex_generated_files

.yacc_generated_files: $(srcdir)/template.yy $(srcdir)/boot.yy $(srcdir)/op_commands.yy
	( cd $(srcdir);						\
	yacc -d -p tplt -o y.tplt_tab.c template.yy;		\
	mv y.tplt_tab.c y.tplt_tab.cc;				\
	$(top_srcdir)/utils/rcsid2ident.sh y.tplt_tab.cc;	\
	yacc -d -p boot -o y.boot_tab.c boot.yy;		\
	mv y.boot_tab.c y.boot_tab.cc;				\
	$(top_srcdir)/utils/rcsid2ident.sh y.boot_tab.cc;	\
	yacc -d -p opcmd -o y.opcmd_tab.c op_commands.yy;	\
	mv y.opcmd_tab.c y.opcmd_tab.cc;			\
	$(top_srcdir)/utils/rcsid2ident.sh y.opcmd_tab.cc;	\
	touch .yacc_generated_files )

.lex_generated_files: $(srcdir)/template.ll $(srcdir)/boot.ll $(srcdir)/op_commands.ll
	( cd $(srcdir);						\
	flex -Ptplt -olex.tplt.cc template.ll;			\
	flex -Pboot -olex.boot.cc boot.ll;			\
	flex -Popcmd -olex.opcmd.cc op_commands.ll;		\
	touch .lex_generated_files )
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


syntax highlighted by Code2HTML, v. 0.9.1