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