Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (29 sloc) 1.176 kB
# Makefile for eucalyptus/util
#
#
include ../Makedefs
all: misc.o hash.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
Jump to Line
Something went wrong with that request. Please try again.