2000-04-05 05:57:11 +08:00
|
|
|
#
|
2006-02-04 09:45:59 +08:00
|
|
|
# OpenSSL/crypto/dso/Makefile
|
2000-04-05 05:57:11 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= dso
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 22:45:02 +08:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
2000-04-05 05:57:11 +08:00
|
|
|
CFLAG=-g
|
2005-03-30 21:05:57 +08:00
|
|
|
MAKEFILE= Makefile
|
2000-04-05 05:57:11 +08:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
|
2006-04-12 05:34:21 +08:00
|
|
|
dso_openssl.c dso_win32.c dso_vms.c dso_beos.c
|
2000-04-05 05:57:11 +08:00
|
|
|
LIBOBJ= dso_dl.o dso_dlfcn.o dso_err.o dso_lib.o dso_null.o \
|
2006-04-12 05:34:21 +08:00
|
|
|
dso_openssl.o dso_win32.o dso_vms.o dso_beos.o
|
2000-04-05 05:57:11 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= dso.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2011-01-27 00:08:08 +08:00
|
|
|
$(ARX) $(LIB) $(LIBOBJ)
|
2001-03-09 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
2000-04-05 05:57:11 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 21:05:57 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
2000-04-05 05:57:11 +08:00
|
|
|
|
|
|
|
links:
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
|
|
|
|
install:
|
2005-05-16 06:23:26 +08:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
2004-11-03 07:55:01 +08:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
|
2000-04-05 05:57:11 +08:00
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2005-05-17 00:55:47 +08:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 21:25:12 +08:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
2000-04-05 05:57:11 +08:00
|
|
|
|
|
|
|
dclean:
|
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
|
2006-04-13 21:00:45 +08:00
|
|
|
dso_beos.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_beos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_beos.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
|
|
|
dso_beos.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_beos.o: ../../include/openssl/opensslconf.h
|
|
|
|
dso_beos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dso_beos.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dso_beos.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_beos.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_dl.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_dl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_dl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_dl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_dl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_dl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dso_dl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dso_dl.o: ../cryptlib.h dso_dl.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_dlfcn.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_dlfcn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_dlfcn.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_dlfcn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_dlfcn.o: ../../include/openssl/opensslconf.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_dlfcn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dso_dlfcn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dso_dlfcn.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_dlfcn.c
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
2001-02-20 00:06:34 +08:00
|
|
|
dso_err.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
|
|
|
dso_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dso_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dso_err.o: dso_err.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_lib.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_lib.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dso_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dso_lib.o: ../cryptlib.h dso_lib.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_null.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_null.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_null.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_null.o: ../../include/openssl/opensslconf.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dso_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dso_null.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_null.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_openssl.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_openssl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_openssl.o: ../../include/openssl/opensslconf.h
|
2000-04-05 05:57:11 +08:00
|
|
|
dso_openssl.o: ../../include/openssl/opensslv.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_openssl.o: ../../include/openssl/ossl_typ.h
|
2000-04-05 05:57:11 +08:00
|
|
|
dso_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2001-08-01 01:07:24 +08:00
|
|
|
dso_openssl.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_openssl.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_vms.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_vms.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_vms.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-09-16 06:12:53 +08:00
|
|
|
dso_vms.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_vms.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_vms.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dso_vms.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2011-03-23 08:11:32 +08:00
|
|
|
dso_vms.o: ../cryptlib.h ../vms_rms.h dso_vms.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dso_win32.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dso_win32.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dso_win32.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2000-06-13 20:59:38 +08:00
|
|
|
dso_win32.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dso_win32.o: ../../include/openssl/opensslconf.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dso_win32.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dso_win32.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dso_win32.o: ../../include/openssl/symhacks.h ../cryptlib.h dso_win32.c
|