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