a3aadb2d9c
Reviewed-by: Rich Salz <rsalz@openssl.org>
87 lines
3 KiB
Makefile
87 lines
3 KiB
Makefile
#
|
|
# OpenSSL/crypto/ui/Makefile
|
|
#
|
|
|
|
DIR= ui
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
CFLAG=-g
|
|
MAKEFILE= Makefile
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC= ui_err.c ui_lib.c ui_openssl.c ui_util.c
|
|
LIBOBJ= ui_err.o ui_lib.o ui_openssl.o ui_util.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
HEADER= ui_locl.h
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
@touch lib
|
|
|
|
files:
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
|
|
|
tags:
|
|
ctags $(SRC)
|
|
|
|
tests:
|
|
|
|
lint:
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
depend:
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
dclean:
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
clean:
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
ui_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
|
ui_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ui_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ui_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_err.c
|
|
ui_lib.o: ../../e_os.h ../../include/openssl/bio.h
|
|
ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
|
ui_lib.o: ../include/internal/cryptlib.h ui_lib.c ui_locl.h
|
|
ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h
|
|
ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
ui_openssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ui_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ui_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
|
ui_openssl.o: ../include/internal/cryptlib.h ui_locl.h ui_openssl.c
|
|
ui_util.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
ui_util.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
ui_util.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
ui_util.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
ui_util.o: ../../include/openssl/ui.h ui_locl.h ui_util.c
|