Update ooo320-m1
[ooovba.git] / binfilter / bf_sd / util / makefile.mk
blob08217802f5d8dc791dd4fba3d67f49712afd161b
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.20 $
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 EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
33 PRJ=..$/..
34 BFPRJ=..
36 PRJNAME=binfilter
37 TARGET=sdraw3
39 NO_HIDS=TRUE
41 # --- Settings -----------------------------------------------------------
43 .INCLUDE : settings.mk
44 INC+= -I$(PRJ)$/inc$/bf_sd
46 .IF "$(GUI)"=="WIN"
47 LINKFLAGS+=/PACKCODE:65500 /SEG:16000 /NOE /NOD /MAP
48 MAPSYM=tmapsym
49 .ENDIF
51 .IF "$(COM)"=="ICC"
52 LINKFLAGS+=/SEGMENTS:512 /PACKD:32768
53 .ENDIF
55 # --- Resourcen ----------------------------------------------------
57 RESLIB1NAME=bf_sd
58 RESLIB1SRSFILES=\
59 $(SRS)$/sd_app.srs $(SRS)$/sd_core.srs
61 # --- StarDraw DLL
63 SHL1TARGET= bf_sd$(DLLPOSTFIX)
64 SHL1VERSIONMAP= bf_sd.map
65 SHL1IMPLIB= bf_sdi
67 # static libraries
68 SHL1STDLIBS= $(BFSCHLIB) $(BFSCLIB) $(BFSMLIB)
70 # dynamic libraries
71 SHL1STDLIBS+= \
72 $(BFSVXLIB) \
73 $(LEGACYSMGRLIB) \
74 $(BFSO3LIB) \
75 $(BFSVTOOLLIB) \
76 $(TKLIB) \
77 $(VCLLIB) \
78 $(SOTLIB) \
79 $(UNOTOOLSLIB) \
80 $(TOOLSLIB) \
81 $(I18NISOLANGLIB) \
82 $(COMPHELPERLIB) \
83 $(CPPUHELPERLIB) \
84 $(CPPULIB) \
85 $(SALLIB)
88 SHL1LIBS= $(LIB3TARGET)
91 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
92 .IF "$(GUI)" == "WNT" || "$(GUI)" == "WIN"
93 SHL1RES= $(RCTARGET)
94 .ENDIF
96 # --- Linken der Applikation ---------------------------------------
98 LIB2TARGET=$(SLB)$/sd_sdmod.lib
99 LIB2OBJFILES= \
100 $(SLO)$/sd_sdmod.obj
102 LIB3TARGET=$(SLB)$/sd_sdraw3.lib
103 LIB3FILES= \
104 $(SLB)$/sd_view.lib \
105 $(SLB)$/sd_app.lib \
106 $(SLB)$/sd_docshell.lib \
107 $(SLB)$/sd_core.lib \
108 $(SLB)$/sd_xml.lib \
109 $(SLB)$/sd_bin.lib \
110 $(SLB)$/sd_filter.lib \
111 $(SLB)$/sd_unoidl.lib
113 LIB4TARGET=$(LB)$/bf_sdlib.lib
114 LIB4ARCHIV=$(LB)$/libbf_sdlib.a
115 LIB4OBJFILES=$(SLO)$/sd_sdlib.obj \
116 $(SLO)$/sd_sdresid.obj
118 # --- Targets -------------------------------------------------------------
120 .INCLUDE : target.mk
122 .IF "$(depend)" == ""
124 .IF "$(GUI)" == "WNT"
126 $(MISC)$/$(SHL1TARGET).def:
127 @echo ------------------------------
128 @echo Making: $@
129 @echo LIBRARY $(SHL1TARGET) >$@
130 .IF "$(COM)"!="GCC"
131 @echo DESCRIPTION 'SDRAW3 DLL' >>$@
132 @echo DATA READ WRITE NONSHARED >>$@
133 .ENDIF
134 @echo EXPORTS >>$@
135 @echo CreateSdDrawDocShellDll @20 >>$@
136 @echo CreateSdGraphicDocShellDll @21 >>$@
137 @echo CreateObjSdDrawDocShellDll @22 >>$@
138 @echo CreateObjSdGraphicDocShellDll @23 >>$@
139 @echo InitSdDll @24 >>$@
140 @echo DeInitSdDll @25 >>$@
141 @echo component_getImplementationEnvironment >>$@
142 @echo component_writeInfo >>$@
143 @echo component_getFactory >>$@
144 .ENDIF
146 .IF "$(GUI)" == "OS2"
148 $(MISC)$/$(SHL1TARGET).def:
149 @echo ------------------------------
150 @echo Making: $@
151 @echo LIBRARY $(SHL1TARGET8) INITINSTANCE TERMINSTANCE >$@
152 @echo DESCRIPTION 'SDRAW3 DLL' >>$@
153 @echo DATA MULTIPLE >>$@
154 @echo EXPORTS >>$@
155 @echo _CreateSdDrawDocShellDll >>$@
156 @echo _CreateSdGraphicDocShellDll >>$@
157 @echo _CreateObjSdDrawDocShellDll >>$@
158 @echo _CreateObjSdGraphicDocShellDll >>$@
159 @echo _InitSdDll >>$@
160 @echo _DeInitSdDll >>$@
161 @echo _component_getImplementationEnvironment >>$@
162 @echo _component_writeInfo >>$@
163 @echo _component_getFactory >>$@
164 .ENDIF
166 .ENDIF
168 $(MISCX)$/$(SHL1TARGET).flt:
169 @echo ------------------------------
170 @echo Making: $@
171 @echo WEP>$@
172 @echo LIBMAIN>>$@
173 @echo LibMain>>$@