mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
38 lines
747 B
Makefile
38 lines
747 B
Makefile
# $Id$
|
|
|
|
include mk/common.mk
|
|
|
|
default: all
|
|
|
|
# Before we do anything else, make sure we have config.mk and an
|
|
# updated version.mk
|
|
|
|
required: mk/config.mk mk/version.mk
|
|
mk/config.mk:
|
|
@echo "Please run ./configure first."
|
|
@false
|
|
mk/version.mk: FORCE
|
|
@echo "Checking SVN revision..."
|
|
@./version.sh
|
|
FORCE:
|
|
|
|
# Now call the Makefile that'll really build
|
|
# OS X has its special Makefile that wraps to Xcode
|
|
|
|
-include mk/config.mk
|
|
ifneq ($(SYSTEM),Darwin)
|
|
MAKEARGS += -f mk/default.mk
|
|
else
|
|
MAKEARGS += -f mk/osx.mk
|
|
endif
|
|
|
|
all: required
|
|
@$(MAKE) $(MAKEARGS) all
|
|
clean: required
|
|
@$(MAKE) $(MAKEARGS) clean
|
|
install: all
|
|
@$(MAKE) $(MAKEARGS) install
|
|
package: all
|
|
@$(MAKE) $(MAKEARGS) package
|
|
package-release: all
|
|
@$(MAKE) $(MAKEARGS) package-release
|