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=regpatchactivex
31USE_DEFFILE=TRUE
32
33.IF "$(GUI)"=="WNT"
34
35# --- Settings -----------------------------------------------------
36
37# NO_DEFAULT_STL=TRUE
38ENABLE_EXCEPTIONS=TRUE
39
40.INCLUDE : settings.mk
41
42STDSHL=
43# SOLARINC!:=$(SOLARINC:s/stl//)
44
45# --- Files --------------------------------------------------------
46
47INCPRE+=.\Include
48.DIRCACHE=NO
49# CFLAGS+=-E
50
51SLOFILES =	$(SLO)$/regpatchactivex.obj
52
53.IF "$(COM)"=="GCC"
54SHL1STDLIBS += -lstdc++
55.IF "$(MINGW_GCCLIB_EH)"=="YES"
56SHL1STDLIBS += -lgcc_eh
57.ENDIF
58SHL1STDLIBS += -lgcc -lmingw32 -lmoldname -lmsvcrt
59.ELSE
60SHL1STDLIBS=
61.ENDIF
62
63SHL1STDLIBS+=	$(KERNEL32LIB)\
64				$(USER32LIB)\
65				$(ADVAPI32LIB)\
66				$(SHELL32LIB)\
67				$(MSILIB)
68.IF "$(COM)"!="GCC"
69SHL1STDLIBS+=	libcmt.lib
70.ENDIF
71
72
73SHL1LIBS = $(SLB)$/$(TARGET).lib
74
75#SHL1TARGET = $(TARGET)$(DLLPOSTFIX)
76SHL1TARGET = $(TARGET)
77SHL1IMPLIB = i$(TARGET)
78
79SHL1DEF = $(MISC)$/$(SHL1TARGET).def
80SHL1DEPN = $(SLB)$/$(TARGET).lib
81SHL1BASE = 0x1c000000
82DEF1NAME=$(SHL1TARGET)
83DEF1EXPORTFILE=exports.dxp
84
85# --- Targets --------------------------------------------------------------
86
87.INCLUDE : target.mk
88
89# -------------------------------------------------------------------------
90
91
92.ENDIF
93
94