cosmetics
[tomato.git] / release / src / router / openssl / crypto / krb5 / Makefile.save
blob14077390d6923dfac00f407ae60ca2186d9fb4bb
2 # OpenSSL/krb5/Makefile
5 DIR=    krb5
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
13 CFLAGS= $(INCLUDES) $(CFLAG)
15 GENERAL=Makefile README
16 TEST=
17 APPS=
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= krb5_asn.c
22 LIBOBJ= krb5_asn.o
24 SRC= $(LIBSRC)
26 EXHEADER= krb5_asn.h
27 HEADER= $(EXHEADER)
29 ALL=    $(GENERAL) $(SRC) $(HEADER)
31 top:
32         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34 all:    lib
36 lib:    $(LIBOBJ)
37         $(AR) $(LIB) $(LIBOBJ)
38         $(RANLIB) $(LIB) || echo Never mind.
39         @touch lib
41 files:
42         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44 links:
45         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
46         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
47         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49 install:
50         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
51         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
52         do  \
53         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
54         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
55         done;
57 tags:
58         ctags $(SRC)
60 tests:
62 lint:
63         lint -DLINT $(INCLUDES) $(SRC)>fluff
65 depend:
66         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
67         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
69 dclean:
70         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
71         mv -f Makefile.new $(MAKEFILE)
73 clean:
74         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
76 # DO NOT DELETE THIS LINE -- make depend depends on it.
78 krb5_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
79 krb5_asn.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
80 krb5_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/krb5_asn.h
81 krb5_asn.o: ../../include/openssl/opensslconf.h
82 krb5_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
83 krb5_asn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
84 krb5_asn.o: ../../include/openssl/symhacks.h krb5_asn.c