GNUmakefile
659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!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)