1#
2# OpenSSL/fips/dh/Makefile
3#
4
5DIR=	dh
6TOP=	../..
7CC=	cc
8INCLUDES=
9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR=     /usr/local/ssl
12INSTALLTOP=/usr/local/ssl
13MAKEDEPPROG=	makedepend
14MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15MAKEFILE=	Makefile
16AR=		ar r
17
18CFLAGS= $(INCLUDES) $(CFLAG)
19
20GENERAL=Makefile
21TEST=
22APPS=
23
24LIB=$(TOP)/libcrypto.a
25LIBSRC=fips_dh_check.c fips_dh_gen.c fips_dh_key.c fips_dh_lib.c
26LIBOBJ=fips_dh_check.o fips_dh_gen.o fips_dh_key.o fips_dh_lib.o
27
28SRC= $(LIBSRC)
29
30EXHEADER=
31HEADER=	$(EXHEADER)
32
33ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35top:
36	(cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
37
38all:	lib
39
40lib:	$(LIBOBJ)
41	@echo $(LIBOBJ) > lib
42
43files:
44	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
45
46links:
47	@$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
48	@$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
49	@$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
50
51install:
52	@headerlist="$(EXHEADER)"; for i in $$headerlist; \
53	do  \
54	  (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55	  chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56	done
57
58tags:
59	ctags $(SRC)
60
61tests:
62
63fips_test:
64
65lint:
66	lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68depend:
69	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
70
71dclean:
72	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73	mv -f Makefile.new $(MAKEFILE)
74
75clean:
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
80fips_dh_check.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
81fips_dh_check.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
82fips_dh_check.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
83fips_dh_check.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
84fips_dh_check.o: ../../include/openssl/opensslconf.h
85fips_dh_check.o: ../../include/openssl/opensslv.h
86fips_dh_check.o: ../../include/openssl/ossl_typ.h
87fips_dh_check.o: ../../include/openssl/safestack.h
88fips_dh_check.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
89fips_dh_check.o: fips_dh_check.c
90fips_dh_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
91fips_dh_gen.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
92fips_dh_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
93fips_dh_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
94fips_dh_gen.o: ../../include/openssl/opensslconf.h
95fips_dh_gen.o: ../../include/openssl/opensslv.h
96fips_dh_gen.o: ../../include/openssl/ossl_typ.h
97fips_dh_gen.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
98fips_dh_gen.o: ../../include/openssl/symhacks.h fips_dh_gen.c
99fips_dh_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
100fips_dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
101fips_dh_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
102fips_dh_key.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
103fips_dh_key.o: ../../include/openssl/opensslconf.h
104fips_dh_key.o: ../../include/openssl/opensslv.h
105fips_dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
106fips_dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
107fips_dh_key.o: ../../include/openssl/symhacks.h fips_dh_key.c
108fips_dh_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
109fips_dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
110fips_dh_lib.o: ../../include/openssl/e_os2.h
111fips_dh_lib.o: ../../include/openssl/opensslconf.h
112fips_dh_lib.o: ../../include/openssl/opensslv.h
113fips_dh_lib.o: ../../include/openssl/ossl_typ.h
114fips_dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
115fips_dh_lib.o: ../../include/openssl/symhacks.h fips_dh_lib.c
116