Update ooo320-m1
[ooovba.git] / setup_native / source / win32 / customactions / regpatchactivex / makefile.mk
blob69511c936f0eb760c82c9f4693947db848ad3b53
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.8 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..$/..
33 PRJNAME=setup_native
34 TARGET=regpatchactivex
35 USE_DEFFILE=TRUE
37 .IF "$(GUI)"=="WNT"
39 # --- Settings -----------------------------------------------------
41 # NO_DEFAULT_STL=TRUE
42 ENABLE_EXCEPTIONS=TRUE
44 .INCLUDE : settings.mk
46 STDSHL=
47 # SOLARINC!:=$(SOLARINC:s/stl//)
49 # --- Files --------------------------------------------------------
51 INCPRE+=.\Include
52 .DIRCACHE=NO
53 # CFLAGS+=-E
55 SLOFILES = $(SLO)$/regpatchactivex.obj
57 .IF "$(COM)"=="GCC"
58 SHL1STDLIBS += -lstdc++
59 .IF "$(MINGW_GCCLIB_EH)"=="YES"
60 SHL1STDLIBS += -lgcc_eh
61 .ENDIF
62 SHL1STDLIBS += -lgcc -lmingw32 -lmoldname -lmsvcrt
63 .ELSE
64 SHL1STDLIBS=
65 .ENDIF
67 SHL1STDLIBS+= $(KERNEL32LIB)\
68 $(USER32LIB)\
69 $(ADVAPI32LIB)\
70 $(SHELL32LIB)\
71 $(MSILIB)
72 .IF "$(COM)"!="GCC"
73 SHL1STDLIBS+= libcmt.lib
74 .ENDIF
77 SHL1LIBS = $(SLB)$/$(TARGET).lib
79 #SHL1TARGET = $(TARGET)$(DLLPOSTFIX)
80 SHL1TARGET = $(TARGET)
81 SHL1IMPLIB = i$(TARGET)
83 SHL1DEF = $(MISC)$/$(SHL1TARGET).def
84 SHL1DEPN = $(SLB)$/$(TARGET).lib
85 SHL1BASE = 0x1c000000
86 DEF1NAME=$(SHL1TARGET)
87 DEF1EXPORTFILE=exports.dxp
89 # --- Targets --------------------------------------------------------------
91 .INCLUDE : target.mk
93 # -------------------------------------------------------------------------
96 .ENDIF