100 lines
2.9 KiB
Makefile
100 lines
2.9 KiB
Makefile
# =========================================================================
|
|
# This makefile was generated by
|
|
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
|
# Do not modify, all changes will be overwritten!
|
|
# =========================================================================
|
|
|
|
|
|
@MAKE_SET@
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
INSTALL = @INSTALL@
|
|
SHARED_LD_MODULE_CC = @SHARED_LD_MODULE_CC@
|
|
SO_SUFFIX_MODULE = @SO_SUFFIX_MODULE@
|
|
PIC_FLAG = @PIC_FLAG@
|
|
STRIP = @STRIP@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DIR = @INSTALL_DIR@
|
|
BK_DEPS = @BK_DEPS@
|
|
DLLPREFIX_MODULE = @DLLPREFIX_MODULE@
|
|
LIBS = @LIBS@
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
### Variables: ###
|
|
|
|
DESTDIR =
|
|
BCRYPT_CFLAGS = -I../../source/include $(PIC_FLAG) $(CPPFLAGS) $(CFLAGS)
|
|
BCRYPT_OBJECTS = \
|
|
../../bin/bcrypt_bcrypt.o \
|
|
../../bin/bcrypt_blowfish.o \
|
|
../../bin/bcrypt_endian.o \
|
|
../../bin/bcrypt_keys.o \
|
|
../../bin/bcrypt_rwfile.o \
|
|
../../bin/bcrypt_wrapbf.o \
|
|
../../bin/bcrypt_wrapzl.o
|
|
|
|
### Conditionally set variables: ###
|
|
|
|
@COND_DEPS_TRACKING_1@CCC = $(BK_DEPS) $(CC)
|
|
@COND_DEPS_TRACKING_0@CCC = $(CC)
|
|
|
|
### Targets: ###
|
|
|
|
all: ../../bin/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE)
|
|
|
|
install: all install_bcrypt
|
|
|
|
uninstall: uninstall_bcrypt
|
|
|
|
install-strip: install
|
|
$(STRIP) $(DESTDIR)/usr/local/lib/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE)
|
|
|
|
clean:
|
|
rm -rf ../../bin/.deps ../../bin/.pch
|
|
rm -f ../../bin/*.o
|
|
rm -f ../../bin/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE)
|
|
|
|
distclean: clean
|
|
rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
|
|
|
../../bin/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE): $(BCRYPT_OBJECTS)
|
|
$(SHARED_LD_MODULE_CC) $@ $(BCRYPT_OBJECTS) $(LDFLAGS) $(LIBS)
|
|
|
|
install_bcrypt:
|
|
$(INSTALL_DIR) $(DESTDIR)/usr/local/lib
|
|
$(INSTALL_PROGRAM) ../../bin/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE) $(DESTDIR)/usr/local/lib
|
|
|
|
uninstall_bcrypt:
|
|
rm -f $(DESTDIR)/usr/local/lib/$(DLLPREFIX_MODULE)bcrypt.$(SO_SUFFIX_MODULE)
|
|
|
|
../../bin/bcrypt_bcrypt.o: ../../source/src/bcrypt.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/bcrypt.c
|
|
|
|
../../bin/bcrypt_blowfish.o: ../../source/src/blowfish.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/blowfish.c
|
|
|
|
../../bin/bcrypt_endian.o: ../../source/src/endian.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/endian.c
|
|
|
|
../../bin/bcrypt_keys.o: ../../source/src/keys.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/keys.c
|
|
|
|
../../bin/bcrypt_rwfile.o: ../../source/src/rwfile.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/rwfile.c
|
|
|
|
../../bin/bcrypt_wrapbf.o: ../../source/src/wrapbf.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/wrapbf.c
|
|
|
|
../../bin/bcrypt_wrapzl.o: ../../source/src/wrapzl.c
|
|
$(CCC) -c -o $@ $(BCRYPT_CFLAGS) ../../source/src/wrapzl.c
|
|
|
|
|
|
# Include dependency info, if present:
|
|
@IF_GNU_MAKE@-include .deps/*.d
|
|
|
|
.PHONY: all install uninstall clean distclean install_bcrypt uninstall_bcrypt
|