GNUmakefile 839 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 -L/usr/local/ssl/lib
LLDLIBS = -lcrypto -lcryptoX86 -lrsaX86  -lssl

OPTIMIZER = -g

TARGETS = crlgen pkgbootrl

default : $(TARGETS)

include $(PRDEPTH)/BBrules

exports install: default
	for TARG in $(TARGETS) ; do $(INSTALL) -F /usr/sbin $$TARG ; done
	./crlgen crl.dat.cprevoke crl.sys.cprevoke
	$(INSTALL) -m 444 -F /usr/host_data crl.sys.cprevoke
	./crlgen crl.dat.tsrevoke crl.sys.tsrevoke
	$(INSTALL) -m 444 -F /usr/host_data crl.sys.tsrevoke
	./crlgen crl.dat.norevoke crl.sys.norevoke
	$(INSTALL) -m 444 -F /usr/host_data crl.sys.norevoke
	$(INSTALL) -m 444 -F /usr/host_data -src crl_bpki.sys crl.sys

server-export:  default
	$(INSTALL) -m 444 -F /../export_headers pkgbootrl