build/system-inc.mk

Thu, 06 Feb 2014 14:16:13 +0000

author
tuomov
date
Thu, 06 Feb 2014 14:16:13 +0000
changeset 117
c7ad4b23a277
parent 102
c00694dbcde8
permissions
-rw-r--r--

locale.h name seems to conflict with system locale.h name on some systems

# 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