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=basic 27TARGET=sb 28#basic.hid generieren 29GEN_HID=TRUE 30 31# --- Settings --------------------------------------------------- 32 33.INCLUDE : settings.mk 34 35# --- Allgemein --------------------------------------------------- 36 37LIB1TARGET=$(SLB)$/sb.lib 38LIB1FILES= \ 39 $(SLB)$/basicmgr.lib \ 40 $(SLB)$/classes.lib \ 41 $(SLB)$/comp.lib \ 42 $(SLB)$/uno.lib \ 43 $(SLB)$/runtime.lib \ 44 $(SLB)$/sbx.lib 45 46SHL1TARGET= sb$(DLLPOSTFIX) 47SHL1IMPLIB= basic 48 49SHL1STDLIBS= \ 50 $(CPPULIB) \ 51 $(CPPUHELPERLIB) \ 52 $(TOOLSLIB) \ 53 $(SVTOOLLIB) \ 54 $(SVLLIB) \ 55 $(VCLLIB) \ 56 $(VOSLIB) \ 57 $(SALLIB) \ 58 $(SALHELPERLIB) \ 59 $(COMPHELPERLIB) \ 60 $(UNOTOOLSLIB) \ 61 $(SOTLIB) \ 62 $(VOSLIB) \ 63 $(XMLSCRIPTLIB) 64 65# Uncomment the following line if DBG_TRACE_PROFILING is active in source/inc/sbtrace.hxx 66# SHL1STDLIBS+=$(CANVASTOOLSLIB) 67 68.IF "$(SOLAR_JAVA)" != "TRUE" 69SHL1STDLIBS+=$(SJLIB) 70.ENDIF 71 72.IF "$(GUI)"=="WNT" 73SHL1STDLIBS+= \ 74 $(UWINAPILIB) \ 75 $(OLEAUT32LIB) 76.ENDIF # WNT 77 78.IF "$(GUI)" != "UNX" 79.IF "$(COM)" != "GCC" 80SHL1OBJS= \ 81 $(SLO)$/sb.obj 82.ENDIF 83.ENDIF 84 85SHL1DEF= $(MISC)$/$(SHL1TARGET).def 86SHL1LIBS= $(SLB)$/sb.lib 87 88DEF1NAME =$(SHL1TARGET) 89DEF1DEPN = \ 90 $(MISC)$/$(SHL1TARGET).flt 91 92DEFLIB1NAME =sb 93DEF1DES =StarBasic 94 95 96RES1TARGET=$(PRJNAME) 97SRS1FILES= \ 98 $(SRS)$/classes.srs \ 99 $(SRS)$/sbx.srs 100 101# --- TESTTOOL IDE ------------------------------------------------------ 102# The resources are linked here 103 104RESLIB1NAME=stt 105RESLIB1IMAGES=$(PRJ)$/res 106RESLIB1SRSFILES= \ 107 $(SRS)$/app.srs 108 109RESLIB2NAME=sb 110RESLIB2IMAGES=$(PRJ)$/res 111RESLIB2SRSFILES= \ 112 $(SRS)$/classes.srs \ 113 $(SRS)$/sbx.srs 114########## remove sbx.srx (and this line) when issue i53795 is fixed 115 116# --- Targets ----------------------------------------------------------- 117 118.INCLUDE : target.mk 119 120#------------------------------------------------------------------------- 121# Windows NT 122#------------------------------------------------------------------------- 123# 124# default targets aus target.mk 125# 126 127# --- Basic-Filter-Datei --- 128 129$(MISC)$/$(SHL1TARGET).flt: makefile.mk 130 @echo ------------------------------ 131 @echo Making: $@ 132 @echo WEP > $@ 133 @echo LIBMAIN >> $@ 134 @echo LibMain >> $@ 135 @echo Sbi >> $@ 136 @echo SvRTL >> $@ 137 @echo SbRtl_ >> $@ 138 @echo exception >> $@ 139 @echo bad_alloc >> $@ 140 @echo __CT >> $@ 141 142$(SRS)$/basic.srs: 143 $(TYPE) $(SRS)$/classes.srs + $(SRS)$/runtime.srs + $(SRS)$/sbx.srs > $@ 144 145ALLTAR : $(MISC)/sb.component 146 147$(MISC)/sb.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 148 sb.component 149 $(XSLTPROC) --nonet --stringparam uri \ 150 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 151 $(SOLARENV)/bin/createcomponent.xslt sb.component 152