xref: /AOO41X/main/extensions/source/dbpilots/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
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
23PRJ=..$/..
24PRJINC=..$/inc
25
26PRJNAME=extensions
27TARGET=dbp
28ENABLE_EXCEPTIONS=TRUE
29VISIBILITY_HIDDEN=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  $(PRJ)$/util$/makefile.pmk
34
35# --- defines ------------------------------------------------------
36
37CDEFS+=-DCOMPMOD_NAMESPACE=dbp
38
39# --- Files --------------------------------------------------------
40
41CXXFILES=           dbptools.cxx    \
42                    gridwizard.cxx  \
43                    listcombowizard.cxx \
44                    optiongrouplayouter.cxx \
45                    commonpagesdbp.cxx  \
46                    groupboxwiz.cxx \
47                    wizardservices.cxx  \
48                    controlwizard.cxx   \
49                    moduledbp.cxx   \
50                    dbpservices.cxx
51
52SLOFILES=           $(SLO)$/dbptools.obj    \
53                    $(SLO)$/gridwizard.obj  \
54                    $(SLO)$/listcombowizard.obj \
55                    $(SLO)$/optiongrouplayouter.obj \
56                    $(SLO)$/commonpagesdbp.obj  \
57                    $(SLO)$/groupboxwiz.obj \
58                    $(SLO)$/wizardservices.obj  \
59                    $(SLO)$/controlwizard.obj   \
60                    $(SLO)$/moduledbp.obj   \
61                    $(SLO)$/dbpservices.obj
62
63
64SRS1NAME=$(TARGET)
65SRC1FILES=          gridpages.src   \
66                    commonpagesdbp.src  \
67                    dbpilots.src    \
68                    groupboxpages.src   \
69                    listcombopages.src
70
71RESLIB1NAME=dbp
72RESLIB1SRSFILES= $(SRS)$/dbp.srs
73
74SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
75SHL1VERSIONMAP=$(SOLARENV)/src/component.map
76
77SHL1STDLIBS= \
78        $(SVTOOLLIB) \
79        $(VCLLIB) \
80        $(TOOLSLIB) \
81        $(SVLLIB) \
82        $(SFXLIB)       \
83        $(DBTOOLSLIB) \
84                $(UNOTOOLSLIB) \
85        $(COMPHELPERLIB) \
86        $(CPPUHELPERLIB) \
87        $(CPPULIB) \
88        $(SALLIB)
89
90SHL1LIBS=       $(SLB)$/$(TARGET).lib
91SHL1IMPLIB=     i$(TARGET)
92SHL1DEPN=       $(SHL1LIBS)
93SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
94
95DEF1NAME=       $(SHL1TARGET)
96
97# --- Targets ------------------------------------------------------
98
99.INCLUDE :  target.mk
100
101ALLTAR : $(MISC)/dbp.component
102
103$(MISC)/dbp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
104        dbp.component
105    $(XSLTPROC) --nonet --stringparam uri \
106        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
107        $(SOLARENV)/bin/createcomponent.xslt dbp.component
108