1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
39 CFLAGS
+= $(LFS_CFLAGS
)
40 CXXFLAGS
+= $(LFS_CFLAGS
)
43 $(SLO
)$/tencinfo.obj \
47 SAL_COMMON_OBJECTS
= \
49 $(SLO
)$/convertbig5hkscs.obj \
50 $(SLO
)$/converter.obj \
51 $(SLO
)$/converteuctw.obj \
52 $(SLO
)$/convertgb18030.obj \
53 $(SLO
)$/convertiso2022cn.obj \
54 $(SLO
)$/convertiso2022jp.obj \
55 $(SLO
)$/convertiso2022kr.obj \
56 $(SLO
)$/convertsinglebytetobmpunicode.obj \
57 $(SLO
)$/tcvtbyte.obj \
59 $(SLO
)$/tcvtutf7.obj \
60 $(SLO
)$/tcvtutf8.obj \
61 $(SLO
)$/tenchelp.obj \
64 SAL_TABLES_OBJECTS
= \
67 SLOFILES
= $(SAL_OBJECTS
) $(SAL_COMMON_OBJECTS
) $(SAL_TABLES_OBJECTS
)
70 $(OBJ
)$/tencinfo.obj \
74 SAL_COMMON_OBJFILES
= \
76 $(OBJ
)$/convertbig5hkscs.obj \
77 $(OBJ
)$/converter.obj \
78 $(OBJ
)$/converteuctw.obj \
79 $(OBJ
)$/convertgb18030.obj \
80 $(OBJ
)$/convertiso2022cn.obj \
81 $(OBJ
)$/convertiso2022jp.obj \
82 $(OBJ
)$/convertiso2022kr.obj \
83 $(OBJ
)$/convertsinglebytetobmpunicode.obj \
84 $(OBJ
)$/tcvtbyte.obj \
86 $(OBJ
)$/tcvtutf7.obj \
87 $(OBJ
)$/tcvtutf8.obj \
88 $(OBJ
)$/tenchelp.obj \
91 SAL_TABLES_OBJFILES
= \
94 OBJFILES
= $(SAL_OBJFILES
) $(SAL_COMMON_OBJFILES
) $(SAL_TABLES_OBJFILES
)
96 # Optimization off on Solaris Intel due to internal compiler error; to be
97 # reevaluated after compiler upgrade:
98 .IF
"$(OS)$(CPU)" == "SOLARISI"
101 $(OBJ
)$/textenc.obj \
102 $(SLO
)$/textenc.obj \
106 .ENDIF
# OS, CPU, SOLARISI
108 LIB1TARGET
= $(SLB
)$/$(TARGET
).lib
109 LIB1OBJFILES
= $(SAL_OBJECTS
) $(SAL_COMMON_OBJECTS
)
110 OBJTARGET
=$(LB
)$/$(TARGET
).lib
112 # be nicer to avoid DLLPRE
113 .IF
"$(GUI)" == "WNT"
114 CDEFS
+=-DPLUGIN_NAME
=$(DLLPRE
)uno_sal_textenc
$(UDK_MAJOR
)$(DLLPOST
)
116 CDEFS
+=-DPLUGIN_NAME
=$(DLLPRE
)uno_sal_textenc
$(DLLPOST
).
$(UDK_MAJOR
)
118 LIB2TARGET
= $(SLB
)$/textenc_tables.lib
119 LIB2OBJFILES
= $(SAL_TABLES_OBJECTS
) $(SAL_COMMON_OBJECTS
)