merge the formfield patch from ooo-build
[ooovba.git] / sw / source / filter / ww1 / makefile.mk
blob7ff1003a52e21d3ffaf405d73cc8a56d82d501fd
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.6 $
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=..$/..$/..
34 PRJNAME=sw
35 TARGET=ww1
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : $(PRJ)$/inc$/swpre.mk
40 .INCLUDE : settings.mk
41 .INCLUDE : $(PRJ)$/inc$/sw.mk
43 .IF "$(mydebug)" != ""
44 CDEFS=$(CDEFS) -Dmydebug
45 .ENDIF
47 # --- Files --------------------------------------------------------
49 EXCEPTIONSFILES= \
50 $(SLO)$/w1filter.obj \
51 $(SLO)$/fltshell.obj
53 SLOFILES = \
54 $(SLO)$/w1par.obj \
55 $(SLO)$/w1class.obj \
56 $(SLO)$/w1filter.obj \
57 $(SLO)$/w1sprm.obj \
58 $(SLO)$/fltshell.obj \
61 # --- Targets -------------------------------------------------------
63 .INCLUDE : target.mk
65 run: alltar
67 #copy all relevant files to a backupdir
68 bak:
69 copy ..\inc\fltshell.hxx backup
70 copy *.?xx backup
71 copy makefile* backup
72 copy vcs.cfg backup
73 copy ..\..\..\dump1\src\dump1.cxx backup
74 copy ..\..\..\dump1\src\makefile backup\makefile.dmp
75 copy ..\..\..\WNTMSCI\bin\makefile backup\makefile.bin
76 copy ..\..\..\UTIL\makefile backup\makefile.utl
77 copy s:\solenv\inc\wnt.mak backup
79 # remove this filter from libs to avoid annoying effects
80 upgrade:
81 attrib -r *.?xx
82 attrib -r makefile.*
83 del ..\..\..\WNMSCI\LIB\ww1.lib
84 del ..\..\..\WNMSCI\DBO\w1*.obj
85 del ..\..\..\WNMSCI\DBO\fltshell.obj
86 del ..\..\..\WNMSCI\MISC
87 lib /nologo /REMOVE:..\..\..\WNTMSCI\obj\fltshell.obj /out:..\..\..\WNTMSCI\LIB\filter.lib ..\..\..\WNTMSCI\LIB\filter.lib
88 lib /nologo /REMOVE:..\..\..\WNTMSCI\obj\w1sprm.obj /out:..\..\..\WNTMSCI\LIB\filter.lib ..\..\..\WNTMSCI\LIB\filter.lib
89 lib /nologo /REMOVE:..\..\..\WNTMSCI\obj\w1filter.obj /out:..\..\..\WNTMSCI\LIB\filter.lib ..\..\..\WNTMSCI\LIB\filter.lib
90 lib /nologo /REMOVE:..\..\..\WNTMSCI\obj\w1class.obj /out:..\..\..\WNTMSCI\LIB\filter.lib ..\..\..\WNTMSCI\LIB\filter.lib
91 lib /nologo /REMOVE:..\..\..\WNTMSCI\obj\w1par.obj /out:..\..\..\WNTMSCI\LIB\filter.lib ..\..\..\WNTMSCI\LIB\filter.lib
92 copy backup\makefile.bin ..\..\..\WNTMSCI\bin\makefile
93 diff backup\makefile.utl ..\..\..\UTIL\makefile
94 diff s:\solenv\inc\wnt.mak backup
96 zip: bak
97 pkzip c:\temp\ww1 backup\*.*