GNUmakefile.in 867 Bytes
Newer Older
1
#
Leigh Stoller's avatar
Leigh Stoller committed
2
# EMULAB-COPYRIGHT
3
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
Leigh Stoller's avatar
Leigh Stoller committed
4
# All rights reserved.
5
#
Leigh Stoller's avatar
Leigh Stoller committed
6

7 8 9 10 11 12 13
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
SUBDIR		= vis

include $(OBJDIR)/Makeconf

14
BIN_SCRIPTS	= dbvistopology
15
LIBEXEC_SCRIPTS = webvistopology webfloormap
16
LIBEXEC_VIS	= prerender render prerender_all floormap
17 18 19 20 21 22 23 24 25 26 27 28 29 30

#
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
# 
all:	$(LIBEXEC_SCRIPTS) $(LIBEXEC_VIS) $(BIN_SCRIPTS)

include $(TESTBED_SRCDIR)/GNUmakerules

install: \
	$(addprefix $(INSTALL_BINDIR)/, $(BIN_SCRIPTS)) \
	$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS)) \
	$(addprefix $(INSTALL_LIBEXECDIR)/vis/, $(LIBEXEC_VIS))

31 32
post-install:

33 34 35 36 37 38
$(INSTALL_LIBEXECDIR)/vis/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_LIBEXECDIR)/vis
	$(INSTALL) $< $@

clean: