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
Line 
1.c.o:
2        ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${TCL_DEFS} ${SHLIB_CFLAGS} $< -o $@
3
4$(SHLIB_NAME):: ${OBJS}
5        ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS} ${MD5_LIBS} ${SQLITE3_LIBS}
6
7all:: ${SHLIB_NAME}
8
9clean::
10        rm -f ${OBJS} ${SHLIB_NAME} so_locations
11
12distclean:: clean
13
14install:: all
15        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
16        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
17        $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.