1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
34 # --- Settings ----------------------------------
35 .IF
"$(GUI)" == "WNT" && "$(DISABLE_ACTIVEX)"==""
39 .INCLUDE
: settings.mk
41 .IF
"$(GUI)" == "WNT" && "$(DISABLE_ACTIVEX)"==""
48 .IF
"$(BUILD_X64)"!=""
52 INCPRE
+=$(foreach,i
,$(ATL_INCLUDE
) -I
$(i
)) \
55 # --- Files -------------------------------------
64 RCDEPN
=$(MISC
)$/envsettings.h
67 $(SLO
)$/so_activex.obj \
68 $(SLO
)$/SOActiveX.obj \
69 $(SLO
)$/SOComWindowPeer.obj \
70 $(SLO
)$/SODispatchInterceptor.obj \
71 $(SLO
)$/SOActionsApproval.obj \
85 .IF
"$(CCNUMVER)" > "001300000000"
86 SHL1STDLIBS
+= $(ATL_LIB
)$/atls.lib
96 #$(KERNEL32LIB) rpcndr.lib rpcns4.lib rpcrt4.lib
101 SHL1DEF
=$(TARGET
).def
102 SHL1RES
=$(RES
)$/$(TARGET
).res
106 .IF
"$(BUILD_X64)"!=""
107 # -------------------- x64 -----------------------
109 CDEFS_X64
+:=$(foreach,i
,$(CDEFS
) $(subst,-D_X86_
=1, $i))
115 $(SLO_X64
)$/so_activex.obj \
116 $(SLO_X64
)$/SOActiveX.obj \
117 $(SLO_X64
)$/SOComWindowPeer.obj \
118 $(SLO_X64
)$/SODispatchInterceptor.obj \
119 $(SLO_X64
)$/SOActionsApproval.obj \
120 $(SLO_X64
)$/StdAfx2.obj
122 SHL1TARGET_X64
=$(TARGET
)
138 SHL1OBJS_X64
=$(SLOFILES_X64
)
139 SHL1DEF_X64
=$(TARGET
).def
141 SHL1STDLIBS_X64
+= $(ATL_LIB
)$/amd64
$/atls.lib
143 .ENDIF
# "$(BUILD_X64)"!=""
145 # --- Targets ----------------------------------
147 .INCLUDE
: set_wntx64.mk
150 .INCLUDE
: tg_wntx64.mk
152 $(MISC
)$/envsettings.h
: makefile.mk
154 # it looks wrong; but rc likes it that way...
155 echo
"#define MISC .\..\$(INPATH)\misc" > $@