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