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#************************************************************************* 27LINKFLAGSDEFS="" 28 29PRJ=..$/.. 30 31PRJNAME=cppuhelper 32TARGET=defbootstrap 33ENABLE_EXCEPTIONS=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39PERLINST1:=$(shell @+$(PERL) -V:installarchlib) 40PERLINST2:=$(subst,installarchlib=, $(PERLINST1)) 41PERLINST3:=$(PERLINST2:s/'//) 42PERLINST :=$(PERLINST3:s/;//) 43 44PERLLIBS:=$(PERLINST)$/CORE 45PERLINCS:=$(PERLINST)$/CORE 46 47CFLAGS += -I$(PERLINCS) 48 49.IF "$(GUI)"=="WNT" 50PERLLIB=perl58.lib 51 52LIB!:=$(LIB);$(PERLLIBS) 53.EXPORT : LIB 54 55.ENDIF 56 57# --- Files -------------------------------------------------------- 58 59#CFLAGS += -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC -I/develop6/update/dev/solenv/unxlngi3/lib/perl5/5.6.0/i686-linux/CORE/ 60#CFLAGS += -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -KPIC -I/develop6/update/dev/solenv/unxsols2/lib/perl5/5.6.0/sun4-solaris/CORE 61 62SLOFILES= $(SLO)$/defbootstrap_lib.obj 63 64SHL1TARGET=$(TARGET) 65 66SHL1STDLIBS= \ 67 $(PERLLIB) \ 68 $(CPPUHELPERLIB) \ 69 $(CPPULIB) \ 70 $(SALLIB) 71 72SHL1DEPN= 73SHL1IMPLIB=i$(TARGET) 74SHL1LIBS=$(SLB)$/$(TARGET).lib 75SHL1DEF=$(MISC)$/$(SHL1TARGET).def 76 77DEF1NAME=$(SHL1TARGET) 78SHL1VERSIONMAP=defbootstrap.map 79 80 81.IF "$(GUI)"=="WNT" 82UNODLL=$(DLLDEST)$/UNO.dll 83.ELSE 84UNODLL=$(DLLDEST)$/UNO.so 85.ENDIF 86 87# --- Targets ------------------------------------------------------ 88 89.IF "$(depend)" == "" 90ALL: \ 91 ALLTAR \ 92 $(UNODLL) \ 93 $(BIN)$/UNO.pm 94.ENDIF 95 96$(BIN)$/UNO.pm: UNO.pm 97 cp UNO.pm $@ 98 99$(UNODLL): $(SHL1TARGETN) 100 cp $(SHL1TARGETN) $@ 101 102.INCLUDE : target.mk 103 104