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 101RESLIB2NAME=sb 102RESLIB2IMAGES=$(PRJ)$/res 103RESLIB2SRSFILES= \ 104 $(SRS)$/classes.srs \ 105 $(SRS)$/sbx.srs 106########## remove sbx.srx (and this line) when issue i53795 is fixed 107 108# --- Targets ----------------------------------------------------------- 109 110.INCLUDE : target.mk 111 112#------------------------------------------------------------------------- 113# Windows NT 114#------------------------------------------------------------------------- 115# 116# default targets aus target.mk 117# 118 119# --- Basic-Filter-Datei --- 120 121$(MISC)$/$(SHL1TARGET).flt: makefile.mk 122 @echo ------------------------------ 123 @echo Making: $@ 124 @echo WEP > $@ 125 @echo LIBMAIN >> $@ 126 @echo LibMain >> $@ 127 @echo Sbi >> $@ 128 @echo SvRTL >> $@ 129 @echo SbRtl_ >> $@ 130 @echo exception >> $@ 131 @echo bad_alloc >> $@ 132 @echo __CT >> $@ 133 134$(SRS)$/basic.srs: 135 $(TYPE) $(SRS)$/classes.srs + $(SRS)$/runtime.srs + $(SRS)$/sbx.srs > $@ 136 137ALLTAR : $(MISC)/sb.component 138 139$(MISC)/sb.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 140 sb.component 141 $(XSLTPROC) --nonet --stringparam uri \ 142 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 143 $(SOLARENV)/bin/createcomponent.xslt sb.component 144