xref: /trunk/main/ucbhelper/prj/makefile.mk (revision 6de2905b)
1*6de2905bSdamjan#**************************************************************
245ef6fe1SAndrew Rist#
345ef6fe1SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
445ef6fe1SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
545ef6fe1SAndrew Rist#  distributed with this work for additional information
645ef6fe1SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
745ef6fe1SAndrew Rist#  to you under the Apache License, Version 2.0 (the
845ef6fe1SAndrew Rist#  "License"); you may not use this file except in compliance
945ef6fe1SAndrew Rist#  with the License.  You may obtain a copy of the License at
1045ef6fe1SAndrew Rist#
1145ef6fe1SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
1245ef6fe1SAndrew Rist#
1345ef6fe1SAndrew Rist#  Unless required by applicable law or agreed to in writing,
1445ef6fe1SAndrew Rist#  software distributed under the License is distributed on an
1545ef6fe1SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1645ef6fe1SAndrew Rist#  KIND, either express or implied.  See the License for the
1745ef6fe1SAndrew Rist#  specific language governing permissions and limitations
1845ef6fe1SAndrew Rist#  under the License.
1945ef6fe1SAndrew Rist#
20*6de2905bSdamjan#**************************************************************
21b63233d8Sdamjan
22b63233d8Sdamjan
23b63233d8Sdamjan
24b63233d8SdamjanPRJ=..
25b63233d8SdamjanTARGET=prj
26b63233d8Sdamjan
27b63233d8Sdamjan.INCLUDE : settings.mk
28b63233d8Sdamjan
29b63233d8Sdamjan.IF "$(VERBOSE)"!=""
30b63233d8SdamjanVERBOSEFLAG :=
31b63233d8Sdamjan.ELSE
32b63233d8SdamjanVERBOSEFLAG := -s
33b63233d8Sdamjan.ENDIF
34b63233d8Sdamjan
35*6de2905bSdamjan.IF "$(DEBUG)"!=""
36*6de2905bSdamjanDEBUG_ARGUMENT=DEBUG=$(DEBUG)
37*6de2905bSdamjan.ELIF "$(debug)"!=""
38*6de2905bSdamjanDEBUG_ARGUMENT=debug=$(debug)
39*6de2905bSdamjan.ELSE
40*6de2905bSdamjanDEBUG_ARGUMENT=
41*6de2905bSdamjan.ENDIF
42*6de2905bSdamjan
43b63233d8Sdamjanall:
44*6de2905bSdamjan	cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
45