char array should be null terminated
[LibreOffice.git] / jvmfwk / source / makefile.mk
blob76ae22de6a44296f7a3be2a45e4a15832a9d1478
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ = ..
29 PRJNAME = jvmfwk
30 FRAMEWORKLIB=jvmfwk
31 TARGET = $(FRAMEWORKLIB)
32 ENABLE_EXCEPTIONS = TRUE
34 .IF "$(OS)" != "WNT"
35 UNIXVERSIONNAMES = UDK
36 .ENDIF # WNT
38 .INCLUDE: settings.mk
40 .IF "$(SYSTEM_LIBXML)" == "YES"
41 CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
42 .ENDIF
44 UNOUCROUT = $(OUT)$/inc
46 SLOFILES = \
47 $(SLO)$/framework.obj \
48 $(SLO)$/libxmlutil.obj \
49 $(SLO)$/fwkutil.obj \
50 $(SLO)$/elements.obj \
51 $(SLO)$/fwkbase.obj
54 .IF "$(UNIXVERSIONNAMES)" == ""
55 SHL1TARGET = $(FRAMEWORKLIB)$(UDK_MAJOR)
56 .ELSE # UNIXVERSIONNAMES
57 SHL1TARGET = $(FRAMEWORKLIB)
58 .ENDIF # UNIXVERSIONNAMES
60 SHL1DEPN=
61 .IF "$(COM)" == "MSC"
62 SHL1IMPLIB = i$(FRAMEWORKLIB)
63 .ELSE
64 SHL1IMPLIB = $(FRAMEWORKLIB)
65 .ENDIF
66 SHL1LIBS = $(SLB)$/$(TARGET).lib
67 SHL1STDLIBS = $(CPPUHELPERLIB) $(SALLIB) $(LIBXML2LIB)
68 SHL1RPATH = URELIB
70 .IF "$(OS)" == "WNT"
71 SHL1STDLIBS += $(ADVAPI32LIB)
72 .ENDIF # WNT
74 SHL1VERSIONMAP = framework.map
75 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
76 DEF1NAME = $(SHL1TARGET)
78 .IF "$(GUI)"=="UNX"
79 RCFILE=$(BIN)$/jvmfwk3rc
80 .ELIF "$(GUI)"=="WNT"
81 RCFILE=$(BIN)$/jvmfwk3.ini
82 .END
85 .INCLUDE: target.mk
86 $(RCFILE): jvmfwk3rc
87 -$(COPY) $< $@
89 ALLTAR: \
90 $(RCFILE)