1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=.. 25 26PRJNAME=SV 27TARGET=svdem 28LIBTARGET=NO 29#TARGETTYPE=GUI 30 31 32.IF "$(GUI)" == "OS2" 33TARGETTYPE=GUI 34.ENDIF 35 36# --- Settings ----------------------------------------------------- 37 38.INCLUDE : svpre.mk 39.INCLUDE : settings.mk 40.INCLUDE : sv.mk 41 42# --- Files -------------------------------------------------------- 43 44OBJFILES= $(OBJ)$/svdem.obj 45APP1NOSAL= TRUE 46APP1TARGET= $(TARGET) 47APP1OBJS= $(OBJFILES) 48 49# $(OBJ)$/salmain.obj 50 51APP1STDLIBS= $(CPPULIB) \ 52 $(CPPUHELPERLIB) \ 53 $(COMPHELPERLIB) \ 54 $(VCLLIB) \ 55 $(TOOLSLIB) \ 56 $(SALLIB) \ 57 $(VOSLIB) \ 58 $(SOTLIB) \ 59 $(SVLIB) -l$(LB)/fps_office.uno.lib 60 61APP1DEPN= $(L)$/itools.lib \ 62 $(L)$/sot.lib 63 64.IF "$(GUI)"=="WIN" || "$(GUI)"=="OS200" 65APP1DEF= $(MISC)$/$(TARGET).def 66.ENDIF 67 68# --- Targets ------------------------------------------------------ 69 70ALL : \ 71 ALLTAR \ 72 $(BIN)$/applicat.rdb 73 74.INCLUDE : target.mk 75 76$(BIN)$/applicat.rdb : makefile.mk $(UNOUCRRDB) 77 rm -f $@ 78 $(GNUCOPY) $(UNOUCRRDB) $@ 79 +cd $(BIN) && \ 80 regcomp -register -r applicat.rdb \ 81 -c i18nsearch.uno$(DLLPOST) \ 82 -c i18npool.uno$(DLLPOST) 83 84# ------------------------------------------------------------------ 85# Windows 86# ------------------------------------------------------------------ 87 88.IF "$(GUI)" == "WIN" 89 90$(MISC)$/$(TARGET).def: makefile 91 echo NAME $(TARGET) >$@ 92 echo DESCRIPTION 'StarView - Testprogramm' >>$@ 93 echo EXETYPE WINDOWS >>$@ 94 echo STUB 'winSTUB.EXE' >>$@ 95 echo PROTMODE >>$@ 96 echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@ 97 echo DATA PRELOAD MOVEABLE MULTIPLE >>$@ 98 echo HEAPSIZE 8192 >>$@ 99 echo STACKSIZE 32768 >>$@ 100 101.ENDIF 102 103