xref: /aoo4110/main/forms/source/misc/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..
25PRJINC=..
26PRJNAME=forms
27TARGET=common
28
29ENABLE_EXCEPTIONS=TRUE
30#TARGETTYPE=GUI
31
32# --- Settings ----------------------------------
33
34.INCLUDE : settings.mk
35.INCLUDE: $(PRJ)$/makefile.pmk
36
37# --- Types -------------------------------------
38
39INCPRE+=$(SOLARINCDIR)$/offuh
40INCPRE*=$(INCCOM)$/$(TARGET)
41
42# --- Files -------------------------------------
43
44SLOFILES=	$(SLO)$/limitedformats.obj \
45			$(SLO)$/property.obj \
46			$(SLO)$/services.obj \
47			$(SLO)$/InterfaceContainer.obj \
48			$(SLO)$/ids.obj	\
49			$(SLO)$/frm_module.obj  \
50			$(SLO)$/frm_strings.obj \
51			$(SLO)$/listenercontainers.obj \
52			$(SLO)$/componenttools.obj \
53
54# --- Targets ----------------------------------
55
56.INCLUDE : target.mk
57
58ALLTAR : \
59        $(MISC)$/$(TARGET).don \
60
61$(SLOFILES) : $(MISC)$/$(TARGET).don
62
63$(MISC)$/$(TARGET).don : $(SOLARBINDIR)$/oovbaapi.rdb
64        +$(CPPUMAKER) -O$(INCCOM)$/$(TARGET) -BUCR $(SOLARBINDIR)$/oovbaapi.rdb -X$(SOLARBINDIR)$/types.rdb && echo > $@
65        echo $@
66
67