xref: /AOO41X/main/embedserv/util/makefile.mk (revision 752c0af7a363384187ac405b16fce81a66637031)
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=..
25
26PRJNAME=embedserv
27TARGET=emser
28LIBTARGET=NO
29USE_DEFFILE=TRUE
30
31# --- Settings -----------------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35# --- Files --------------------------------------------------------
36
37.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
38
39SHL1TARGET= emser$(DLLPOSTFIX)
40
41SHL1IMPLIB= emserimp
42SHL1OBJS= \
43        $(SLO)$/register.obj \
44        $(SLO)$/servprov.obj \
45        $(SLO)$/docholder.obj \
46        $(SLO)$/ed_ipersiststr.obj \
47        $(SLO)$/ed_idataobj.obj \
48        $(SLO)$/ed_ioleobject.obj \
49        $(SLO)$/ed_iinplace.obj \
50        $(SLO)$/iipaobj.obj \
51        $(SLO)$/guid.obj \
52        $(SLO)$/esdll.obj \
53        $(SLO)$/intercept.obj \
54        $(SLO)$/syswinwrapper.obj \
55        $(SLO)$/tracker.obj
56
57SHL1STDLIBS=\
58        $(SALLIB)           \
59        $(CPPULIB)          \
60        $(CPPUHELPERLIB)    \
61        $(OLE32LIB)         \
62        $(GDI32LIB)         \
63        $(UUIDLIB)              \
64        $(OLEAUT32LIB)
65
66.IF "$(COM)"=="MSC"
67.IF "$(CCNUMVER)" >= "001300000000" && "$(CCNUMVER)" <= "001399999999"
68SHL1STDLIBS+=\
69        $(ADVAPI32LIB)  \
70        $(ATL_LIB)$/atls.lib
71.ENDIF
72
73.IF "$(WINDOWS_VISTA_PSDK)"!=""
74SHL1STDLIBS+=\
75        $(ADVAPI32LIB)  \
76        $(ATL_LIB)$/atls.lib
77.ENDIF # "$(WINDOWS_VISTA_PSDK)"!=""
78.ENDIF # "$(COM)"=="MSC"
79
80
81SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
82
83DEF1NAME=       $(SHL1TARGET)
84DEF1EXPORTFILE= exports.dxp
85
86.ENDIF
87
88# --- Targets -------------------------------------------------------------
89
90.INCLUDE :  target.mk
91
92
93
94ALLTAR : $(MISC)/emser.component
95
96$(MISC)/emser.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
97        emser.component
98    $(XSLTPROC) --nonet --stringparam uri \
99        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
100        $(SOLARENV)/bin/createcomponent.xslt emser.component
101