CC = @[email protected]
AR = @[email protected]
CFLAGS = @[email protected] @[email protected]
CPPFLAGS = @[email protected] [email protected]@ @[email protected]
LDFLAGS = @[email protected] @[email protected]
LIBS = @[email protected]
INSTALL = @[email protected]
PACKAGE_VERSION = @[email protected]
TCL_PACKAGE_PATH = @[email protected]
PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/tcltls$(PACKAGE_VERSION)
all: @[email protected]
[email protected]@: tls.o tlsBIO.o tlsIO.o tlsX509.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o [email protected]@ tls.o tlsBIO.o tlsIO.o tlsX509.o $(LIBS)
tcltls.a: tls.o tlsBIO.o tlsIO.o tlsX509.o
$(AR) rcu tcltls.a.new tls.o tlsBIO.o tlsIO.o tlsX509.o
mv tcltls.a.new tcltls.a
tls.o: @[email protected]/tls.c @[email protected]/tlsInt.h @[email protected]/tclOpts.h @[email protected]/tls.tcl.h
tlsBIO.o: @[email protected]/tlsBIO.c @[email protected]/tlsInt.h
tlsIO.o: @[email protected]/tlsIO.c @[email protected]/tlsInt.h
tlsX509.o: @[email protected]/tlsX509.c @[email protected]/tlsInt.h
@[email protected]/tls.tcl.h: tls.tcl
xxd -i < tls.tcl > '@sr[email protected]/tls.tcl.h.new'
mv '@[email protected]/tls.tcl.h.new' '@[email protected]/tls.tcl.h'
%.o: @[email protected]/%.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o "[email protected]" -c "$<"
install: @[email protected] pkgIndex.tcl
clean:
rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o
rm -f [email protected]@
rm -f tcltls.a.new tcltls.a
distclean: clean
rm -f config.log config.status
rm -f Makefile pkgIndex.tcl
mrproper: distclean
rm -f @[email protected]/tls.tcl.h
rm -f @[email protected]/configure @[email protected]/config.sub @[email protected]/config.guess @[email protected]/install-sh
rm -f @[email protected]/aclocal.m4
rm -rf @[email protected]/aclocal @[email protected]/autom4te.cache
.PHONY: all install clean distclean mrproper