transmission/Makefile

39 lines
747 B
Makefile
Raw Normal View History

2006-07-16 19:39:23 +00:00
# $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)
2006-12-14 03:17:23 +00:00
MAKEARGS += -f mk/default.mk
2006-07-16 19:39:23 +00:00
else
2006-12-14 03:17:23 +00:00
MAKEARGS += -f mk/osx.mk
2006-07-16 19:39:23 +00:00
endif
all: required
2006-12-14 03:17:23 +00:00
@$(MAKE) $(MAKEARGS) all
2006-07-16 19:39:23 +00:00
clean: required
2006-12-14 03:17:23 +00:00
@$(MAKE) $(MAKEARGS) clean
install: all
@$(MAKE) $(MAKEARGS) install
package: all
@$(MAKE) $(MAKEARGS) package
package-release: all
@$(MAKE) $(MAKEARGS) package-release