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
distclean: clean
rm -rf autom4te.cache
rm -f config.log config.status
rm -f pkgIndex.tcl
rm -f Makefile
.PHONY: all clean distclean