merge the formfield patch from ooo-build
[ooovba.git] / ure / source / makefile.mk
blob9736ca597aedd30c7a194f0b2c37963f40ea508b
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 := ..
33 PRJNAME := ure
34 TARGET := $(PRJNAME)
36 .INCLUDE: settings.mk
38 .IF "$(OS)" == "WNT" || "$(OS)" == "OS2"
39 MY_RC = .ini
40 .ELSE
41 MY_RC = rc
42 .ENDIF
44 ZIP1TARGET = uretest
45 ZIP1FLAGS = -r
46 ZIP1LIST = uretest
48 .INCLUDE: target.mk
50 ALLTAR: \
51 $(BIN)$/ure$/README \
52 $(BIN)$/ure$/THIRDPARTYLICENSEREADME.html \
53 $(BIN)$/ure$/jvmfwk3$(MY_RC) \
54 $(BIN)$/ure$/uno$(MY_RC)
56 $(BIN)$/ure$/README: README
57 -$(MKDIR) $(@:d)
58 $(COPY) $< $@
60 $(BIN)$/ure$/THIRDPARTYLICENSEREADME.html: THIRDPARTYLICENSEREADME.html
61 - $(MKDIR) $(@:d)
62 $(COPY) $< $@
64 $(BIN)$/ure$/jvmfwk3$(MY_RC): jvmfwk3$(MY_RC)
65 -$(MKDIR) $(@:d)
66 $(COPY) $< $@
68 $(BIN)$/ure$/uno$(MY_RC): uno$(MY_RC)
69 -$(MKDIR) $(@:d)
70 $(COPY) $< $@
72 .IF "$(OS)" != "WNT"
74 ALLTAR: $(BIN)$/ure$/startup.sh
76 $(BIN)$/ure$/startup.sh: startup.sh
77 -$(MKDIR) $(@:d)
78 $(COPY) $< $@
80 .ENDIF