[darwinbuild-changes] [17] trunk/darwinxref/Makefile

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:37:08 PDT 2006


Revision: 17
          http://trac.macosforge.org/projects/darwinbuild/changeset/17
Author:   kevin
Date:     2006-10-04 01:37:08 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- added support for Tcl plugins

Modified Paths:
--------------
    trunk/darwinxref/Makefile

Modified: trunk/darwinxref/Makefile
===================================================================
--- trunk/darwinxref/Makefile	2005-06-17 23:51:41 UTC (rev 16)
+++ trunk/darwinxref/Makefile	2006-10-04 08:37:08 UTC (rev 17)
@@ -1,12 +1,18 @@
 SOURCES= \
 	DBDataStore.c \
 	DBPlugin.c \
+	DBTclPlugin.c \
 	cfutils.c \
 	main.c
 
 PLUGIN_SOURCES=$(wildcard plugins/*.c)
-CFLAGS= -ggdb 
-LDFLAGS=-framework CoreFoundation
+
+### todo: --with-tcl-plugins configuration
+TCL_CFLAGS=-DHAVE_TCL_PLUGINS=1
+TCL_LDFLAGS=-ltcl
+
+CFLAGS= -ggdb $(TCL_CFLAGS)
+LDFLAGS=-framework CoreFoundation $(TCL_LDFLAGS)
 PLUGIN_CFLAGS=$(CFLAGS) -I.
 PLUGIN_LDFLAGS=$(LDFLAGS) -bundle -bundle_loader darwinxref
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/11842754/attachment.html


More information about the darwinbuild-changes mailing list