Import OpenSSL-0.9.8i.
[dragonfly.git] / crypto / openssl-0.9.7d / crypto / ui / Makefile
blobba46951d1c39f01bb072f5fb3a382d9228dc0e24
2 # OpenSSL/crypto/ui/Makefile
5 DIR= ui
6 TOP= ../..
7 CC= cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE= make -f Makefile.ssl
14 MAKEDEPPROG= makedepend
15 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE= Makefile.ssl
17 AR= ar r
19 CFLAGS= $(INCLUDES) $(CFLAG)
21 GENERAL=Makefile
22 #TEST= uitest.c
23 TEST=
24 APPS=
26 COMPATSRC= ui_compat.c
27 COMPATOBJ= ui_compat.o
29 LIB=$(TOP)/libcrypto.a
30 LIBSRC= ui_err.c ui_lib.c ui_openssl.c ui_util.c $(COMPATSRC)
31 LIBOBJ= ui_err.o ui_lib.o ui_openssl.o ui_util.o $(COMPATOBJ)
33 SRC= $(LIBSRC)
35 EXHEADER= ui.h ui_compat.h
36 HEADER= $(EXHEADER) ui_locl.h
38 ALL= $(GENERAL) $(SRC) $(HEADER)
40 top:
41 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43 all: lib
45 lib: $(LIBOBJ)
46 $(AR) $(LIB) $(LIBOBJ)
47 $(RANLIB) $(LIB) || echo Never mind.
48 @touch lib
50 files:
51 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
53 links:
54 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
55 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
56 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
57 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59 install:
60 @for i in $(EXHEADER) ; \
61 do \
62 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
63 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64 done;
66 tags:
67 ctags $(SRC)
69 tests:
71 lint:
72 lint -DLINT $(INCLUDES) $(SRC)>fluff
74 depend:
75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
77 dclean:
78 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
79 mv -f Makefile.new $(MAKEFILE)
81 clean:
82 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
84 # DO NOT DELETE THIS LINE -- make depend depends on it.
86 ui_compat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
87 ui_compat.o: ../../include/openssl/opensslconf.h
88 ui_compat.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
89 ui_compat.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
90 ui_compat.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
91 ui_compat.o: ui_compat.c
92 ui_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
93 ui_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94 ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95 ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
96 ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97 ui_err.o: ../../include/openssl/ui.h ui_err.c
98 ui_lib.o: ../../e_os.h ../../include/openssl/bio.h
99 ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100 ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101 ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
102 ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103 ui_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 ui_lib.o: ../../include/openssl/ui.h ../cryptlib.h ui_lib.c ui_locl.h
105 ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h
106 ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107 ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108 ui_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
109 ui_openssl.o: ../../include/openssl/opensslv.h
110 ui_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111 ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
112 ui_openssl.o: ../cryptlib.h ui_locl.h ui_openssl.c
113 ui_util.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
114 ui_util.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
115 ui_util.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
116 ui_util.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
117 ui_util.o: ui_util.c