merge the formfield patch from ooo-build
[ooovba.git] / svx / source / dialog / makefile.mk
blobc36ce1d8a718a2396da31dd381f2bd3d93e431a4
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 $
11 # $Revision: 1.65 $
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 #*************************************************************************
31 PRJ=..$/..
32 PRJNAME=svx
33 TARGET=dialogs
34 LIBTARGET=NO
35 ENABLE_EXCEPTIONS=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : settings.mk
40 .INCLUDE : $(PRJ)$/util$/makefile.pmk
43 .IF "$(GUI)"=="WNT"
44 CFLAGS+= -DUNICODE -D_UNICODE
45 .ENDIF
47 # --- Files --------------------------------------------------------
49 SRS1NAME=dialogs
50 SRC1FILES = \
51 bmpmask.src \
52 contdlg.src \
53 ctredlin.src \
54 dlgctrl.src \
55 docrecovery.src \
56 fontwork.src \
57 frmdirlbox.src \
58 frmsel.src \
59 hdft.src \
60 hyperdlg.src \
61 hyphen.src \
62 hyprlink.src \
63 imapdlg.src \
64 impgrf.src \
65 langbox.src \
66 language.src \
67 lingu.src \
68 linkwarn.src \
69 passwd.src \
70 prtqry.src \
71 rubydialog.src\
72 ruler.src \
73 srchdlg.src \
74 swframeposstrings.src \
75 thesdlg.src \
76 txenctab.src \
77 ucsubset.src
79 SRS2NAME=drawdlgs
80 SRC2FILES = \
81 sdstring.src
83 LIB1TARGET=$(SLB)$/$(TARGET)-core.lib
85 LIB1OBJFILES= \
86 $(SLO)$/dialmgr.obj\
87 $(SLO)$/dlgutil.obj \
88 $(SLO)$/framelink.obj\
89 $(SLO)$/hangulhanja.obj \
90 $(SLO)$/hyphen.obj \
91 $(SLO)$/impgrf.obj \
92 $(SLO)$/langbox.obj \
93 $(SLO)$/opengrf.obj \
94 $(SLO)$/simptabl.obj \
95 $(SLO)$/splwrap.obj \
96 $(SLO)$/svxdlg.obj \
97 $(SLO)$/stddlg.obj \
98 $(SLO)$/thesdlg.obj
100 LIB2TARGET=$(SLB)$/$(TARGET).lib
102 LIB2OBJFILES= \
103 $(SLO)$/charmap.obj \
104 $(SLO)$/checklbx.obj \
105 $(SLO)$/connctrl.obj \
106 $(SLO)$/contwnd.obj \
107 $(SLO)$/ctredlin.obj \
108 $(SLO)$/databaseregistrationui.obj \
109 $(SLO)$/dialcontrol.obj \
110 $(SLO)$/dlgctl3d.obj \
111 $(SLO)$/dlgctrl.obj \
112 $(SLO)$/docrecovery.obj \
113 $(SLO)$/fntctrl.obj \
114 $(SLO)$/fontlb.obj \
115 $(SLO)$/fontwork.obj \
116 $(SLO)$/framelinkarray.obj \
117 $(SLO)$/frmdirlbox.obj \
118 $(SLO)$/frmsel.obj \
119 $(SLO)$/graphctl.obj \
120 $(SLO)$/grfflt.obj \
121 $(SLO)$/hdft.obj \
122 $(SLO)$/hyperdlg.obj \
123 $(SLO)$/hyprlink.obj \
124 $(SLO)$/imapdlg.obj \
125 $(SLO)$/imapwnd.obj \
126 $(SLO)$/linkwarn.obj \
127 $(SLO)$/measctrl.obj \
128 $(SLO)$/orienthelper.obj \
129 $(SLO)$/pagectrl.obj \
130 $(SLO)$/paraprev.obj \
131 $(SLO)$/passwd.obj \
132 $(SLO)$/pfiledlg.obj \
133 $(SLO)$/prtqry.obj \
134 $(SLO)$/radiobtnbox.obj \
135 $(SLO)$/relfld.obj \
136 $(SLO)$/rlrcitem.obj \
137 $(SLO)$/rubydialog.obj \
138 $(SLO)$/rulritem.obj \
139 $(SLO)$/SpellDialogChildWindow.obj \
140 $(SLO)$/srchctrl.obj \
141 $(SLO)$/srchdlg.obj \
142 $(SLO)$/strarray.obj \
143 $(SLO)$/svxbmpnumvalueset.obj\
144 $(SLO)$/svxbox.obj \
145 $(SLO)$/svxgrahicitem.obj \
146 $(SLO)$/svxruler.obj \
147 $(SLO)$/swframeexample.obj \
148 $(SLO)$/swframeposstrings.obj \
149 $(SLO)$/txencbox.obj \
150 $(SLO)$/txenctab.obj \
151 $(SLO)$/wrapfield.obj \
152 $(SLO)$/_bmpmask.obj \
153 $(SLO)$/_contdlg.obj
155 .IF "$(GUI)"=="UNX"
156 LIB2OBJFILES += $(SLO)$/sendreportunx.obj
157 .ELSE
158 .IF "$(GUI)"=="WNT"
159 LIB2OBJFILES += $(SLO)$/sendreportw32.obj
160 .ELSE
161 LIB2OBJFILES += $(SLO)$/sendreportgen.obj
162 .ENDIF
163 .ENDIF
165 SLOFILES = $(LIB1OBJFILES) $(LIB2OBJFILES)
167 # --- Targets -------------------------------------------------------
169 .INCLUDE : target.mk
171 $(INCCOM)$/cuilib.hxx: makefile.mk
172 .IF "$(GUI)"=="UNX"
173 $(RM) $@
174 echo \#define DLL_NAME \"libcui$(DLLPOSTFIX)$(DLLPOST)\" >$@
175 .ELSE
176 echo $(EMQ)#define DLL_NAME $(EMQ)"cui$(DLLPOSTFIX)$(DLLPOST)$(EMQ)" >$@
177 .ENDIF
179 $(SLO)$/svxdlg.obj : $(INCCOM)$/cuilib.hxx