merge the formfield patch from ooo-build
[ooovba.git] / vcl / workben / makefile.mk
blob0b89f031651d751825b02942a5504452cc957228
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.23 $
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=vcl
35 TARGET=svdem
36 LIBTARGET=NO
37 TARGETTYPE=GUI
39 ENABLE_EXCEPTIONS=TRUE
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 # --- Files --------------------------------------------------------
47 OBJFILES= \
48 $(OBJ)$/svdem.obj \
49 $(OBJ)$/vcldemo.obj \
50 $(OBJ)$/outdevgrind.obj
52 # --- Targets ------------------------------------------------------
54 # svdem
56 APP1NOSAL= TRUE
57 APP1TARGET= $(TARGET)
58 APP1OBJS= \
59 $(OBJ)$/svdem.obj
61 APP1STDLIBS= $(CPPULIB) \
62 $(UNOTOOLSLIB) \
63 $(CPPUHELPERLIB) \
64 $(COMPHELPERLIB) \
65 $(TOOLSLIB) \
66 $(SALLIB) \
67 $(VOSLIB) \
68 $(SOTLIB) \
69 $(VCLLIB)
71 # outdevgrind
73 APP2TARGET= outdevgrind
74 APP2OBJS= \
75 $(OBJ)$/outdevgrind.obj $(OBJ)$/salmain.obj
77 APP2NOSAL= TRUE
78 APP2STDLIBS=$(TOOLSLIB) \
79 $(COMPHELPERLIB) \
80 $(CPPULIB) \
81 $(CPPUHELPERLIB) \
82 $(UCBHELPERLIB) \
83 $(SALLIB) \
84 $(VCLLIB)
86 # vcldemo
88 APP3NOSAL=TRUE
89 APP3TARGET=vcldemo
90 APP3OBJS= \
91 $(OBJ)$/vcldemo.obj
93 APP3STDLIBS= $(CPPULIB) \
94 $(UNOTOOLSLIB) \
95 $(CPPUHELPERLIB) \
96 $(COMPHELPERLIB) \
97 $(TOOLSLIB) \
98 $(SALLIB) \
99 $(VOSLIB) \
100 $(SOTLIB) \
101 $(VCLLIB)
104 # --- Targets ------------------------------------------------------
105 .IF "$(GUIBASE)" == "unx"
107 APP4NOSAL= TRUE
108 APP4TARGET= svptest
109 APP4OBJS= $(OBJ)$/svptest.obj
111 APP4STDLIBS= $(CPPULIB) \
112 $(CPPUHELPERLIB) \
113 $(COMPHELPERLIB) \
114 $(VCLLIB) \
115 $(TOOLSLIB) \
116 $(SALLIB) \
117 $(VOSLIB) \
118 $(SOTLIB) \
119 $(VCLLIB)
121 APP5NOSAL= TRUE
122 APP5TARGET= svpclient
123 APP5OBJS= $(OBJ)$/svpclient.obj
125 APP5STDLIBS= $(CPPULIB) \
126 $(CPPUHELPERLIB) \
127 $(COMPHELPERLIB) \
128 $(UCBHELPERLIB) \
129 $(VCLLIB) \
130 $(TOOLSLIB) \
131 $(SALLIB) \
132 $(VOSLIB) \
133 $(SOTLIB) \
134 $(VCLLIB)
136 .IF "$(OS)" == "SOLARIS"
137 APP5STDLIBS+=-lsocket
138 .ENDIF
140 .ENDIF
142 .INCLUDE : target.mk
143 .IF "$(L10N_framework)"==""
145 ALLTAR : $(BIN)$/applicat.rdb
148 $(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB)
149 rm -f $@
150 $(GNUCOPY) $(UNOUCRRDB) $@
151 cd $(BIN) && \
152 $(REGCOMP) -register -r applicat.rdb \
153 -c i18nsearch.uno$(DLLPOST) \
154 -c i18npool.uno$(DLLPOST)
155 .ENDIF