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