GNUmakefile.in 849 Bytes
Newer Older
1
2
3
4
5
6
#
# Insert Copyright Here.
#
SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ..
7
SUBDIR		= sensors
8
9
10

include $(OBJDIR)/Makeconf

Kirk Webb's avatar
   
Kirk Webb committed
11
SUBDIRS	= slothd canaryd
12
13
14
15
16
17
18
19

all:	$(SUBDIRS)

include $(TESTBED_SRCDIR)/GNUmakerules

slothd:
	@$(MAKE) -C slothd all

Kirk Webb's avatar
   
Kirk Webb committed
20
21
22
canaryd:
	@$(MAKE) -C canaryd all

23
24
install: 
	@$(MAKE) -C slothd install
Kirk Webb's avatar
   
Kirk Webb committed
25
	@$(MAKE) -C canaryd install
26

27
28
client:
	@$(MAKE) -C slothd client
Kirk Webb's avatar
   
Kirk Webb committed
29
	@$(MAKE) -C canaryd client
30
31

client-install: client
32
	@$(MAKE) -C slothd client-install
Kirk Webb's avatar
   
Kirk Webb committed
33
	@$(MAKE) -C canaryd client-install
34

35
36
37
38
39
40
# mfs: same as client for now
mfs:
	@$(MAKE) -C slothd client
mfs-install: mfs
	@$(MAKE) -C slothd client-install

41
42
43
44
clean:		subdir-clean

subdir-clean:
	@$(MAKE) -C slothd clean
Kirk Webb's avatar
   
Kirk Webb committed
45
	@$(MAKE) -C canaryd clean
46
47
48
49
50

distclean:	subdir-distclean

subdir-distclean:
	@$(MAKE) -C slothd distclean
Kirk Webb's avatar
   
Kirk Webb committed
51
	@$(MAKE) -C canaryd distclean
52
53

.PHONY:	$(SUBDIRS)