Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 86 lines (69 sloc) 2.496 kb
7183c5b2 »
2009-01-06 from CVS
1 # top-level Eucalyptus makefile
2 #
3 #
4
5 include Makedefs
6
7 # notes: storage has to preceed node and node has to preceed cluster
8 SUBDIRS = tools \
9 util \
10 net \
11 storage \
12 gatherlog \
13 node \
b1620742 »
2010-01-23 restore top-level Makefile to build clc
14 cluster \
15 clc
7183c5b2 »
2009-01-06 from CVS
16
bc054d2d »
2009-08-18 remove hidden dist target in makefile (it never worked anyway)
17 .PHONY: all clean distclean build
7183c5b2 »
2009-01-06 from CVS
18
19 all: build
20
21 help:
22 @echo; echo "Available targets:"
23 @echo " all this is the default target: it builds eucalyptus"
24 @echo " install install eucalyptus"
25 @echo " clean remove objects file and compile by-products"
26 @echo " distclean restore the source tree to a pristine state"
27 @echo
28
29
30 tags:
31 @echo making tags for emacs and vi
89bd9066 »
2010-05-12 small fixes
32 find cluster net node storage tools util -name "*.[chCH]" -print | xargs ctags
33 find cluster net node storage tools util -name "*.[chCH]" -print | xargs etags
7183c5b2 »
2009-01-06 from CVS
34
35 build: Makedefs
36 @for subdir in $(SUBDIRS); do \
37 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
38
39 deploy: build
40 @for subdir in $(SUBDIRS); do \
41 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
42
43 install: deploy
9198ce24 »
2010-01-04 DESTDIR retry
44 @$(INSTALL) -d $(DESTDIR)$(prefix)
45 @$(INSTALL) -d $(DESTDIR)$(etcdir)/eucalyptus/cloud.d
b19d115d »
2011-08-12 merged eee; added NC hooks
46 @$(INSTALL) -d $(DESTDIR)$(etcdir)/eucalyptus/nc-hooks
9198ce24 »
2010-01-04 DESTDIR retry
47 @$(INSTALL) -m 0644 VERSION $(DESTDIR)$(etcdir)/eucalyptus/eucalyptus-version
48 @$(INSTALL) -d $(DESTDIR)$(etcdir)/init.d
49 @$(INSTALL) -d $(DESTDIR)$(vardir)/run/eucalyptus/net
50 @$(INSTALL) -d $(DESTDIR)$(vardir)/lib/eucalyptus/keys
51 @$(INSTALL) -d $(DESTDIR)$(vardir)/lib/eucalyptus/CC
52 @$(INSTALL) -d $(DESTDIR)$(vardir)/log/eucalyptus
53 @$(INSTALL) -d $(DESTDIR)$(datarootdir)/eucalyptus
492df468 »
2010-05-12 added doc dir with libvirt-windows examples
54 @$(INSTALL) -d $(DESTDIR)$(datarootdir)/eucalyptus/doc
9198ce24 »
2010-01-04 DESTDIR retry
55 @$(INSTALL) -d $(DESTDIR)$(usrdir)/sbin
56 @$(INSTALL) -d $(DESTDIR)$(usrdir)/lib/eucalyptus
ad018a59 »
2011-01-17 RT: #1040: bash completion install rule requires "make install" to be…
57 @$(INSTALL) -d $(DESTDIR)$(etcdir)/bash_completion.d
7183c5b2 »
2009-01-06 from CVS
58 @for subdir in $(SUBDIRS); do \
59 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
60
116504e9 »
2009-10-27 Added uninstall target.
61 uninstall:
7771acfa »
2010-03-29 applied gdiff from 1.6.2-g
62 @$(RM) -f $(DESTDIR)$(etcdir)/eucalyptus/eucalyptus-version
116504e9 »
2009-10-27 Added uninstall target.
63 @for subdir in $(SUBDIRS); do \
64 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
65
7183c5b2 »
2009-01-06 from CVS
66 clean:
67 @for subdir in $(SUBDIRS); do \
68 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
69
70 distclean: clean
71 @for subdir in $(SUBDIRS); do \
72 (cd $$subdir && $(MAKE) $@) || exit $$? ; done
a7632c25 »
2009-07-27 We don't have a eucalyptus.spec.in anylonger
73 @rm -f config.cache config.log config.status Makedefs tags TAGS
7183c5b2 »
2009-01-06 from CVS
74 @# they where part of CLEAN
75 @rm -rf lib
76
77 Makedefs: Makedefs.in config.status
78 ./config.status
79
80 config.status: configure
81 @if test ! -x ./config.status; then \
82 echo "you have to run ./configure!"; exit 1; fi
83 ./config.status --recheck
84
3fb8db7c »
2009-01-17 got rid of compilation warnings in jni
85 # DO NOT DELETE
Something went wrong with that request. Please try again.