1160814Ssimon# 2160814Ssimon# OpenSSL/crypto/pqueue/Makefile 3160814Ssimon# 4160814Ssimon 5160814SsimonDIR= pqueue 6160814SsimonTOP= ../.. 7160814SsimonCC= cc 8160814SsimonINCLUDES= 9160814SsimonCFLAG=-g 10160814SsimonMAKEFILE= Makefile 11160814SsimonAR= ar r 12160814Ssimon 13160814SsimonCFLAGS= $(INCLUDES) $(CFLAG) 14160814Ssimon 15160814SsimonGENERAL=Makefile 16160814SsimonTEST= 17160814SsimonAPPS= 18160814Ssimon 19160814SsimonLIB=$(TOP)/libcrypto.a 20160814SsimonLIBSRC=pqueue.c 21160814SsimonLIBOBJ=pqueue.o 22160814Ssimon 23160814SsimonSRC= $(LIBSRC) 24160814Ssimon 25160814SsimonEXHEADER= pqueue.h pq_compat.h 26160814SsimonHEADER= $(EXHEADER) 27160814Ssimon 28160814SsimonALL= $(GENERAL) $(SRC) $(HEADER) 29160814Ssimon 30160814Ssimontop: 31160814Ssimon (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 32160814Ssimon 33160814Ssimonall: lib 34160814Ssimon 35160814Ssimonlib: $(LIBOBJ) 36194206Ssimon $(ARX) $(LIB) $(LIBOBJ) 37160814Ssimon $(RANLIB) $(LIB) || echo Never mind. 38160814Ssimon @touch lib 39160814Ssimon 40160814Ssimonfiles: 41160814Ssimon $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 42160814Ssimon 43160814Ssimonlinks: 44160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 45160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 46160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 47160814Ssimon 48160814Ssimoninstall: 49160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 50160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 51160814Ssimon do \ 52160814Ssimon (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 53160814Ssimon chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 54160814Ssimon done; 55160814Ssimon 56160814Ssimontags: 57160814Ssimon ctags $(SRC) 58160814Ssimon 59160814Ssimontests: 60160814Ssimon 61160814Ssimonlint: 62160814Ssimon lint -DLINT $(INCLUDES) $(SRC)>fluff 63160814Ssimon 64160814Ssimondepend: 65160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 66160814Ssimon $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 67160814Ssimon 68160814Ssimondclean: 69160814Ssimon $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 70160814Ssimon mv -f Makefile.new $(MAKEFILE) 71160814Ssimon 72160814Ssimonclean: 73160814Ssimon rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 74160814Ssimon 75160814Ssimon# DO NOT DELETE THIS LINE -- make depend depends on it. 76160814Ssimon 77160814Ssimonpqueue.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h 78160814Ssimonpqueue.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 79160814Ssimonpqueue.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 80160814Ssimonpqueue.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 81160814Ssimonpqueue.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 82160814Ssimonpqueue.o: ../../include/openssl/pq_compat.h ../../include/openssl/safestack.h 83160814Ssimonpqueue.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 84160814Ssimonpqueue.o: ../cryptlib.h pqueue.c pqueue.h 85