Last change
on this file since 265 was
265,
checked in by titer, 17 years ago
|
Split and moved makefiles into a seperate folder, fixes and speed-up to
the retrieving of the SVN revision, OS X packages now show the revision
if this isn't a release build
|
-
Property svn:keywords set to
Date Rev Author Id
|
File size:
736 bytes
|
Line | |
---|
1 | # $Id: Makefile 265 2006-05-31 12:54:53Z titer $ |
---|
2 | |
---|
3 | include mk/common.mk |
---|
4 | |
---|
5 | default: all |
---|
6 | |
---|
7 | # Before we do anything else, make sure we have config.mk and an |
---|
8 | # updated version.mk |
---|
9 | |
---|
10 | required: mk/config.mk mk/version.mk |
---|
11 | mk/config.mk: |
---|
12 | @echo "Please run ./configure first." |
---|
13 | @false |
---|
14 | mk/version.mk: FORCE |
---|
15 | @echo "Checking SVN revision..." |
---|
16 | @./version.sh |
---|
17 | FORCE: |
---|
18 | |
---|
19 | # Now call the Makefile that'll really build |
---|
20 | # OS X has its special Makefile that wraps to Xcode |
---|
21 | |
---|
22 | -include mk/config.mk |
---|
23 | ifneq ($(SYSTEM),Darwin) |
---|
24 | REALMAKE = $(MAKE) -f mk/default.mk |
---|
25 | else |
---|
26 | REALMAKE = $(MAKE) -f mk/osx.mk |
---|
27 | endif |
---|
28 | |
---|
29 | all: required |
---|
30 | @$(REALMAKE) all |
---|
31 | clean: required |
---|
32 | @$(REALMAKE) clean |
---|
33 | install: required |
---|
34 | @$(REALMAKE) install |
---|
35 | package: required |
---|
36 | @$(REALMAKE) package |
---|
37 | package-release: required |
---|
38 | @$(REALMAKE) package-release |
---|
Note: See
TracBrowser
for help on using the repository browser.