[darwinbuild-changes] [149] trunk/darwinxref/plugins/dependencies.c
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:52:15 PDT 2006
Revision: 149
http://trac.macosforge.org/projects/darwinbuild/changeset/149
Author: ssen
Date: 2006-10-04 01:52:15 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
add a -staticlib dependency option
Modified Paths:
--------------
trunk/darwinxref/plugins/dependencies.c
Modified: trunk/darwinxref/plugins/dependencies.c
===================================================================
--- trunk/darwinxref/plugins/dependencies.c 2005-08-04 07:16:34 UTC (rev 148)
+++ trunk/darwinxref/plugins/dependencies.c 2006-10-04 08:52:15 UTC (rev 149)
@@ -53,6 +53,10 @@
CFStringRef types[] = { CFSTR("header"), NULL };
CFStringRef recursive[] = { NULL };
printDependencies(types, recursive, NULL, DBGetCurrentBuild(), project, 0);
+ } else if (CFEqual(type, CFSTR("-staticlib"))) {
+ CFStringRef types[] = { CFSTR("staticlib"), NULL };
+ CFStringRef recursive[] = { NULL };
+ printDependencies(types, recursive, NULL, DBGetCurrentBuild(), project, 0);
} else if (CFEqual(type, CFSTR("-lib"))) {
CFStringRef types[] = { CFSTR("lib"), NULL };
printDependencies(types, types, NULL, DBGetCurrentBuild(), project, 0);
@@ -63,7 +67,7 @@
}
static CFStringRef usage() {
- return CFRetain(CFSTR("-run | -build | -header | -lib <project>"));
+ return CFRetain(CFSTR("-run | -build | -header | -staticlib | -lib <project>"));
}
int initialize(int version) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/eb398dec/attachment-0001.html
More information about the darwinbuild-changes
mailing list