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

45
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
1 # Use system-ac.mk if it exist, system.mk otherwise.
44
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
2
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
3 ifndef TOPDIR
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
4 TOPDIR=.
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
5 endif
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
6
102
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
7 SYSTEM_MK = $(TOPDIR)/system.mk
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
8 AC_SYSTEM_MK = $(TOPDIR)/build/ac/system-ac.mk
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
9
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
10 ifeq ($(AC_SYSTEM_MK),$(wildcard $(AC_SYSTEM_MK)))
45
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
11 # Using system-ac.mk
102
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
12 include $(AC_SYSTEM_MK)
44
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
13 else
45
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
14 # Not using system-ac.mk
102
c00694dbcde8 Updated locations of *.mk.
Tuomo Valkonen <tuomov@iki.fi>
parents: 45
diff changeset
15 include $(SYSTEM_MK)
44
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
16 endif
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
17

mercurial