xref: /trunk/main/configmgr/prj/makefile.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*c9d49dbaSdamjan#**************************************************************
2*c9d49dbaSdamjan#
3*c9d49dbaSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*c9d49dbaSdamjan#  or more contributor license agreements.  See the NOTICE file
5*c9d49dbaSdamjan#  distributed with this work for additional information
6*c9d49dbaSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*c9d49dbaSdamjan#  to you under the Apache License, Version 2.0 (the
8*c9d49dbaSdamjan#  "License"); you may not use this file except in compliance
9*c9d49dbaSdamjan#  with the License.  You may obtain a copy of the License at
10*c9d49dbaSdamjan#
11*c9d49dbaSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*c9d49dbaSdamjan#
13*c9d49dbaSdamjan#  Unless required by applicable law or agreed to in writing,
14*c9d49dbaSdamjan#  software distributed under the License is distributed on an
15*c9d49dbaSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c9d49dbaSdamjan#  KIND, either express or implied.  See the License for the
17*c9d49dbaSdamjan#  specific language governing permissions and limitations
18*c9d49dbaSdamjan#  under the License.
19*c9d49dbaSdamjan#
20*c9d49dbaSdamjan#**************************************************************
21*c9d49dbaSdamjan
22*c9d49dbaSdamjan
23*c9d49dbaSdamjan
24*c9d49dbaSdamjanPRJ=..
25*c9d49dbaSdamjanTARGET=prj
26*c9d49dbaSdamjan
27*c9d49dbaSdamjan.INCLUDE : settings.mk
28*c9d49dbaSdamjan
29*c9d49dbaSdamjan.IF "$(VERBOSE)"!=""
30*c9d49dbaSdamjanVERBOSEFLAG :=
31*c9d49dbaSdamjan.ELSE
32*c9d49dbaSdamjanVERBOSEFLAG := -s
33*c9d49dbaSdamjan.ENDIF
34*c9d49dbaSdamjan
35*c9d49dbaSdamjan.IF "$(DEBUG)"!=""
36*c9d49dbaSdamjanDEBUG_ARGUMENT=DEBUG=$(DEBUG)
37*c9d49dbaSdamjan.ELIF "$(debug)"!=""
38*c9d49dbaSdamjanDEBUG_ARGUMENT=debug=$(debug)
39*c9d49dbaSdamjan.ELSE
40*c9d49dbaSdamjanDEBUG_ARGUMENT=
41*c9d49dbaSdamjan.ENDIF
42*c9d49dbaSdamjan
43*c9d49dbaSdamjanall:
44*c9d49dbaSdamjan    cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
45