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

Mac Newbold's avatar
Mac Newbold committed
7
8
9
10
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
SUBDIR		= utils
11
UNIFIED         = @UNIFIED_BOSS_AND_OPS@
Mac Newbold's avatar
Mac Newbold committed
12
13
14

include $(OBJDIR)/Makeconf

15
16
SUBDIRS		= nsgen

17
BIN_SCRIPTS	= delay_config sshtb create_image node_admin link_config
Mac Newbold's avatar
Mac Newbold committed
18
SBIN_SCRIPTS	= vlandiff vlansync withadminprivs export_tables cvsupd.pl \
19
                  eventping grantnodetype import_commitlog dhcpd_wrapper \
20
		  opsreboot deletenode
21
LIBEXEC_SCRIPTS	= webcreateimage newnode webdeletenode
22

Mac Newbold's avatar
Mac Newbold committed
23
24
25
26
#
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
# 
27
all:	$(BIN_SCRIPTS) $(SBIN_SCRIPTS) $(LIBEXEC_SCRIPTS) $(SUBDIRS) firstuser
Mac Newbold's avatar
Mac Newbold committed
28
29
30
31

include $(TESTBED_SRCDIR)/GNUmakerules

install: $(addprefix $(INSTALL_BINDIR)/, $(BIN_SCRIPTS)) \
32
	$(addprefix $(INSTALL_SBINDIR)/, $(SBIN_SCRIPTS)) \
33
34
	$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS)) \
	subdir-install
Mac Newbold's avatar
Mac Newbold committed
35
36
37
38

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

41
42
43
44
#
# Automate this part at some point.
# 
subdir-install:
Mike Hibler's avatar
Mike Hibler committed
45
	@$(MAKE) -C nsgen install
46

Mike Hibler's avatar
Mike Hibler committed
47
48
49
50
clean:	subdir-clean

subdir-clean:
	@$(MAKE) -C nsgen clean