GNUmakefile 565 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

OPTIMIZER = -g
LCOPTS += -Wall

TARGETS = mkCmd mkNonSecCmdh outCmd

default : $(TARGETS)

include $(PRDEPTH)/BBrules

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

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

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