]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/objects/Makefile.in
Templatize util/domd
[thirdparty/openssl.git] / crypto / objects / Makefile.in
CommitLineData
d10dac11
RS
1#
2# OpenSSL/crypto/objects/Makefile
3#
4
5DIR= objects
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10MAKEFILE= Makefile
11AR= ar r
12PERL= perl
13
14CFLAGS= $(INCLUDES) $(CFLAG)
15
16GENERAL=Makefile README
17
18LIB=$(TOP)/libcrypto.a
19LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c obj_xref.c
20LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o obj_xref.o
21
22SRC= $(LIBSRC)
23
24HEADER= obj_dat.h obj_xref.h obj_lcl.h
25
26ALL= $(GENERAL) $(SRC) $(HEADER)
27
28top:
29 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
30
31all: obj_dat.h obj_xref.h lib
32
33lib: $(LIBOBJ)
34 $(AR) $(LIB) $(LIBOBJ)
35 $(RANLIB) $(LIB) || echo Never mind.
36 @touch lib
37
38obj_dat.h: obj_dat.pl ../../include/openssl/obj_mac.h
39 $(PERL) obj_dat.pl ../../include/openssl/obj_mac.h obj_dat.h
40
41# objects.pl both reads and writes obj_mac.num
42../../include/openssl/obj_mac.h: objects.pl objects.txt obj_mac.num
43 $(PERL) objects.pl objects.txt obj_mac.num ../../include/openssl/obj_mac.h
44 @sleep 1; touch ../../include/openssl/obj_mac.h; sleep 1
45
46obj_xref.h: objxref.pl obj_xref.txt obj_mac.num
47 $(PERL) objxref.pl obj_mac.num obj_xref.txt > obj_xref.h
48 @sleep 1; touch obj_xref.h; sleep 1
49
50files:
51 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
52
8cef1212 53generate: obj_dat.h ../../include/openssl/obj_mac.h obj_xref.h
d10dac11
RS
54
55depend:
ced2c2c5 56 $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
d10dac11 57
d10dac11
RS
58clean:
59 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
60
61# DO NOT DELETE THIS LINE -- make depend depends on it.