[darwinbuild-changes] [62] trunk
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:42:44 PDT 2006
Revision: 62
http://trac.macosforge.org/projects/darwinbuild/changeset/62
Author: kevin
Date: 2006-10-04 01:42:43 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
- added common.mk to provide defaults for common variables
Modified Paths:
--------------
trunk/darwinbuild/Makefile
trunk/darwintrace/Makefile
trunk/darwinxref/Makefile
Added Paths:
-----------
trunk/common.mk
Added: trunk/common.mk
===================================================================
--- trunk/common.mk (rev 0)
+++ trunk/common.mk 2006-10-04 08:42:43 UTC (rev 62)
@@ -0,0 +1,14 @@
+###
+### Common makefile variables potentially set by autoconf
+###
+PREFIX?=/usr/local
+DESTDIR?=
+
+###
+###
+BINDIR=$(DESTDIR)$(PREFIX)/bin
+DATDIR=$(DESTDIR)$(PREFIX)/share
+INSTALL=install
+INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
+INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
+INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
Property changes on: trunk/common.mk
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/darwinbuild/Makefile
===================================================================
--- trunk/darwinbuild/Makefile 2005-07-11 02:54:47 UTC (rev 61)
+++ trunk/darwinbuild/Makefile 2006-10-04 08:42:43 UTC (rev 62)
@@ -1,13 +1,9 @@
+include ../common.mk
+
###
### Variables for the 'install' phase
###
-PREFIX=/usr/local
-BINDIR=$(PREFIX)/bin
-DATDIR=$(PREFIX)/share/darwinbuild
-INSTALL=install
-INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
-INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
-INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
+DATDIR:=$(DATDIR)/darwinbuild
all:
Modified: trunk/darwintrace/Makefile
===================================================================
--- trunk/darwintrace/Makefile 2005-07-11 02:54:47 UTC (rev 61)
+++ trunk/darwintrace/Makefile 2006-10-04 08:42:43 UTC (rev 62)
@@ -1,12 +1,9 @@
+include ../common.mk
+
###
### Variables for the 'install' phase
###
-PREFIX=/usr/local
-DATDIR=$(PREFIX)/share/darwinbuild
-INSTALL=install
-INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
-INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
-INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
+DATDIR:=$(DATDIR)/darwinbuild
all: darwintrace.dylib
Modified: trunk/darwinxref/Makefile
===================================================================
--- trunk/darwinxref/Makefile 2005-07-11 02:54:47 UTC (rev 61)
+++ trunk/darwinxref/Makefile 2006-10-04 08:42:43 UTC (rev 62)
@@ -1,3 +1,10 @@
+include ../common.mk
+
+###
+### Variables for the 'install' phase
+###
+DATDIR:=$(DATDIR)/darwinxref
+
SOURCES= \
DBDataStore.c \
DBPlugin.c \
@@ -22,17 +29,6 @@
PLUGIN_CFLAGS=$(CFLAGS) -I.
PLUGIN_LDFLAGS=$(LDFLAGS) -bundle -bundle_loader darwinxref
-###
-### Variables for the 'install' phase
-###
-PREFIX=/usr/local
-BINDIR=$(PREFIX)/bin
-DATDIR=$(PREFIX)/share/darwinxref
-INSTALL=install
-INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
-INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
-INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
-
all: \
darwinxref \
$(PLUGIN_SOURCES:c=so) \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/ab4405bb/attachment-0001.html
More information about the darwinbuild-changes
mailing list