GNUmakefile.in 955 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved.
#

SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= sensors/powermon

include $(OBJDIR)/Makeconf

SBIN_STUFF	= powermon

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

include $(TESTBED_SRCDIR)/GNUmakerules

install: all script-install
	@echo "Don't forget to do a post-install as root"

boss-install: install

#
# Automate this part at some point.
# 
script-install:	$(addprefix $(INSTALL_SBINDIR)/, $(SBIN_STUFF))

post-install: 
	chmod 775 $(INSTALL_SBINDIR)

#
# Control node installation (okay, plastic)
#
control-install:

#
# Tip server installation
#
tipserv-install:

#
# Client side
#
client:
client-install: client

clean:	subdir-clean
	rm -f $(SBIN_STUFF)

subdir-clean:

distclean:	subdir-distclean

subdir-distclean: