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

SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= protogeni/lib

include $(OBJDIR)/Makeconf

Leigh B. Stoller's avatar
Leigh B. Stoller committed
14
LIB_SCRIPTS     = GeniDB.pm GeniUser.pm GeniSAClient.pm \
Leigh B. Stoller's avatar
Leigh B. Stoller committed
15
		  GeniSlice.pm GeniSA.pm GeniCM.pm GeniCMClient.pm \
16
		  GeniTicket.pm GeniSliver.pm GeniCredential.pm \
Leigh B. Stoller's avatar
Leigh B. Stoller committed
17
		  GeniComponent.pm GeniCH.pm GeniCHClient.pm GeniEmulab.pm \
18
19
20
21
		  GeniAuthority.pm GeniCertificate.pm GeniAggregate.pm
		  
SCRIPTS		= test.pl node.pl test2.pl addauthority
OPS_LIBS	= GeniCMClient.pm GeniSAClient.pm GeniCHClient.pm
22
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:	$(LIB_SCRIPTS) $(SCRIPTS)
28
29
30

include $(TESTBED_SRCDIR)/GNUmakerules

31
32
install: $(addprefix $(INSTALL_LIBDIR)/, $(LIB_SCRIPTS)) \
	 $(addprefix $(INSTALL_DIR)/opsdir/lib/, $(OPS_LIBS))
33
34
35
36
37
38

control-install:

clean:
	rm -f *.o core $(LIB_SCRIPTS)

39
40
41
42
$(INSTALL_DIR)/opsdir/lib/%: %
	@echo "Installing $<"
	-mkdir -p $(INSTALL_DIR)/opsdir/lib
	$(INSTALL) $< $@
43