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