build/system-inc.mk

Fri, 15 Mar 2013 10:12:47 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 15 Mar 2013 10:12:47 +0000
changeset 116
5f66d3bb1c68
parent 102
c00694dbcde8
permissions
-rw-r--r--

Option help display line wrapping 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