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

$(SHLIB_NAME):: ${OBJS}
	${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${LIBS}

all:: ${SHLIB_NAME}

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

distclean:: clean
	rm -f config.h

install:: all
	mkdir -p ${INSTALLDIR}
	install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
	$(SILENT)../pkg_mkindex.tcl ${INSTALLDIR}

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

$(SHLIB_NAME):: ${OBJS} config.h
	${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${LIBS}

all:: ${SHLIB_NAME}

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

distclean:: clean
	rm -f config.h

install:: all
	mkdir -p ${INSTALLDIR}
	install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
	$(SILENT)../pkg_mkindex.tcl ${INSTALLDIR}

Make Pextlib.dylib depend on config.h
Make Pextlib.dylib depend on config.h

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@2837 d073be05-634f-4543-b044-5fe20cf6d1d6
