Tomato 1.28
[tomato.git] / release / src / router / openssl / crypto / conf / Makefile.ssl
blobf49f3650e3900de2dcdfbf638e448ac04f1a8061
2 # SSLeay/crypto/conf/Makefile
5 DIR=    conf
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -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 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16 AR=             ar r
18 CFLAGS= $(INCLUDES) $(CFLAG)
20 GENERAL=Makefile
21 TEST=
22 APPS=
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c
27 LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o
29 SRC= $(LIBSRC)
31 EXHEADER= conf.h conf_api.h
32 HEADER= conf_def.h $(EXHEADER)
34 ALL=    $(GENERAL) $(SRC) $(HEADER)
36 top:
37         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39 all:    lib
41 lib:    $(LIBOBJ)
42         $(AR) $(LIB) $(LIBOBJ)
43         @echo You may get an error following this line.  Please ignore.
44         - $(RANLIB) $(LIB)
45         @touch lib
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
63 tags:
64         ctags $(SRC)
66 tests:
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
71 depend:
72         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
78 clean:
79         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
83 conf_api.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
84 conf_api.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
85 conf_api.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
86 conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
87 conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
88 conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
89 conf_def.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
90 conf_def.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
91 conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
92 conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslv.h
93 conf_def.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
94 conf_def.o: ../../include/openssl/symhacks.h conf_def.h
95 conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
96 conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/err.h
97 conf_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslv.h
98 conf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
99 conf_err.o: ../../include/openssl/symhacks.h
100 conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
101 conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
102 conf_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
103 conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
104 conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h