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