merge the formfield patch from ooo-build
[ooovba.git] / embedserv / util / makefile.mk
blob192ada413a37ea7e9540fc4ec83f314385e6ef20
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.17 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 PRJNAME=embedserv
35 TARGET=emser
36 LIBTARGET=NO
37 USE_DEFFILE=TRUE
39 # --- Settings -----------------------------------------------------------
41 .INCLUDE : settings.mk
43 # --- Files --------------------------------------------------------
45 .IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
47 SHL1TARGET= emser$(DLLPOSTFIX)
49 SHL1IMPLIB= emserimp
50 SHL1OBJS= \
51 $(SLO)$/register.obj \
52 $(SLO)$/servprov.obj \
53 $(SLO)$/docholder.obj \
54 $(SLO)$/ed_ipersiststr.obj \
55 $(SLO)$/ed_idataobj.obj \
56 $(SLO)$/ed_ioleobject.obj \
57 $(SLO)$/ed_iinplace.obj \
58 $(SLO)$/iipaobj.obj \
59 $(SLO)$/guid.obj \
60 $(SLO)$/esdll.obj \
61 $(SLO)$/intercept.obj \
62 $(SLO)$/syswinwrapper.obj \
63 $(SLO)$/tracker.obj
65 SHL1STDLIBS=\
66 $(SALLIB) \
67 $(CPPULIB) \
68 $(CPPUHELPERLIB) \
69 $(OLE32LIB) \
70 $(GDI32LIB) \
71 $(UUIDLIB) \
72 $(OLEAUT32LIB)
74 .IF "$(COM)"=="MSC"
75 .IF "$(CCNUMVER)" >= "001300000000" && "$(CCNUMVER)" <= "001399999999"
76 SHL1STDLIBS+=\
77 $(ADVAPI32LIB) \
78 $(ATL_LIB)$/atls.lib
79 .ENDIF
81 .IF "$(WINDOWS_VISTA_PSDK)"!=""
82 SHL1STDLIBS+=\
83 $(ADVAPI32LIB) \
84 $(ATL_LIB)$/atls.lib
85 .ENDIF # "$(WINDOWS_VISTA_PSDK)"!=""
86 .ENDIF # "$(COM)"=="MSC"
89 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
91 DEF1NAME= $(SHL1TARGET)
92 DEF1EXPORTFILE= exports.dxp
94 .ENDIF
96 # --- Targets -------------------------------------------------------------
98 .INCLUDE : target.mk