[darwinbuild-changes] [114] trunk/darwinxref/Makefile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:47:27 PDT 2006
Revision: 114
http://trac.macosforge.org/projects/darwinbuild/changeset/114
Author: ssen
Date: 2006-10-04 01:47:26 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Speed up build by not putting DBPlugin.h in compiler invocation,
since gcc was trying to PCH precompile it without any benefit.
Modified Paths:
--------------
trunk/darwinxref/Makefile
Modified: trunk/darwinxref/Makefile
===================================================================
--- trunk/darwinxref/Makefile 2005-07-29 00:51:28 UTC (rev 113)
+++ trunk/darwinxref/Makefile 2006-10-04 08:47:26 UTC (rev 114)
@@ -24,7 +24,7 @@
TCL_CFLAGS=-DHAVE_TCL_PLUGINS=1
TCL_LDFLAGS=-ltcl
-CFLAGS+=-ggdb $(TCL_CFLAGS) -DVERSION=\"$(shell cat ../VERSION)\" $(SQLITEINC)
+CFLAGS+=-g $(TCL_CFLAGS) -DVERSION=\"$(shell cat ../VERSION)\" $(SQLITEINC)
LDFLAGS+=-framework CoreFoundation $(TCL_LDFLAGS)
PLUGIN_CFLAGS=$(CFLAGS) -I.
PLUGIN_LDFLAGS=$(LDFLAGS) -bundle -bundle_loader darwinxref
@@ -71,13 +71,13 @@
$(SQLITELIB)
plugins/register.so: plugins/register.c DBPlugin.h
- cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) -lcrypto $^
+ cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) -lcrypto $<
plugins/%.so: plugins/%.c DBPlugin.h
- cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) $^
+ cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) $<
plugins-darwinports/%.so: plugins-darwinports/%.c DBPlugin.h
- cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) $^
+ cc -o $@ $(PLUGIN_CFLAGS) $(PLUGIN_LDFLAGS) $<
apple_plugins:
if [ -d plugins-apple ]; then \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/3cd39f1e/attachment.html
More information about the darwinbuild-changes
mailing list