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=SV 31TARGET=svdem 32LIBTARGET=NO 33#TARGETTYPE=GUI 34 35 36.IF "$(GUI)" == "OS2" 37TARGETTYPE=GUI 38.ENDIF 39 40# --- Settings ----------------------------------------------------- 41 42.INCLUDE : svpre.mk 43.INCLUDE : settings.mk 44.INCLUDE : sv.mk 45 46# --- Files -------------------------------------------------------- 47 48OBJFILES= $(OBJ)$/svdem.obj 49APP1NOSAL= TRUE 50APP1TARGET= $(TARGET) 51APP1OBJS= $(OBJFILES) 52 53# $(OBJ)$/salmain.obj 54 55APP1STDLIBS= $(CPPULIB) \ 56 $(CPPUHELPERLIB) \ 57 $(COMPHELPERLIB) \ 58 $(VCLLIB) \ 59 $(TOOLSLIB) \ 60 $(SALLIB) \ 61 $(VOSLIB) \ 62 $(SOTLIB) \ 63 $(SVLIB) -l$(LB)/fps_office.uno.lib 64 65APP1DEPN= $(L)$/itools.lib \ 66 $(L)$/sot.lib 67 68.IF "$(GUI)"=="WIN" || "$(GUI)"=="OS200" 69APP1DEF= $(MISC)$/$(TARGET).def 70.ENDIF 71 72# --- Targets ------------------------------------------------------ 73 74ALL : \ 75 ALLTAR \ 76 $(BIN)$/applicat.rdb 77 78.INCLUDE : target.mk 79 80$(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB) 81 rm -f $@ 82 $(GNUCOPY) $(UNOUCRRDB) $@ 83 +cd $(BIN) && \ 84 regcomp -register -r applicat.rdb \ 85 -c i18nsearch.uno$(DLLPOST) \ 86 -c i18npool.uno$(DLLPOST) 87 88# ------------------------------------------------------------------ 89# Windows 90# ------------------------------------------------------------------ 91 92.IF "$(GUI)" == "WIN" 93 94$(MISC)$/$(TARGET).def: makefile 95 echo NAME $(TARGET) >$@ 96 echo DESCRIPTION 'StarView - Testprogramm' >>$@ 97 echo EXETYPE WINDOWS >>$@ 98 echo STUB 'winSTUB.EXE' >>$@ 99 echo PROTMODE >>$@ 100 echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@ 101 echo DATA PRELOAD MOVEABLE MULTIPLE >>$@ 102 echo HEAPSIZE 8192 >>$@ 103 echo STACKSIZE 32768 >>$@ 104 105.ENDIF 106 107