system-inc.mk

Sat, 14 May 2005 22:23:20 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sat, 14 May 2005 22:23:20 +0200
changeset 100
8ae0f0aa5a16
parent 45
73f7a32eb601
permissions
-rw-r--r--

Added some coercions to remove gcc complaints in snprintf_2.2.

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
45
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
7 ifeq ($(TOPDIR)/system-ac.mk,$(wildcard $(TOPDIR)/system-ac.mk))
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
8 # Using system-ac.mk
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
9 include $(TOPDIR)/system-ac.mk
44
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
10 else
45
73f7a32eb601 trunk: changeset 49
tuomov
parents: 44
diff changeset
11 # Not using system-ac.mk
44
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
12 include $(TOPDIR)/system.mk
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
13 endif
71d5a2dee8dc trunk: changeset 47
tuomov
parents:
diff changeset
14

mercurial