xref: /trunk/main/vcl/workben/makefile.mk (revision fc9fd3f14a55d77b35643a64034752a178b2a5b0)
1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#*************************************************************************
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJ=..
29cdf0e10cSrcweir
30cdf0e10cSrcweirPRJNAME=vcl
31cdf0e10cSrcweirTARGET=svdem
32cdf0e10cSrcweirLIBTARGET=NO
33cdf0e10cSrcweirTARGETTYPE=GUI
34cdf0e10cSrcweir
35cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
36cdf0e10cSrcweir
37cdf0e10cSrcweirmy_components = i18npool i18nsearch
38cdf0e10cSrcweir
39cdf0e10cSrcweir# --- Settings -----------------------------------------------------
40cdf0e10cSrcweir
41cdf0e10cSrcweir.INCLUDE :  settings.mk
42cdf0e10cSrcweir
43cdf0e10cSrcweir# --- Files --------------------------------------------------------
44cdf0e10cSrcweir
45cdf0e10cSrcweirOBJFILES= \
46cdf0e10cSrcweir    $(OBJ)$/svdem.obj \
47cdf0e10cSrcweir    $(OBJ)$/vcldemo.obj \
48cdf0e10cSrcweir    $(OBJ)$/outdevgrind.obj
49cdf0e10cSrcweir
50cdf0e10cSrcweir# --- Targets ------------------------------------------------------
51cdf0e10cSrcweir
52cdf0e10cSrcweir# svdem
53cdf0e10cSrcweir
54cdf0e10cSrcweirAPP1NOSAL=      TRUE
55cdf0e10cSrcweirAPP1TARGET=     $(TARGET)
56cdf0e10cSrcweirAPP1OBJS= \
57cdf0e10cSrcweir    $(OBJ)$/svdem.obj
58cdf0e10cSrcweir
59cdf0e10cSrcweirAPP1STDLIBS=    $(CPPULIB)          \
60cdf0e10cSrcweir                $(UNOTOOLSLIB)  \
61cdf0e10cSrcweir                $(CPPUHELPERLIB)    \
62cdf0e10cSrcweir                $(COMPHELPERLIB)    \
63cdf0e10cSrcweir                $(TOOLSLIB)         \
64cdf0e10cSrcweir                $(SALLIB)           \
65cdf0e10cSrcweir                $(VOSLIB)           \
66cdf0e10cSrcweir                $(SOTLIB)           \
67cdf0e10cSrcweir                $(VCLLIB)
68cdf0e10cSrcweir
69cdf0e10cSrcweir# outdevgrind
70cdf0e10cSrcweir
71cdf0e10cSrcweirAPP2TARGET= outdevgrind
72cdf0e10cSrcweirAPP2OBJS=   \
73*fc9fd3f1SPedro Giffuni    $(OBJ)$/outdevgrind.obj
74cdf0e10cSrcweir
75cdf0e10cSrcweirAPP2NOSAL=      TRUE
76cdf0e10cSrcweirAPP2STDLIBS=$(TOOLSLIB)         \
77*fc9fd3f1SPedro Giffuni            vclmain.lib \
78cdf0e10cSrcweir            $(COMPHELPERLIB)    \
79cdf0e10cSrcweir            $(CPPULIB)          \
80cdf0e10cSrcweir            $(CPPUHELPERLIB)    \
81cdf0e10cSrcweir            $(UCBHELPERLIB)     \
82cdf0e10cSrcweir            $(SALLIB)           \
83cdf0e10cSrcweir            $(VCLLIB)
84cdf0e10cSrcweir
85cdf0e10cSrcweir# vcldemo
86cdf0e10cSrcweir
87cdf0e10cSrcweirAPP3NOSAL=TRUE
88cdf0e10cSrcweirAPP3TARGET=vcldemo
89cdf0e10cSrcweirAPP3OBJS= \
90cdf0e10cSrcweir    $(OBJ)$/vcldemo.obj
91cdf0e10cSrcweir
92cdf0e10cSrcweirAPP3STDLIBS=    $(CPPULIB)          \
93cdf0e10cSrcweir                $(UNOTOOLSLIB)  \
94cdf0e10cSrcweir                $(CPPUHELPERLIB)    \
95cdf0e10cSrcweir                $(COMPHELPERLIB)    \
96cdf0e10cSrcweir                $(TOOLSLIB)         \
97cdf0e10cSrcweir                $(SALLIB)           \
98cdf0e10cSrcweir                $(VOSLIB)           \
99cdf0e10cSrcweir                $(SOTLIB)           \
100cdf0e10cSrcweir                $(VCLLIB)
101cdf0e10cSrcweir
102cdf0e10cSrcweir
103cdf0e10cSrcweir# --- Targets ------------------------------------------------------
104cdf0e10cSrcweir.IF "$(GUIBASE)" == "unx"
105cdf0e10cSrcweir
106cdf0e10cSrcweirAPP4NOSAL=              TRUE
107cdf0e10cSrcweirAPP4TARGET=     svptest
108cdf0e10cSrcweirAPP4OBJS=               $(OBJ)$/svptest.obj
109cdf0e10cSrcweir
110cdf0e10cSrcweirAPP4STDLIBS=    $(CPPULIB)                      \
111cdf0e10cSrcweir                                $(CPPUHELPERLIB)        \
112cdf0e10cSrcweir                                $(COMPHELPERLIB)        \
113cdf0e10cSrcweir                                $(VCLLIB)                       \
114cdf0e10cSrcweir                                $(TOOLSLIB)             \
115cdf0e10cSrcweir                                $(SALLIB)                       \
116cdf0e10cSrcweir                                $(VOSLIB)                       \
117cdf0e10cSrcweir                                $(SOTLIB)                       \
118cdf0e10cSrcweir                                $(VCLLIB)
119cdf0e10cSrcweir
120cdf0e10cSrcweirAPP5NOSAL=              TRUE
121cdf0e10cSrcweirAPP5TARGET=     svpclient
122cdf0e10cSrcweirAPP5OBJS=               $(OBJ)$/svpclient.obj
123cdf0e10cSrcweir
124cdf0e10cSrcweirAPP5STDLIBS=    $(CPPULIB)                      \
125cdf0e10cSrcweir                                $(CPPUHELPERLIB)        \
126cdf0e10cSrcweir                                $(COMPHELPERLIB)        \
127cdf0e10cSrcweir                                $(UCBHELPERLIB)        \
128cdf0e10cSrcweir                                $(VCLLIB)                       \
129cdf0e10cSrcweir                                $(TOOLSLIB)             \
130cdf0e10cSrcweir                                $(SALLIB)                       \
131cdf0e10cSrcweir                                $(VOSLIB)                       \
132cdf0e10cSrcweir                                $(SOTLIB)                       \
133cdf0e10cSrcweir                                $(VCLLIB)
134cdf0e10cSrcweir
135cdf0e10cSrcweir.IF "$(OS)" == "SOLARIS"
136cdf0e10cSrcweirAPP5STDLIBS+=-lsocket
137cdf0e10cSrcweir.ENDIF
138cdf0e10cSrcweir
139cdf0e10cSrcweir.ENDIF
140cdf0e10cSrcweir
141cdf0e10cSrcweir.INCLUDE :  target.mk
142cdf0e10cSrcweir
143cdf0e10cSrcweirALLTAR : $(BIN)/applicat.rdb $(BIN)/types.rdb
144cdf0e10cSrcweir
145cdf0e10cSrcweir$(BIN)/applicat.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
146cdf0e10cSrcweir        $(MISC)/applicat.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
147cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
148cdf0e10cSrcweir        $(SOLARENV)/bin/packcomponents.xslt $(MISC)/applicat.input
149cdf0e10cSrcweir
150cdf0e10cSrcweir$(MISC)/applicat.input :
151cdf0e10cSrcweir    echo \
152cdf0e10cSrcweir        '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
153cdf0e10cSrcweir        > $@
154cdf0e10cSrcweir
155cdf0e10cSrcweir$(BIN)/types.rdb : $(SOLARBINDIR)/types.rdb
156cdf0e10cSrcweir    $(COPY) $< $@
157