# $Id: Makefile 27967 2007-08-16 20:14:31Z sfiera@macports.org $
OBJS=       registry.o entry.o sql.o
STLIB_NAME=	cregistry.a

include ../../Mk/macports.autoconf.mk

all:: ${STLIB_NAME}

.c.o:
	${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${TCL_DEFS} ${SHLIB_CFLAGS} $< -o $@

${STLIB_NAME}:: ${OBJS}
	${STLIB_LD} ${STLIB_NAME} ${OBJS}

clean::
	rm -f ${STLIB_NAME} ${OBJS}

distclean:: clean

test:

install:: ${STLIB_NAME}
