Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 125 lines (101 sloc) 5.282 kb
4643b9b7 »
2012-01-09 enhanced verify_helpers to look in euca-specific locations
1 # Makefile for eucalyptus/storage
7183c5b2 »
2009-01-06 from CVS
2 #
054a11a1 »
2012-07-17 Update GPL+BSD file headers
3 # Copyright 2009-2012 Eucalyptus Systems, Inc.
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; version 3 of the License.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see http://www.gnu.org/licenses/.
16 #
17 # Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
18 # CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
19 # additional information or have any questions.
20 #
21 # This file may incorporate work covered under the following copyright
22 # and permission notice:
23 #
24 # Software License Agreement (BSD License)
25 #
26 # Copyright (c) 2008, Regents of the University of California
27 # All rights reserved.
28 #
29 # Redistribution and use of this software in source and binary forms,
30 # with or without modification, are permitted provided that the
31 # following conditions are met:
32 #
33 # Redistributions of source code must retain the above copyright
34 # notice, this list of conditions and the following disclaimer.
35 #
36 # Redistributions in binary form must reproduce the above copyright
37 # notice, this list of conditions and the following disclaimer
38 # in the documentation and/or other materials provided with the
39 # distribution.
40 #
41 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
42 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
43 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
44 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
45 # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
46 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
47 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
48 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
49 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
50 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
51 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
52 # POSSIBILITY OF SUCH DAMAGE. USERS OF THIS SOFTWARE ACKNOWLEDGE
53 # THE POSSIBLE PRESENCE OF OTHER OPEN SOURCE LICENSED MATERIAL,
54 # COPYRIGHTED MATERIAL OR PATENTED MATERIAL IN THIS SOFTWARE,
55 # AND IF ANY SUCH MATERIAL IS DISCOVERED THE PARTY DISCOVERING
56 # IT MAY INFORM DR. RICH WOLSKI AT THE UNIVERSITY OF CALIFORNIA,
57 # SANTA BARBARA WHO WILL THEN ASCERTAIN THE MOST APPROPRIATE REMEDY,
58 # WHICH IN THE REGENTS' DISCRETION MAY INCLUDE, WITHOUT LIMITATION,
59 # REPLACEMENT OF THE CODE SO IDENTIFIED, LICENSING OF THE CODE SO
60 # IDENTIFIED, OR WITHDRAWAL OF THE CODE CAPABILITY TO THE EXTENT
61 # NEEDED TO COMPLY WITH ANY SUCH LICENSES OR RIGHTS.
7183c5b2 »
2009-01-06 from CVS
62
63 include ../Makedefs
64
d8ff4974 »
2012-08-03 config- and logging-related enhancements in C-land
65 EUCA_BLOBS_OBJS = diskutil.o map.o ../util/log.o ../util/misc.o ../util/ipc.o ../util/euca_auth.o
66 WCLIENT_OBJS = walrus.o http.o diskutil.o map.o ../util/log.o ../util/misc.o ../util/ipc.o ../util/euca_auth.o
67 TEST_BLOB_OBJS = diskutil.o map.o ../util/log.o ../util/misc.o ../util/ipc.o ../util/euca_auth.o
68 TEST_VBR_OBJS = iscsi.o blobstore.o walrus.o http.o diskutil.o ../util/hash.o ../util/log.o ../util/misc.o ../util/ipc.o ../util/euca_auth.o
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
69
70 STORAGE_LIBS = $(LDFLAGS) -lcurl -lssl -lcrypto -pthread -lpthread
71 TESTS = test_vbr test_blobstore
72 #EFENCE = -lefence
ec3f7289 »
2009-01-15 We had a too strict dependency on libvirt: fixed it (only NC depends …
73
47d3ee37 »
2012-03-22 moved imager out of storage
74 all: vbr.o backing.o storage-windows.o walrus.o diskutil.o map.o Wclient euca-blobs $(TESTS)
7183c5b2 »
2009-01-06 from CVS
75
76 build: all
77
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
78 euca-blobs: Makefile blobstore.c blobstore.h $(EUCA_BLOBS_OBJS)
79 $(CC) $(CFLAGS) $(INCLUDES) -D_EUCA_BLOBS blobstore.c -o euca-blobs $(EUCA_BLOBS_OBJS) $(STORAGE_LIBS) $(EFENCE)
7183c5b2 »
2009-01-06 from CVS
80
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
81 Wclient: Makefile Wclient.c $(WCLIENT_OBJS)
82 $(CC) $(CFLAGS) $(INCLUDES) Wclient.c -o Wclient $(WCLIENT_OBJS) $(STORAGE_LIBS) $(EFENCE)
62c6acd6 »
2009-01-27 max cache size support
83
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
84 test_blobstore: blobstore.o $(TEST_BLOB_OBJS)
85 $(CC) -g -rdynamic $(CFLAGS) $(INCLUDES) -D_UNIT_TEST blobstore.c -o test_blobstore $(TEST_BLOB_OBJS) $(STORAGE_LIBS) $(EFENCE)
cacd3170 »
2011-05-17 alloc_tree and implement_tree are there but can deadlock, creators ar…
86
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
87 test_vbr: vbr.o $(TEST_VBR_OBJS)
88 $(CC) -g -rdynamic $(CFLAGS) $(INCLUDES) -D_UNIT_TEST vbr.c -o test_vbr $(TEST_VBR_OBJS) $(STORAGE_LIBS) $(EFENCE)
8ea70856 »
2011-03-09 merged storage from dmitrii/eee-dev branch
89
c302eba8 »
2010-05-13 added uploading of non-VMDK files
90 test_url: http.c
91 $(CC) -D_UNIT_TEST -o test_url http.c
92
61431230 »
2012-03-22 fixing parallel build in storage/Makefile, cleaning it up a bit
93 %.o: %.c %.h
ca65fef6 »
2012-01-09 removed dependency on libvixDiskLib.so in euca_imager
94 $(CC) -c $(CFLAGS) $(INCLUDES) $<
7183c5b2 »
2009-01-06 from CVS
95
62c6acd6 »
2009-01-27 max cache size support
96 ../util/ipc.o: ../util/ipc.c ../util/ipc.h ../util/eucalyptus.h
97 make -C ../util
98
7183c5b2 »
2009-01-06 from CVS
99 ../util/misc.o: ../util/misc.c ../util/misc.h ../util/eucalyptus.h
100 make -C ../util
101
fabc1ff5 »
2012-01-09 removing dependencies from euca_vmdk binary
102 ../util/hash.o: ../util/hash.c ../util/hash.h ../util/misc.c ../util/misc.h ../util/eucalyptus.h
103 make -C ../util
104
7183c5b2 »
2009-01-06 from CVS
105 ../util/data.o: ../util/data.c ../util/data.h ../util/eucalyptus.h
106 make -C ../util
107
108 ../net/vnetwork.o: ../net/vnetwork.c
109 make -C ../net
110
111 ../util/euca_auth.o: ../util/euca_auth.c ../util/euca_auth.h
112 make -C ../util
113
114 clean:
47d3ee37 »
2012-03-22 moved imager out of storage
115 rm -rf *~ *.o Wclient euca-blobs $(TESTS)
7183c5b2 »
2009-01-06 from CVS
116
117 distclean:
118
47d3ee37 »
2012-03-22 moved imager out of storage
119 install:
120
7183c5b2 »
2009-01-06 from CVS
121 deploy:
122
116504e9 »
2009-10-27 Added uninstall target.
123 uninstall:
124
Something went wrong with that request. Please try again.