Ignore autogenerated file.
[openssl.git] / rsaref / Makefile.ssl
1 #
2 # SSLeay/rsaref/Makefile
3 #
4
5 DIR=    rsaref
6 TOP=    ..
7 CC=     cc
8 INCLUDES= -I../crypto -I../include
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 GENERAL=Makefile
19 TEST=
20 APPS=
21
22 LIB=$(TOP)/libRSAglue.a
23 LIBSRC= rsaref.c rsar_err.c
24 LIBOBJ= rsaref.o rsar_err.o
25
26 SRC= $(LIBSRC)
27
28 EXHEADER=       rsaref.h
29 HEADER= $(EXHEADER)
30
31 ALL=    $(GENERAL) $(SRC) $(HEADER)
32
33 top:
34         (cd ..; $(MAKE) DIRS=rsaref all)
35
36 all:    lib
37
38 lib:    $(LIBOBJ)
39         $(AR) $(LIB) $(LIBOBJ)
40         $(RANLIB) $(LIB)
41         @touch lib
42
43 files:
44         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45
46 links:
47         @$(TOP)/util/point.sh Makefile.ssl Makefile
48         @$(TOP)/util/mklink.sh ../include/openssl $(EXHEADER)
49         @$(TOP)/util/mklink.sh ../test $(TEST)
50         @$(TOP)/util/mklink.sh ../apps $(APPS)
51
52 install:
53
54 #       @for i in $(EXHEADER) ; \
55 #       do  \
56 #       (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
57 #       chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
58 #       done;
59
60 tags:
61         ctags $(SRC)
62
63 tests:
64
65 lint:
66         lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68 depend:
69         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
70
71 dclean:
72         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73         mv -f Makefile.new $(MAKEFILE)
74
75 clean:
76         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
79
80 rsar_err.o: ../include/openssl/bn.h ../include/openssl/crypto.h
81 rsar_err.o: ../include/openssl/err.h ../include/openssl/opensslconf.h
82 rsar_err.o: ../include/openssl/opensslv.h ../include/openssl/rsa.h
83 rsar_err.o: ../include/openssl/rsaref.h ../include/openssl/stack.h
84 rsaref.o: ../crypto/cryptlib.h ../include/openssl/bio.h ../include/openssl/bn.h
85 rsaref.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
86 rsaref.o: ../include/openssl/e_os.h ../include/openssl/err.h
87 rsaref.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
88 rsaref.o: ../include/openssl/rand.h ../include/openssl/rsa.h
89 rsaref.o: ../include/openssl/rsaref.h ../include/openssl/stack.h