build/system-inc.mk

Thu, 20 Dec 2007 19:04:14 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Thu, 20 Dec 2007 19:04:14 +0100
changeset 113
0f2da6be13b1
parent 102
c00694dbcde8
permissions
-rw-r--r--

Added prefix stuff

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