Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (29 sloc) 1.169 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
# Makefile for eucalyptus/util
#
#

include ../Makedefs

all: misc.o data.o euca_auth.o euca_axis.o ipc.o windows-bundle.o euca_rootwrap euca_mountwrap

build: all

euca_rootwrap: euca_rootwrap.c
$(CC) $(CFLAGS) $(INCLUDES) -o euca_rootwrap euca_rootwrap.c

euca_mountwrap: euca_mountwrap.c
$(CC) $(CFLAGS) $(INCLUDES) -o euca_mountwrap euca_mountwrap.c

test: test.c ipc.o misc.o
$(CC) $(CFLAGS) $(INCLUDES) -o test test.c ipc.o misc.o data.o -lpthread $(LIBS) $(LDFLAGS)

test_misc: misc.c ../storage/diskutil.o ipc.o euca_auth.o
$(CC) $(CFLAGS) $(INCLUDES) -D_UNIT_TEST -o test_misc misc.c ../storage/diskutil.o ipc.o euca_auth.o -lpthread -lcrypto $(LIBS) $(LDFLAGS)

../storage/diskutil.o:
make -C ../storage

.c.o: $@
$(CC) -c -std=gnu99 $(CFLAGS) $(INCLUDES) $<

clean:
rm -rf *~ *.o test test_misc euca_rootwrap euca_mountwrap

distclean:
rm -rf config.h

install:
@$(INSTALL) -m 0755 euca_rootwrap $(DESTDIR)$(usrdir)/lib/eucalyptus/
@$(INSTALL) -m 0755 euca_mountwrap $(DESTDIR)$(usrdir)/lib/eucalyptus/

deploy:

uninstall:
@$(RM) -f $(DESTDIR)$(usrdir)/lib/eucalyptus/euca_rootwrap
@$(RM) -f $(DESTDIR)$(usrdir)/lib/eucalyptus/euca_mountwrap

Something went wrong with that request. Please try again.