2 # OpenSSL/crypto/ct/Makefile
8 INCLUDES= -I.. -I$(TOP) -I../../include
13 CFLAGS= $(INCLUDES) $(CFLAG)
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= ct_lib.c ct_err.c
19 LIBOBJ= ct_lib.o ct_err.o
25 ALL= $(GENERAL) $(SRC) $(HEADER)
28 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35 $(AR) $(LIB) $(LIBOBJ)
36 $(RANLIB) $(LIB) || echo Never mind.
40 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
46 $(PERL) $(TOP)/util/mkerr.pl -conf ct.ec -hprefix internal/ -write *.c
49 lint -DLINT $(INCLUDES) $(SRC)>fluff
54 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
55 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
58 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
59 mv -f Makefile.new $(MAKEFILE)
62 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
64 # DO NOT DELETE THIS LINE -- make depend depends on it.