[27521] trunk/base/src
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 6 13:12:40 PDT 2007
Revision: 27521
http://trac.macosforge.org/projects/macports/changeset/27521
Author: sfiera at macports.org
Date: 2007-08-06 13:12:40 -0700 (Mon, 06 Aug 2007)
Log Message:
-----------
Fix building of registry2.0
Modified Paths:
--------------
trunk/base/src/cregistry/Makefile
trunk/base/src/registry2.0/Makefile
Modified: trunk/base/src/cregistry/Makefile
===================================================================
--- trunk/base/src/cregistry/Makefile 2007-08-06 20:12:35 UTC (rev 27520)
+++ trunk/base/src/cregistry/Makefile 2007-08-06 20:12:40 UTC (rev 27521)
@@ -1,16 +1,19 @@
OBJS= registry.o entry.o sql.o
+STLIB_NAME= cregistry.a
include ../../Mk/macports.autoconf.mk
-include ../../Mk/macports.tea.mk
-.PHONY: test
+all:: ${STLIB_NAME}
-test:: ${SHLIB_NAME}
- ${TCLSH} tests/entry.tcl ${SHLIB_NAME}
+.c.o:
+ ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${TCL_DEFS} ${SHLIB_CFLAGS} $< -o $@
-all:: ${OBJS}
+${STLIB_NAME}:: ${OBJS}
+ ${STLIB_LD} ${STLIB_NAME} ${OBJS}
clean::
- rm -f ${OBJS} so_locations
+ rm -f ${STLIB_NAME} ${OBJS}
distclean:: clean
+
+install:: ${STLIB_NAME}
Modified: trunk/base/src/registry2.0/Makefile
===================================================================
--- trunk/base/src/registry2.0/Makefile 2007-08-06 20:12:35 UTC (rev 27520)
+++ trunk/base/src/registry2.0/Makefile 2007-08-06 20:12:40 UTC (rev 27521)
@@ -8,6 +8,8 @@
include ../../Mk/macports.autoconf.mk
include ../../Mk/macports.tea.mk
+LIBS+= ../cregistry/cregistry.a ${SQLITE3_LIBS}
+
.PHONY: test
test:: ${SHLIB_NAME}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070806/a4a6fd52/attachment.html
More information about the macports-changes
mailing list