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=..$/..$/..$/..
25PRJNAME=shell
26TARGET=thumbviewer
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :	settings.mk
33
34CFLAGS+=-DWIN32_LEAN_AND_MEAN -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
35#CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
36CDEFS+=-D_WIN32_IE=0x501
37
38# --- Files --------------------------------------------------------
39
40SLOFILES=$(SLO)$/$(TARGET).obj
41
42.IF "$(BUILD_X64)"!=""
43# ----------------- x64 ------------------------
44CFLAGS_X64+=-DWIN32_LEAN_AND_MEAN -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
45CDEFS_X64+=-D_WIN32_IE=0x501
46
47SLOFILES_X64=$(SLO_X64)$/$(TARGET).obj
48.ENDIF # "$(BUILD_X64)"!=""
49
50
51# --- Targets ------------------------------------------------------
52
53.INCLUDE :	set_wntx64.mk
54.INCLUDE :	target.mk
55INCLUDE!:=$(subst,/stl, $(INCLUDE))
56
57.INCLUDE :	tg_wntx64.mk
58
59# vim: set noet sw=4 ts=4:
60