TclPKCS11

Artifact [5b44ffd369]
Login

Artifact [5b44ffd369]

Artifact 5b44ffd36954e902cea0976af3eb54c253166d9931ce12ebc0283092a02843a4:


CC = gcc
CFLAGS = -fPIC -DPIC -Wall
CPPFLAGS = -DTCL_USE_STUBS
SHFLAGS = -rdynamic -shared
LIBS = -ldl -ltclstub8.5 

all: tclpkcs11.so

pkcs11.h: pkcs11f.h pkcs11t.h
tclpkcs11.o: tclpkcs11.c pkcs11.h
tclpkcs11.so: tclpkcs11.o
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHFLAGS) -o tclpkcs11.so tclpkcs11.o $(LIBS)

clean:
	rm -f tclpkcs11.so tclpkcs11.o

distclean: clean

.PHONY: all clean distclean