GNUmakefile 933 Bytes

PRDEPTH = ../..
include $(PRDEPTH)/BBdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include -I$(ROOT)/usr/include
GLDOPTS=-L$(ROOT)/host_lib
LLDLIBS = -lcryptoX86 -lrsaX86

OPTIMIZER = -g
LCOPTS += -Wall

TARGETS = sslrsa keygen certcheck tickcheck bundlecheck

default : $(TARGETS)

include $(PRDEPTH)/BBrules

exports install: default
	$(INSTALL) -F /usr/sbin $(TARGETS)

sslrsa: sslrsa.o 
	$(CCF) -L$(ROOT)/host_lib -o sslrsa sslrsa.o   -lcrypto  -lssl -lrsaX86 -lcryptoX86

keygen: keygen.o 
	$(CCF)  -L$(ROOT)/host_lib  -DUSE_MPI -o keygen keygen.o  -lcryptoX86 

certcheck: certcheck.o 
	$(CCF) -L$(ROOT)/host_lib -o certcheck certcheck.o   -lcrypto  -lssl -lrsaX86 -lcryptoX86

tickcheck: tickcheck.o 
	$(CCF) -L$(ROOT)/host_lib -o tickcheck tickcheck.o   -lcrypto  -lssl -lrsaX86 -lcryptoX86

bundlecheck: bundlecheck.o 
	$(CCF) -L$(ROOT)/host_lib -o bundlecheck bundlecheck.o   -lcrypto  -lssl -lrsaX86 -lcryptoX86