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