GNUmakefile 659 Bytes
#!smake
#

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-I$(ROOT)/host_include -I/usr/include  -D_LANGUAGE_C
LCOPTS += -g -DINTEL_GCC -DX86_BUILD -Wall
OPTIMIZER=-O2
LLDLIBS = -lcrypto -lcryptoX86 -lssl

TARGETS = librsaX86.a

CFILES = util.c


default: $(TARGETS)

util.o:
	$(CCF) -L$(ROOT)/host_lib -c util.c  

headers:
	$(INSTALL) -m 444 -F /host_include -src util.h util.h

exports install: default headers
	$(INSTALL) -m 444 -F /host_lib -src $(TARGETS) librsaX86.a

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


$(TARGETS): %: %($(OBJECTS))
	ar cru $@ $?
	rm -f $?

LDIRT += $(TARGETS)

include $(COMMONRULES)