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