GNUmakefile.in 663 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#

SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= pelab/db

include $(OBJDIR)/Makeconf

14 15
USERSBIN_SCRIPTS = pelab_dbpush pelab_opspush.proxy
BOSSSBIN_SCRIPTS = pelab_opspush 
16

17
all:	$(BOSSSBIN_SCRIPTS) $(USERSBIN_SCRIPTS)
18 19 20

include $(TESTBED_SRCDIR)/GNUmakerules

21 22
install:$(addprefix $(INSTALL_SBINDIR)/, $(BOSSSBIN_SCRIPTS)) \
	$(addprefix $(INSTALL_DIR)/opsdir/sbin/, $(USERSBIN_SCRIPTS))
23 24 25 26 27 28 29 30 31

boss-install: install

clean:

$(INSTALL_DIR)/opsdir/sbin/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_DIR)/opsdir/sbin
	$(INSTALL) $< $@