Mon, 29 Jan 2007 15:11:39 +0100
Clean-up and pending updates
45 | 1 | # Use system-ac.mk if it exist, system.mk otherwise. |
44 | 2 | |
3 | ifndef TOPDIR | |
4 | TOPDIR=. | |
5 | endif | |
6 | ||
102 | 7 | SYSTEM_MK = $(TOPDIR)/system.mk |
8 | AC_SYSTEM_MK = $(TOPDIR)/build/ac/system-ac.mk | |
9 | ||
10 | ifeq ($(AC_SYSTEM_MK),$(wildcard $(AC_SYSTEM_MK))) | |
45 | 11 | # Using system-ac.mk |
102 | 12 | include $(AC_SYSTEM_MK) |
44 | 13 | else |
45 | 14 | # Not using system-ac.mk |
102 | 15 | include $(SYSTEM_MK) |
44 | 16 | endif |
17 |