Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 #! gmake
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 #######################################################################
8 # (1) Include initial platform-independent assignments (MANDATORY). #
9 #######################################################################
11 include manifest.mn
13 #######################################################################
14 # (2) Include "global" configuration information. (OPTIONAL) #
15 #######################################################################
17 include $(CORE_DEPTH)/coreconf/config.mk
19 #######################################################################
20 # (3) Include "component" configuration information. (OPTIONAL) #
21 #######################################################################
23 #######################################################################
24 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
25 #######################################################################
26 include ../platlibs.mk
28 ifdef USE_SYSTEM_ZLIB
29 OS_LIBS += $(ZLIB_LIBS)
30 else
31 EXTRA_LIBS += $(ZLIB_LIBS)
32 endif
34 #######################################################################
35 # (5) Execute "global" rules. (OPTIONAL) #
36 #######################################################################
38 include $(CORE_DEPTH)/coreconf/rules.mk
40 #######################################################################
41 # (6) Execute "component" rules. (OPTIONAL) #
42 #######################################################################
46 #######################################################################
47 # (7) Execute "local" rules. (OPTIONAL). #
48 #######################################################################
51 include ../platrules.mk
53 #
54 # Cancel the built-in implicit yacc and lex rules.
55 #
57 %.c: %.y
58 %.c: %.l