makefile.mk (8fb1ee5a) makefile.mk (60773b3e)
1#**************************************************************
1#**************************************************************
2#
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
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#
10#
11# http://www.apache.org/licenses/LICENSE-2.0
11# http://www.apache.org/licenses/LICENSE-2.0
12#
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.
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#
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25PRJNAME=shell
26TARGET=shlxthdl
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29USE_DEFFILE=TRUE
30.IF "$(BUILD_X64)"!=""
31USE_DEFFILE_X64=TRUE
32.ENDIF
33NO_DEFAULT_STL=TRUE
34USE_STLP_DEBUG=
35
36# --- Settings -----------------------------------------------------
37
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25PRJNAME=shell
26TARGET=shlxthdl
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29USE_DEFFILE=TRUE
30.IF "$(BUILD_X64)"!=""
31USE_DEFFILE_X64=TRUE
32.ENDIF
33NO_DEFAULT_STL=TRUE
34USE_STLP_DEBUG=
35
36# --- Settings -----------------------------------------------------
37
38.INCLUDE : settings.mk
38.INCLUDE : settings.mk
39
40UWINAPILIB =
41UWINAPILIB_X64 =
42
43CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
44CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
45CDEFS+=-D_WIN32_IE=0x501
46

--- 11 unchanged lines hidden (view full) ---

58SHL1TARGET=$(TARGET)
59
60.IF "$(COM)"=="GCC"
61SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
62SHL1LIBS=
63.ELSE
64SHL1STDLIBS=
65SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
39
40UWINAPILIB =
41UWINAPILIB_X64 =
42
43CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
44CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
45CDEFS+=-D_WIN32_IE=0x501
46

--- 11 unchanged lines hidden (view full) ---

58SHL1TARGET=$(TARGET)
59
60.IF "$(COM)"=="GCC"
61SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
62SHL1LIBS=
63.ELSE
64SHL1STDLIBS=
65SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
66 $(SOLARLIBDIR)$/expat_xmlparse.lib\
67 $(SOLARLIBDIR)$/expat_xmltok.lib
66 $(SOLARLIBDIR)$/expat_xmlparse.lib\
67 $(SOLARLIBDIR)$/expat_xmltok.lib
68.ENDIF
69SHL1STDLIBS+=\
68.ENDIF
69SHL1STDLIBS+=\
70 $(OLEAUT32LIB)\
71 $(ADVAPI32LIB)\
72 $(OLE32LIB)\
73 $(UUIDLIB)\
74 $(SHELL32LIB)\
75 $(KERNEL32LIB)\
76 $(GDI32LIB)\
77 $(GDIPLUSLIB)
70 $(OLEAUT32LIB)\
71 $(ADVAPI32LIB)\
72 $(OLE32LIB)\
73 $(UUIDLIB)\
74 $(SHELL32LIB)\
75 $(KERNEL32LIB)\
76 $(GDI32LIB)\
77 $(GDIPLUSLIB)
78
79.IF "$(COM)"!="GCC"
80SHL1STDLIBS+=\
78
79.IF "$(COM)"!="GCC"
80SHL1STDLIBS+=\
81 msvcprt.lib
81 msvcprt.lib
82.ENDIF
83
84SHL1STDLIBS+=\
82.ENDIF
83
84SHL1STDLIBS+=\
85 $(SHLWAPILIB)
85 $(SHLWAPILIB)
86
87SHL1LIBS+=$(SLB)$/util.lib\
86
87SHL1LIBS+=$(SLB)$/util.lib\
88 $(SLB)$/ooofilereader.lib
88 $(SLB)$/ooofilereader.lib
89
90SHL1DEPN=
91
92SHL1OBJS=$(SLOFILES)
93SHL1DEF=$(MISC)$/$(SHL1TARGET).def
94
95SHL1RES=$(RES)$/$(TARGET).res
96

--- 13 unchanged lines hidden (view full) ---

110 $(SLO_X64)$/propsheets.obj\
111 $(SLO_X64)$/shlxthdl.obj\
112 $(SLO_X64)$/listviewbuilder.obj\
113 $(SLO_X64)$/document_statistic.obj\
114 $(SLO_X64)$/thumbviewer.obj\
115
116SHL1TARGET_X64=$(TARGET)
117SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
89
90SHL1DEPN=
91
92SHL1OBJS=$(SLOFILES)
93SHL1DEF=$(MISC)$/$(SHL1TARGET).def
94
95SHL1RES=$(RES)$/$(TARGET).res
96

--- 13 unchanged lines hidden (view full) ---

110 $(SLO_X64)$/propsheets.obj\
111 $(SLO_X64)$/shlxthdl.obj\
112 $(SLO_X64)$/listviewbuilder.obj\
113 $(SLO_X64)$/document_statistic.obj\
114 $(SLO_X64)$/thumbviewer.obj\
115
116SHL1TARGET_X64=$(TARGET)
117SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
118 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
119 $(SOLARLIBDIR_X64)$/expat_xmltok.lib
118 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
119 $(SOLARLIBDIR_X64)$/expat_xmltok.lib
120
121SHL1STDLIBS_X64+=\
120
121SHL1STDLIBS_X64+=\
122 $(OLEAUT32LIB_X64)\
123 $(ADVAPI32LIB_X64)\
124 $(OLE32LIB_X64)\
125 $(UUIDLIB_X64)\
126 $(SHELL32LIB_X64)\
127 $(KERNEL32LIB_X64)\
128 $(GDI32LIB_X64)\
129 $(USER32LIB_X64) \
130 $(GDIPLUSLIB_X64) \
131 $(MSVCRT_X64) \
132 $(MSVCPRT_X64) \
122 $(OLEAUT32LIB_X64)\
123 $(ADVAPI32LIB_X64)\
124 $(OLE32LIB_X64)\
125 $(UUIDLIB_X64)\
126 $(SHELL32LIB_X64)\
127 $(KERNEL32LIB_X64)\
128 $(GDI32LIB_X64)\
129 $(USER32LIB_X64) \
130 $(GDIPLUSLIB_X64) \
131 $(MSVCRT_X64) \
132 $(MSVCPRT_X64) \
133 $(OLDNAMESLIB_X64) \
133 $(OLDNAMESLIB_X64) \
134 msvcprt.lib
134 msvcprt.lib
135
136SHL1LIBS_X64+=$(SLB_X64)$/util.lib\
135
136SHL1LIBS_X64+=$(SLB_X64)$/util.lib\
137 $(SLB_X64)$/ooofilereader.lib
137 $(SLB_X64)$/ooofilereader.lib
138SHL1OBJS_X64=$(SLOFILES_X64)
139SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
140SHL1RES_X64=$(RES_X64)$/$(TARGET).res
141
142DEF1NAME_X64=$(SHL1TARGET_X64)
143DEF1EXPORTFILE_X64=exports.dxp
144.ENDIF # "$(BUILD_X64)"!=""
145
146# --- Targets ------------------------------------------------------
147
148.INCLUDE : set_wntx64.mk
149.INCLUDE : target.mk
150INCLUDE!:=$(subst,/stl, $(INCLUDE))
151
152.INCLUDE : tg_wntx64.mk
153
138SHL1OBJS_X64=$(SLOFILES_X64)
139SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
140SHL1RES_X64=$(RES_X64)$/$(TARGET).res
141
142DEF1NAME_X64=$(SHL1TARGET_X64)
143DEF1EXPORTFILE_X64=exports.dxp
144.ENDIF # "$(BUILD_X64)"!=""
145
146# --- Targets ------------------------------------------------------
147
148.INCLUDE : set_wntx64.mk
149.INCLUDE : target.mk
150INCLUDE!:=$(subst,/stl, $(INCLUDE))
151
152.INCLUDE : tg_wntx64.mk
153
154# vim: set noet sw=4 ts=4: