new contrib
[notion/jeffpc.git] / build / system-inc.mk
blobf500ceee32be95f8ca4240c3b823476822f5e91d
1 # Use system-ac.mk if it exist, system-autodetect.mk otherwise.
3 ifndef TOPDIR
4 TOPDIR=.
5 endif
7 SYSTEM_MK = $(TOPDIR)/system-autodetect.mk
8 AC_SYSTEM_MK = $(TOPDIR)/build/ac/system-ac.mk
10 ifeq ($(AC_SYSTEM_MK),$(wildcard $(AC_SYSTEM_MK)))
11 # Using system-ac.mk
12 include $(AC_SYSTEM_MK)
13 else
14 # Not using system-ac.mk
15 include $(SYSTEM_MK)
16 endif
18 include $(TOPDIR)/build/libs.mk
20 -include $(TOPDIR)/system-local.mk