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