Remove EXHEADER, TEST, APPS, links:, install: and uninstall: where relevant
[openssl.git] / crypto / buffer / Makefile
1 #
2 # OpenSSL/crypto/buffer/Makefile
3 #
4
5 DIR=    buffer
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= buffer.c buf_str.c buf_err.c
19 LIBOBJ= buffer.o buf_str.o buf_err.o
20
21 SRC= $(LIBSRC)
22
23 HEADER= 
24
25 ALL=    $(GENERAL) $(SRC) $(HEADER)
26
27 top:
28         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
29
30 all:    lib
31
32 lib:    $(LIBOBJ)
33         $(AR) $(LIB) $(LIBOBJ)
34         $(RANLIB) $(LIB) || echo Never mind.
35         @touch lib
36
37 files:
38         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
39
40 tags:
41         ctags $(SRC)
42
43 tests:
44
45 lint:
46         lint -DLINT $(INCLUDES) $(SRC)>fluff
47
48 depend:
49         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
50         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
51
52 dclean:
53         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
54         mv -f Makefile.new $(MAKEFILE)
55
56 clean:
57         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
58
59 # DO NOT DELETE THIS LINE -- make depend depends on it.
60
61 buf_err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
62 buf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
63 buf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
64 buf_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
65 buf_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
66 buf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
67 buf_err.o: buf_err.c
68 buf_str.o: ../../e_os.h ../../include/openssl/bio.h
69 buf_str.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
70 buf_str.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
71 buf_str.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
72 buf_str.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
73 buf_str.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
74 buf_str.o: ../../include/openssl/symhacks.h ../cryptlib.h buf_str.c
75 buffer.o: ../../e_os.h ../../include/openssl/bio.h
76 buffer.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
77 buffer.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
78 buffer.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
79 buffer.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
80 buffer.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
81 buffer.o: ../../include/openssl/symhacks.h ../cryptlib.h buffer.c