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