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

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

include $(OBJDIR)/Makeconf

14
15
SUBDIRS	= lib sched tbgen example trafgen delay-agent nsetrafgen stated \
		program-agent
16
17
18
19
20
21
22
23
24
25
26

all:	$(SUBDIRS)

include $(TESTBED_SRCDIR)/GNUmakerules

lib:
	@$(MAKE) -C lib all

sched:
	@$(MAKE) -C sched all

27
28
29
tbgen:
	@$(MAKE) -C tbgen all

30
31
example:
	@$(MAKE) -C example all
32

Mike Hibler's avatar
Mike Hibler committed
33
trafgen:
34
	$(SRCDIR)/trafgen/tg-install $(SRCDIR)/trafgen
Mike Hibler's avatar
Mike Hibler committed
35
36
	@$(MAKE) -C trafgen all

37
nsetrafgen:
38
	@$(MAKE) -C nsetrafgen all
39

40
41
42
delay-agent:
	@$(MAKE) -C delay-agent all

43
44
45
program-agent:
	@$(MAKE) -C program-agent all

46
47
48
stated:
	@$(MAKE) -C stated all

49
50
51
install: 
	@$(MAKE) -C lib install
	@$(MAKE) -C sched install
52
	@$(MAKE) -C tbgen install
53
	@$(MAKE) -C stated install
54
55
56

client-install:
	@$(MAKE) -C nsetrafgen client-install
57
58
59
60
	@$(MAKE) -C delay-agent client-install
	@$(MAKE) -C program-agent client-install
	@$(MAKE) -C tbgen client-install
	@$(MAKE) -C trafgen client-install
61

62
63
64
control-install: 
	@$(MAKE) -C tbgen control-install

65
66
67
68
69
clean:		subdir-clean

subdir-clean:
	@$(MAKE) -C lib clean
	@$(MAKE) -C sched clean
70
	@$(MAKE) -C tbgen clean
71
	@$(MAKE) -C example clean
Mike Hibler's avatar
Mike Hibler committed
72
	@$(MAKE) -C trafgen clean
73
	@$(MAKE) -C delay-agent clean
74
	@$(MAKE) -C program-agent clean
75
76
77
78

distclean:	subdir-distclean

subdir-distclean:
79
80
81
82
	@$(MAKE) -C lib distclean
	@$(MAKE) -C sched distclean
	@$(MAKE) -C tbgen distclean
	@$(MAKE) -C example distclean
Mike Hibler's avatar
Mike Hibler committed
83
	@$(MAKE) -C trafgen distclean
84
	@$(MAKE) -C delay-agent distclean
85
	@$(MAKE) -C program-agent distclean
86
87
88

.PHONY:	$(SUBDIRS)