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 = updateinfo 30PACKAGE = com$/sun$/star$/comp$/smoketest 31TARGET = com_sun_star_comp_smoketest 32 33no_common_build_zip:=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39JARFILES = ridl.jar jurt.jar unoil.jar juh.jar 40 41 42JARTARGET = TestExtension.jar 43JARCOMPRESS = TRUE 44CUSTOMMANIFESTFILE = MANIFEST.MF 45 46ZIP1TARGET=updateinfo 47ZIP1LIST=* 48ZIPFLAGS=-r 49ZIP1DIR=$(MISC)$/$(TARGET) 50ZIP1EXT=.oxt 51 52EXTUPDATEINFO_NAME=org.openoffice.extensions.testarea.desktop.updateinfo.update.xml 53EXTUPDATEINFO_SOURCE=description.xml 54EXTUPDATEINFO_URLS = http://extensions.openoffice.org/testarea/desktop/updateinfocreation/update/updateinfo.oxt 55# --- Files -------------------------------------------------------- 56 57COPY_OXT_MANIFEST:= $(MISC)$/$(TARGET)$/META-INF$/manifest.xml 58JAVAFILES = TestExtension.java 59 60# --- Targets ------------------------------------------------------ 61 62.INCLUDE : target.mk 63 64$(JARTARGETN) : $(MISC)$/$(TARGET).javamaker.done 65 66$(JAVACLASSFILES) : $(MISC)$/$(TARGET).javamaker.done 67 68$(MISC)$/$(TARGET).javamaker.done: $(BIN)$/TestExtension.rdb 69 $(JAVAMAKER) -O$(CLASSDIR) -BUCR -nD -X$(SOLARBINDIR)/types.rdb $< 70 $(TOUCH) $@ 71 72$(BIN)$/TestExtension.rdb: TestExtension.idl 73 $(IDLC) -O$(MISC) -I$(SOLARIDLDIR) -cid -we $< 74 +-$(RM) $@ 75 $(REGMERGE) $@ /UCR $(MISC)$/TestExtension.urd 76 77$(MISC)$/$(ZIP1TARGET).createdir : 78 +$(MKDIRHIER) $(MISC)$/$(TARGET)$/META-INF >& $(NULLDEV) && $(TOUCH) $@ 79 80$(MISC)$/$(TARGET)_resort : manifest.xml $(JARTARGETN) $(MISC)$/$(ZIP1TARGET).createdir $(BIN)$/TestExtension.rdb description.xml 81 $(GNUCOPY) -u manifest.xml $(MISC)$/$(TARGET)$/META-INF$/manifest.xml 82 $(GNUCOPY) -u $(JARTARGETN) $(MISC)$/$(TARGET)$/$(JARTARGET) 83 $(GNUCOPY) -u $(BIN)$/TestExtension.rdb $(MISC)$/$(TARGET)$/TestExtension.rdb 84 $(GNUCOPY) -u description.xml $(MISC)$/$(TARGET)$/description.xml 85 $(TOUCH) $@ 86 87.IF "$(ZIP1TARGETN)"!="" 88$(ZIP1TARGETN) : $(MISC)$/$(TARGET)_resort $(MISC)$/$(ZIP1TARGET).createdir 89 90.ENDIF # "$(ZIP1TARGETN)"!="" 91 92