build/system-inc.mk

Tue, 17 Oct 2006 00:32:05 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 17 Oct 2006 00:32:05 +0200
changeset 103
76174c5f04b5
parent 102
c00694dbcde8
permissions
-rw-r--r--

Path fix

# Use system-ac.mk if it exist, system.mk otherwise.

ifndef TOPDIR
  TOPDIR=.
endif

SYSTEM_MK = $(TOPDIR)/system.mk
AC_SYSTEM_MK = $(TOPDIR)/build/ac/system-ac.mk

ifeq ($(AC_SYSTEM_MK),$(wildcard $(AC_SYSTEM_MK)))
  # Using system-ac.mk
  include $(AC_SYSTEM_MK)
else
  # Not using system-ac.mk
  include $(SYSTEM_MK)
endif

mercurial