bump product version to 5.0.4.1
[LibreOffice.git] / vcl / workben / makefile.mk
blob2a562c26a90b7f3c837d09ebe0c6058e50327989
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 PRJ=..
21 PRJNAME=vcl
22 TARGET=svdem
23 LIBTARGET=NO
24 TARGETTYPE=GUI
26 ENABLE_EXCEPTIONS=TRUE
28 my_components = i18npool i18nsearch
30 # --- Settings -----------------------------------------------------
32 .INCLUDE : settings.mk
34 # --- Files --------------------------------------------------------
36 OBJFILES= \
37 $(OBJ)$/svdem.obj \
38 $(OBJ)$/vcldemo.obj \
39 $(OBJ)$/outdevgrind.obj
41 # --- Targets ------------------------------------------------------
43 .IF "$(OS)" == "IOS"
44 CFLAGS += -x objective-c++ -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300
45 .ENDIF
47 # svdem
49 APP1NOSAL= TRUE
50 APP1TARGET= $(TARGET)
51 APP1OBJS= \
52 $(OBJ)$/svdem.obj
54 APP1STDLIBS= $(CPPULIB) \
55 $(UNOTOOLSLIB) \
56 $(CPPUHELPERLIB) \
57 $(COMPHELPERLIB) \
58 $(TOOLSLIB) \
59 $(SALLIB) \
60 $(SOTLIB) \
61 $(VCLLIB)
63 # outdevgrind
65 APP2TARGET= outdevgrind
66 APP2OBJS= \
67 $(OBJ)$/outdevgrind.obj
69 APP2NOSAL= TRUE
70 APP2STDLIBS=$(TOOLSLIB) \
71 vclmain.lib \
72 $(COMPHELPERLIB) \
73 $(CPPULIB) \
74 $(CPPUHELPERLIB) \
75 $(UCBHELPERLIB) \
76 $(SALLIB) \
77 $(VCLLIB)
79 # vcldemo
81 APP3NOSAL=TRUE
82 APP3TARGET=vcldemo
83 APP3OBJS= \
84 $(OBJ)$/vcldemo.obj
86 APP3STDLIBS= $(CPPULIB) \
87 $(UNOTOOLSLIB) \
88 $(CPPUHELPERLIB) \
89 $(COMPHELPERLIB) \
90 $(TOOLSLIB) \
91 $(SALLIB) \
92 $(SOTLIB) \
93 $(VCLLIB)
96 # --- Targets ------------------------------------------------------
97 .IF "$(GUIBASE)" == "unx"
99 APP4NOSAL= TRUE
100 APP4TARGET= svptest
101 APP4OBJS= $(OBJ)$/svptest.obj
103 APP4STDLIBS= $(CPPULIB) \
104 $(CPPUHELPERLIB) \
105 $(COMPHELPERLIB) \
106 $(VCLLIB) \
107 $(TOOLSLIB) \
108 $(SALLIB) \
109 $(SOTLIB) \
110 $(VCLLIB)
112 APP5NOSAL= TRUE
113 APP5TARGET= svpclient
114 APP5OBJS= $(OBJ)$/svpclient.obj
116 APP5STDLIBS= $(CPPULIB) \
117 $(CPPUHELPERLIB) \
118 $(COMPHELPERLIB) \
119 $(UCBHELPERLIB) \
120 $(VCLLIB) \
121 $(TOOLSLIB) \
122 $(SALLIB) \
123 $(SOTLIB) \
124 $(VCLLIB)
126 .IF "$(OS)" == "SOLARIS"
127 APP5STDLIBS+=-lsocket
128 .ENDIF
130 .ENDIF
132 .INCLUDE : target.mk
134 ALLTAR : $(BIN)/applicat.rdb $(BIN)/types.rdb
136 $(BIN)/applicat.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
137 $(MISC)/applicat.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
138 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
139 $(SOLARENV)/bin/packcomponents.xslt $(MISC)/applicat.input
141 $(MISC)/applicat.input :
142 echo \
143 '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
144 > $@
146 $(BIN)/types.rdb : $(SOLARBINDIR)/types.rdb
147 $(COPY) $< $@