xref: /aoo41x/main/vcl/workben/makefile.mk (revision 7871dc3e)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=vcl
27cdf0e10cSrcweirTARGET=svdem
28cdf0e10cSrcweirLIBTARGET=NO
29cdf0e10cSrcweirTARGETTYPE=GUI
30cdf0e10cSrcweir
31cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
32cdf0e10cSrcweir
33cdf0e10cSrcweirmy_components = i18npool i18nsearch
34cdf0e10cSrcweir
35cdf0e10cSrcweir# --- Settings -----------------------------------------------------
36cdf0e10cSrcweir
37cdf0e10cSrcweir.INCLUDE :	settings.mk
38cdf0e10cSrcweir
39cdf0e10cSrcweir# --- Files --------------------------------------------------------
40cdf0e10cSrcweir
41cdf0e10cSrcweirOBJFILES= \
42cdf0e10cSrcweir	$(OBJ)$/svdem.obj \
43cdf0e10cSrcweir	$(OBJ)$/vcldemo.obj \
44cdf0e10cSrcweir	$(OBJ)$/outdevgrind.obj
45cdf0e10cSrcweir
46cdf0e10cSrcweir# --- Targets ------------------------------------------------------
47cdf0e10cSrcweir
48cdf0e10cSrcweir# svdem
49cdf0e10cSrcweir
50cdf0e10cSrcweirAPP1NOSAL=		TRUE
51cdf0e10cSrcweirAPP1TARGET= 	$(TARGET)
52cdf0e10cSrcweirAPP1OBJS= \
53cdf0e10cSrcweir	$(OBJ)$/svdem.obj
54cdf0e10cSrcweir
55cdf0e10cSrcweirAPP1STDLIBS=	$(CPPULIB)			\
56cdf0e10cSrcweir				$(UNOTOOLSLIB)	\
57cdf0e10cSrcweir				$(CPPUHELPERLIB)	\
58cdf0e10cSrcweir				$(COMPHELPERLIB)	\
59cdf0e10cSrcweir				$(TOOLSLIB) 		\
60cdf0e10cSrcweir				$(SALLIB)			\
61cdf0e10cSrcweir				$(VOSLIB)			\
62cdf0e10cSrcweir				$(SOTLIB)			\
63cdf0e10cSrcweir				$(VCLLIB)
64cdf0e10cSrcweir
65cdf0e10cSrcweir# outdevgrind
66cdf0e10cSrcweir
67cdf0e10cSrcweirAPP2TARGET= outdevgrind
68cdf0e10cSrcweirAPP2OBJS=	\
69fc9fd3f1SPedro Giffuni	$(OBJ)$/outdevgrind.obj
70cdf0e10cSrcweir
71cdf0e10cSrcweirAPP2NOSAL=		TRUE
72cdf0e10cSrcweirAPP2STDLIBS=$(TOOLSLIB) 		\
73fc9fd3f1SPedro Giffuni			vclmain.lib \
74cdf0e10cSrcweir			$(COMPHELPERLIB)	\
75cdf0e10cSrcweir			$(CPPULIB)			\
76cdf0e10cSrcweir			$(CPPUHELPERLIB)	\
77cdf0e10cSrcweir			$(UCBHELPERLIB)		\
78cdf0e10cSrcweir			$(SALLIB)			\
79cdf0e10cSrcweir			$(VCLLIB)
80cdf0e10cSrcweir
81cdf0e10cSrcweir# vcldemo
82cdf0e10cSrcweir
83cdf0e10cSrcweirAPP3NOSAL=TRUE
84cdf0e10cSrcweirAPP3TARGET=vcldemo
85cdf0e10cSrcweirAPP3OBJS= \
86cdf0e10cSrcweir	$(OBJ)$/vcldemo.obj
87cdf0e10cSrcweir
88cdf0e10cSrcweirAPP3STDLIBS=	$(CPPULIB)			\
89cdf0e10cSrcweir				$(UNOTOOLSLIB)	\
90cdf0e10cSrcweir				$(CPPUHELPERLIB)	\
91cdf0e10cSrcweir				$(COMPHELPERLIB)	\
92cdf0e10cSrcweir				$(TOOLSLIB) 		\
93cdf0e10cSrcweir				$(SALLIB)			\
94cdf0e10cSrcweir				$(VOSLIB)			\
95cdf0e10cSrcweir				$(SOTLIB)			\
96cdf0e10cSrcweir				$(VCLLIB)
97cdf0e10cSrcweir
98cdf0e10cSrcweir
99cdf0e10cSrcweir# --- Targets ------------------------------------------------------
100cdf0e10cSrcweir.IF "$(GUIBASE)" == "unx"
101cdf0e10cSrcweir
102cdf0e10cSrcweirAPP4NOSAL=              TRUE
103cdf0e10cSrcweirAPP4TARGET=     svptest
104cdf0e10cSrcweirAPP4OBJS=               $(OBJ)$/svptest.obj
105cdf0e10cSrcweir
106cdf0e10cSrcweirAPP4STDLIBS=    $(CPPULIB)                      \
107cdf0e10cSrcweir                                $(CPPUHELPERLIB)        \
108cdf0e10cSrcweir                                $(COMPHELPERLIB)        \
109cdf0e10cSrcweir                                $(VCLLIB)                       \
110cdf0e10cSrcweir                                $(TOOLSLIB)             \
111cdf0e10cSrcweir                                $(SALLIB)                       \
112cdf0e10cSrcweir                                $(VOSLIB)                       \
113cdf0e10cSrcweir                                $(SOTLIB)                       \
114cdf0e10cSrcweir                                $(VCLLIB)
115cdf0e10cSrcweir
116cdf0e10cSrcweirAPP5NOSAL=              TRUE
117cdf0e10cSrcweirAPP5TARGET=     svpclient
118cdf0e10cSrcweirAPP5OBJS=               $(OBJ)$/svpclient.obj
119cdf0e10cSrcweir
120cdf0e10cSrcweirAPP5STDLIBS=    $(CPPULIB)                      \
121cdf0e10cSrcweir                                $(CPPUHELPERLIB)        \
122cdf0e10cSrcweir                                $(COMPHELPERLIB)        \
123cdf0e10cSrcweir                                $(UCBHELPERLIB)        \
124cdf0e10cSrcweir                                $(VCLLIB)                       \
125cdf0e10cSrcweir                                $(TOOLSLIB)             \
126cdf0e10cSrcweir                                $(SALLIB)                       \
127cdf0e10cSrcweir                                $(VOSLIB)                       \
128cdf0e10cSrcweir                                $(SOTLIB)                       \
129cdf0e10cSrcweir                                $(VCLLIB)
130cdf0e10cSrcweir
131cdf0e10cSrcweir.IF "$(OS)" == "SOLARIS"
132cdf0e10cSrcweirAPP5STDLIBS+=-lsocket
133cdf0e10cSrcweir.ENDIF
134cdf0e10cSrcweir
135cdf0e10cSrcweir.ENDIF
136cdf0e10cSrcweir
137cdf0e10cSrcweir.INCLUDE :	target.mk
138cdf0e10cSrcweir
139cdf0e10cSrcweirALLTAR : $(BIN)/applicat.rdb $(BIN)/types.rdb
140cdf0e10cSrcweir
141cdf0e10cSrcweir$(BIN)/applicat.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
142cdf0e10cSrcweir        $(MISC)/applicat.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
143cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
144cdf0e10cSrcweir        $(SOLARENV)/bin/packcomponents.xslt $(MISC)/applicat.input
145cdf0e10cSrcweir
146cdf0e10cSrcweir$(MISC)/applicat.input :
147cdf0e10cSrcweir    echo \
148cdf0e10cSrcweir        '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
149cdf0e10cSrcweir        > $@
150cdf0e10cSrcweir
151cdf0e10cSrcweir$(BIN)/types.rdb : $(SOLARBINDIR)/types.rdb
152cdf0e10cSrcweir    $(COPY) $< $@
153