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= ..$/.. 25PRJNAME= chart2 26TARGET= chartcontroller 27 28USE_DEFFILE= TRUE 29ENABLE_EXCEPTIONS= TRUE 30VISIBILITY_HIDDEN=TRUE 31 32# --- Settings ----------------------------------------------------- 33 34.INCLUDE: $(PRJ)$/util$/makefile.pmk 35 36# --- export library ------------------------------------------------- 37 38#You can use several library macros of this form to build libraries that 39#do not consist of all object files in a directory or to merge different libraries. 40LIB1TARGET= $(SLB)$/$(TARGET).lib 41 42LIB1FILES= \ 43 $(SLB)$/chcontroller.lib \ 44 $(SLB)$/chcdrawinglayer.lib \ 45 $(SLB)$/chcitemsetwrapper.lib \ 46 $(SLB)$/chcdialogs.lib \ 47 $(SLB)$/chchartapiwrapper.lib \ 48 $(SLB)$/chcaccessibility.lib 49 50#-------- 51 52#Indicates the filename of the shared library. 53SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 54 55#indicates dependencies: 56.IF "$(COM)" == "MSC" 57SHL1DEPN = \ 58 $(LB)$/icharttools.lib \ 59 $(LB)$/ichartview.lib 60.ELSE 61SHL1DEPN = 62.ENDIF 63 64#Specifies an import library to create. For Win32 only. 65SHL1IMPLIB= i$(TARGET) 66 67#Specifies libraries from the same module to put into the shared library. 68#was created above 69SHL1LIBS= $(LIB1TARGET) 70 71#Links import libraries. 72 73SHL1STDLIBS= $(CHARTTOOLS) \ 74 $(CHARTVIEW) \ 75 $(EDITENGLIB) \ 76 $(CPPULIB) \ 77 $(CPPUHELPERLIB) \ 78 $(COMPHELPERLIB) \ 79 $(BASEGFXLIB) \ 80 $(DRAWINGLAYERLIB) \ 81 $(BASEGFXLIB) \ 82 $(SALLIB) \ 83 $(SVLLIB) \ 84 $(SVTOOLLIB) \ 85 $(SVXCORELIB) \ 86 $(SVXLIB) \ 87 $(TKLIB) \ 88 $(TOOLSLIB) \ 89 $(VCLLIB) \ 90 $(SFXLIB) \ 91 $(UNOTOOLSLIB) \ 92 $(SOTLIB) 93 94#--------exports 95 96#specifies the exported symbols for Windows only: 97SHL1DEF= $(MISC)$/$(SHL1TARGET).def 98 99SHL1VERSIONMAP = $(SOLARENV)/src/component.map 100 101#--------definition file 102 103#name of the definition file: 104DEF1NAME= $(SHL1TARGET) 105 106# --- Resources --------------------------------------------------------------- 107 108RESLIB1LIST=\ 109 $(SRS)$/chcdialogs.srs \ 110 $(SRS)$/chcmenus.srs \ 111 112 113RESLIB1NAME= $(TARGET) 114RESLIB1IMAGES=$(PRJ)$/res 115RESLIB1SRSFILES=$(RESLIB1LIST) 116RESLIB1DEPN=$(RESLIB1LIST) 117 118#RESLIB1SRSFILES=$(SRS)$/$(TARGET).srs 119#RESLIB1DEPN= SRCFILES 120 121# --- Targets ----------------------------------------------------------------- 122 123.INCLUDE: target.mk 124 125ALLTAR : $(MISC)/chartcontroller.component 126 127$(MISC)/chartcontroller.component .ERRREMOVE : \ 128 $(SOLARENV)/bin/createcomponent.xslt chartcontroller.component 129 $(XSLTPROC) --nonet --stringparam uri \ 130 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 131 $(SOLARENV)/bin/createcomponent.xslt chartcontroller.component 132