build/system-inc.mk

Tue, 17 Oct 2006 00:32:05 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 17 Oct 2006 00:32:05 +0200
changeset 103
76174c5f04b5
parent 102
c00694dbcde8
permissions
-rw-r--r--

Path 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