source: trunk/Makefile @ 265

Last change on this file since 265 was 265, checked in by titer, 15 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
3include mk/common.mk
4
5default: all
6
7# Before we do anything else, make sure we have config.mk and an
8# updated version.mk
9
10required: mk/config.mk mk/version.mk
11mk/config.mk:
12        @echo "Please run ./configure first."
13        @false
14mk/version.mk: FORCE
15        @echo "Checking SVN revision..."
16        @./version.sh
17FORCE:
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
23ifneq ($(SYSTEM),Darwin)
24REALMAKE = $(MAKE) -f mk/default.mk
25else
26REALMAKE = $(MAKE) -f mk/osx.mk
27endif
28
29all: required
30        @$(REALMAKE) all
31clean: required
32        @$(REALMAKE) clean
33install: required
34        @$(REALMAKE) install
35package: required
36        @$(REALMAKE) package
37package-release: required
38        @$(REALMAKE) package-release
Note: See TracBrowser for help on using the repository browser.