remove gcc34
[dragonfly.git] / crypto / heimdal-0.6.3 / lib / des / Makefile.ssl
blobc415d393c74ea9d424b52c28d52cbbd24f366545
2 # SSLeay/crypto/des/Makefile
5 DIR=    des
6 TOP=    ../..
7 CC=     cc
8 CPP=    cc -E
9 INCLUDES=
10 CFLAG=-g
11 INSTALLTOP=/usr/local/ssl
12 MAKE=           make -f Makefile.ssl
13 MAKEDEPEND=     makedepend -fMakefile.ssl
14 MAKEFILE=       Makefile.ssl
15 DES_ENC=        des_enc.o
17 CFLAGS= $(INCLUDES) $(CFLAG)
19 GENERAL=Makefile des.org des_locl.org
20 TEST=destest.c
21 APPS=
23 LIB=$(TOP)/libcrypto.a
24 LIBSRC= cbc3_enc.c cbc_cksm.c cbc_enc.c  cfb64enc.c cfb_enc.c  \
25         ecb3_enc.c ecb_enc.c  ede_enc.c  enc_read.c enc_writ.c \
26         fcrypt.c   ncbc_enc.c ofb64enc.c ofb_enc.c  pcbc_enc.c \
27         qud_cksm.c rand_key.c read_pwd.c rpc_enc.c  set_key.c  \
28         xcbc_enc.c des_enc.c \
29         str2key.c  cfb64ede.c ofb64ede.c supp.c
31 LIBOBJ= set_key.o  ecb_enc.o  ede_enc.o  cbc_enc.o  cbc3_enc.o \
32         ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o  ofb64ede.o \
33         enc_read.o enc_writ.o fcrypt.o   ncbc_enc.o ofb64enc.o \
34         ofb_enc.o  str2key.o  pcbc_enc.o qud_cksm.o rand_key.o \
35         xcbc_enc.o ${DES_ENC} \
36         read_pwd.o rpc_enc.o  cbc_cksm.o supp.o
38 SRC= $(LIBSRC)
40 EXHEADER= des.h
41 HEADER= des_locl.h rpc_des.h podd.h sk.h spr.h des_ver.h $(EXHEADER)
43 ALL=    $(GENERAL) $(SRC) $(HEADER)
45 top:
46         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
48 all:    lib
50 lib:    $(LIBOBJ)
51         ar r $(LIB) $(LIBOBJ)
52         sh $(TOP)/util/ranlib.sh $(LIB)
53         @touch lib
55 asm/dx86-elf.o: asm/dx86-cpp.s asm/dx86unix.cpp
56         $(CPP) -DELF asm/dx86unix.cpp | as -o asm/dx86-elf.o
58 asm/dx86-sol.o: asm/dx86-cpp.s asm/dx86unix.cpp
59         $(CPP) -DSOL asm/dx86unix.cpp | as -o asm/dx86-sol.o
61 asm/dx86-out.o: asm/dx86-cpp.s asm/dx86unix.cpp
62         $(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o
64 asm/dx86bsdi.o: asm/dx86-cpp.s asm/dx86unix.cpp
65         $(CPP) -DBSDI asm/dx86unix.cpp | as -o asm/dx86bsdi.o
67 files:
68         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
70 links:
71         /bin/rm -f Makefile
72         $(TOP)/util/point.sh Makefile.ssl Makefile ;
73         /bin/rm -f des.doc
74         $(TOP)/util/point.sh ../../doc/des.doc des.doc ;
75         $(TOP)/util/mklink.sh ../../include $(EXHEADER)
76         $(TOP)/util/mklink.sh ../../test $(TEST)
77         $(TOP)/util/mklink.sh ../../apps $(APPS)
79 install: installs
81 installs:
82         @for i in $(EXHEADER) ; \
83         do  \
84         (cp $$i $(INSTALLTOP)/include/$$i; \
85         chmod 644 $(INSTALLTOP)/include/$$i ) \
86         done;
88 tags:
89         ctags $(SRC)
91 tests:
93 lint:
94         lint -DLINT $(INCLUDES) $(SRC)>fluff
96 depend:
97         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
99 dclean:
100         perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
101         mv -f Makefile.new $(MAKEFILE)
103 clean:
104         /bin/rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
106 errors:
108 # DO NOT DELETE THIS LINE -- make depend depends on it.