1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CC = @CC@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ @DEFS@
LDFLAGS =
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
all: tclpkcs11.@SHOBJEXT@
pkcs11.h: pkcs11f.h pkcs11t.h
tclpkcs11.o: tclpkcs11.c pkcs11.h
tclpkcs11.@SHOBJEXT@: tclpkcs11.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tclpkcs11.@SHOBJEXT@ tclpkcs11.o $(LIBS)
clean:
rm -f tclpkcs11.@SHOBJEXT@ tclpkcs11.o
rm -f tclpkcs11.@SHOBJEXT@.a tclpkcs11.@SHOBJEXT@.def
|
<
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
CC = @CC@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ @DEFS@
LDFLAGS =
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
all: tclpkcs11.@SHOBJEXT@
tclpkcs11.o: tclpkcs11.c pkcs11.h pkcs11f.h pkcs11t.h
$(CC) $(CPPFLAGS) $(CFLAGS) -o tclpkcs11.o -c tclpkcs11.c
tclpkcs11.@SHOBJEXT@: tclpkcs11.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tclpkcs11.@SHOBJEXT@ tclpkcs11.o $(LIBS)
clean:
rm -f tclpkcs11.@SHOBJEXT@ tclpkcs11.o
rm -f tclpkcs11.@SHOBJEXT@.a tclpkcs11.@SHOBJEXT@.def
|