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 #*************************************************************************
36 # --- Settings -----------------------------------------------------------
38 .INCLUDE
: settings.mk
39 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
41 # --- Files --------------------------------------------------------------
44 $(SLO
)$/filedlghelper.obj \
45 $(SLO
)$/filtergrouping.obj \
46 $(SLO
)$/itemconnect.obj \
47 $(SLO
)$/mailmodel.obj \
49 $(SLO
)$/recfloat.obj \
50 $(SLO
)$/templdlg.obj \
57 $(SLO
)$/alienwarn.obj \
58 $(SLO
)$/basedlgs.obj \
61 $(SLO
)$/mgetempl.obj \
63 $(SLO
)$/newstyle.obj \
65 $(SLO
)$/printopt.obj \
68 $(SLO
)$/splitwin.obj \
70 $(SLO
)$/styfitem.obj \
71 $(SLO
)$/styledlg.obj \
73 $(SLO
)$/tplcitem.obj \
74 $(SLO
)$/tplpitem.obj \
94 .IF
"$(BUILD_VER_STRING)"!=""
96 CFLAGS
+=-DBUILD_VER_STRING
='"$(BUILD_VER_STRING)"'
97 .ELSE
# "$(GUI)"=="UNX"
98 CFLAGS
+=-DBUILD_VER_STRING
="$(subst,",\" "$(BUILD_VER_STRING)")"
99 .ENDIF # "$(GUI
)"=="UNX
"
102 # --- Targets -------------------------------------------------------
106 $(INCCOM)$/cuilib.hxx: makefile.mk
109 echo \#define DLL_NAME \"libcui$(DLLPOSTFIX)$(DLLPOST)\" >$@
111 echo $(EMQ)#define DLL_NAME $(EMQ)"cui
$(DLLPOSTFIX
)$(DLLPOST
)$(EMQ
)" >$@
114 $(SLO)$/sfxdlg.obj : $(INCCOM)$/cuilib.hxx
116 $(SLO)$/about.obj : $(INCCOM)$/aboutbmpnames.hxx
118 .INCLUDE .IGNORE : $(MISC)$/about_bmp_names.mk
120 .IF "$(ABOUT_BITMAPS
:f
)"!="$(LASTTIME_ABOUT_BITMAPS
)"
122 .ENDIF # "$(ABOUT_BITMAPS
:f
)"!="$(LASTTIME_ABOUT_BITMAPS
)"
124 $(INCCOM)$/aboutbmpnames.hxx $(DO_PHONY):
125 echo const char ABOUT_BITMAP_STRINGLIST[]=$(EMQ)"$(ABOUT_BITMAPS
:f
:t
",")$(EMQ
)"$(EMQ); > $@
126 echo LASTTIME_ABOUT_BITMAPS=$(ABOUT_BITMAPS:f) > $(MISC)$/about_bmp_names.mk