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=setup_native
26TARGET=lngpckinsthlp
27
28
29# --- Settings -----------------------------------------------------
30
31ENABLE_EXCEPTIONS=TRUE
32NO_DEFAULT_STL=TRUE
33DYNAMIC_CRT=
34USE_DEFFILE=TRUE
35
36.INCLUDE : settings.mk
37
38#Disable precompiled header
39CDEFS+=-Dnot_used_define_to_disable_pch
40
41# --- Files --------------------------------------------------------
42
43.IF "$(GUI)"=="WNT"
44
45.IF "$(USE_SYSTEM_STL)" != "YES" && "$(PRODUCT)" = ""
46CDEFS+=-D_DEBUG
47.ENDIF
48
49UWINAPILIB=
50
51SLOFILES =	$(SLO)$/lngpckinsthelper.obj \
52			$(SLO)$/respintest.obj \
53			$(SLO)$/checkrunningofficelanguagepack.obj
54
55STDSHL+=	\
56	$(ADVAPI32LIB) \
57	$(MSILIB)      \
58	$(SHELL32LIB)
59
60SHL1OBJS = $(SLOFILES)               \
61    $(SLO)$/seterror.obj
62
63.IF "$(COM)"=="GCC"
64STDSHL+=	\
65	$(KERNEL32LIB)\
66	-lmsvcrt
67.ENDIF
68
69#SHL1LIBS = $(SLB)$/$(TARGET).lib
70
71SHL1OBJS = $(SLOFILES)              \
72	$(SLO)$/registerextensions.obj  \
73    $(SLO)$/seterror.obj
74
75SHL1TARGET = $(TARGET)
76SHL1IMPLIB = i$(TARGET)
77
78SHL1DEF = $(MISC)$/$(SHL1TARGET).def
79SHL1DEPN = $(SLB)$/$(TARGET).lib
80SHL1BASE = 0x1c000000
81DEF1NAME=$(SHL1TARGET)
82DEF1EXPORTFILE=exports.dxp
83
84.ENDIF
85
86# --- Targets --------------------------------------------------------------
87
88.INCLUDE : target.mk
89
90# -------------------------------------------------------------------------
91
92
93