1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..$/..
29PRJNAME=setup_native
30TARGET=lngpckinsthlp
31
32
33# --- Settings -----------------------------------------------------
34
35ENABLE_EXCEPTIONS=TRUE
36NO_DEFAULT_STL=TRUE
37DYNAMIC_CRT=
38USE_DEFFILE=TRUE
39
40.INCLUDE : settings.mk
41
42.IF "$(USE_SYSTEM_STL)" != "YES"
43CFLAGS+=-D_STLP_USE_STATIC_LIB
44.ENDIF
45
46#Disable precompiled header
47CDEFS+=-Dnot_used_define_to_disable_pch
48
49# --- Files --------------------------------------------------------
50
51.IF "$(GUI)"=="WNT"
52
53UWINAPILIB=
54
55SLOFILES =	$(SLO)$/lngpckinsthelper.obj \
56			$(SLO)$/respintest.obj \
57			$(SLO)$/checkrunningofficelanguagepack.obj
58
59STDSHL+=	\
60	$(ADVAPI32LIB) \
61	$(MSILIB)      \
62	$(SHELL32LIB)
63
64.IF "$(USE_SYSTEM_STL)" != "YES"
65STDSHL+=$(LIBSTLPORTST)
66.ENDIF
67
68SHL1OBJS = $(SLOFILES)               \
69    $(SLO)$/seterror.obj
70
71.IF "$(COM)"=="GCC"
72STDSHL+=	\
73	$(KERNEL32LIB)\
74	-lmsvcrt
75.ENDIF
76
77#SHL1LIBS = $(SLB)$/$(TARGET).lib
78
79SHL1OBJS = $(SLOFILES)              \
80	$(SLO)$/registerextensions.obj  \
81    $(SLO)$/seterror.obj
82
83SHL1TARGET = $(TARGET)
84SHL1IMPLIB = i$(TARGET)
85
86SHL1DEF = $(MISC)$/$(SHL1TARGET).def
87SHL1DEPN = $(SLB)$/$(TARGET).lib
88SHL1BASE = 0x1c000000
89DEF1NAME=$(SHL1TARGET)
90DEF1EXPORTFILE=exports.dxp
91
92.ENDIF
93
94# --- Targets --------------------------------------------------------------
95
96.INCLUDE : target.mk
97
98# -------------------------------------------------------------------------
99
100
101