source: trunk/base/Mk/dports.tea.mk @ 25770

Last change on this file since 25770 was 25770, checked in by sfiera@…, 13 years ago

Build MacPorts with sqlite3 support in preparation for GSoC work

  • Include sqlite-3.1.3 for Panther; link against static lib
  • Install Tcl sqlite3 to ${prefix}/share/darwinports/Tcl if it's built, thus, it's always available
  • Rename ambiguous configure option "--with-sqlite3" to "--with-tcl-sqlite3"
  • Build our_included_packages before MacPorts so the static lib is there in later stages
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 517 bytes
RevLine 
[2620]1.c.o:
[2818]2        ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${TCL_DEFS} ${SHLIB_CFLAGS} $< -o $@
[2620]3
[3314]4$(SHLIB_NAME):: ${OBJS}
[25770]5        ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS} ${MD5_LIBS} ${SQLITE3_LIBS}
[2620]6
7all:: ${SHLIB_NAME}
8
9clean::
[2941]10        rm -f ${OBJS} ${SHLIB_NAME} so_locations
[2620]11
[2770]12distclean:: clean
13
[13442]14install:: all
[9814]15        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
[2999]16        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
[3628]17        $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.