update dev300-m58
[ooovba.git] / sal / textenc / makefile.mk
blob32cf61933b4fa4b9d7cee45bb63cccd9700d944b
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.13 $
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 = sal
34 TARGET = textenc
35 LIBTARGET=NO
37 .INCLUDE: settings.mk
39 CFLAGS+= $(LFS_CFLAGS)
40 CXXFLAGS+= $(LFS_CFLAGS)
42 SAL_OBJECTS = \
43 $(SLO)$/tencinfo.obj \
44 $(SLO)$/textcvt.obj \
45 $(SLO)$/textenc.obj
47 SAL_COMMON_OBJECTS = \
48 $(SLO)$/context.obj \
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 \
58 $(SLO)$/tcvtmb.obj \
59 $(SLO)$/tcvtutf7.obj \
60 $(SLO)$/tcvtutf8.obj \
61 $(SLO)$/tenchelp.obj \
62 $(SLO)$/unichars.obj
64 SAL_TABLES_OBJECTS = \
65 $(SLO)$/tables.obj
67 SLOFILES = $(SAL_OBJECTS) $(SAL_COMMON_OBJECTS) $(SAL_TABLES_OBJECTS)
69 SAL_OBJFILES = \
70 $(OBJ)$/tencinfo.obj \
71 $(OBJ)$/textcvt.obj \
72 $(OBJ)$/textenc.obj
74 SAL_COMMON_OBJFILES = \
75 $(OBJ)$/context.obj \
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 \
85 $(OBJ)$/tcvtmb.obj \
86 $(OBJ)$/tcvtutf7.obj \
87 $(OBJ)$/tcvtutf8.obj \
88 $(OBJ)$/tenchelp.obj \
89 $(OBJ)$/unichars.obj
91 SAL_TABLES_OBJFILES = \
92 $(OBJ)$/tables.obj
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"
100 NOOPTFILES = \
101 $(OBJ)$/textenc.obj \
102 $(SLO)$/textenc.obj \
103 $(OBJ)$/tables.obj \
104 $(SLO)$/tables.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)
115 .ELSE
116 CDEFS+=-DPLUGIN_NAME=$(DLLPRE)uno_sal_textenc$(DLLPOST).$(UDK_MAJOR)
117 .ENDIF
118 LIB2TARGET= $(SLB)$/textenc_tables.lib
119 LIB2OBJFILES= $(SAL_TABLES_OBJECTS) $(SAL_COMMON_OBJECTS)
121 .INCLUDE: target.mk