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=.. 29 30PRJNAME=registry 31TARGET=regtest 32TARGETTYPE=CUI 33LIBTARGET=NO 34 35ENABLE_EXCEPTIONS := TRUE 36 37# --- Settings ----------------------------------------------------- 38.INCLUDE : settings.mk 39 40# --- Files -------------------------------------------------------- 41CDEFS += -DDLL_VERSION=$(EMQ)"$(DLLPOSTFIX)$(EMQ)" 42 43RGTLIB = rgt.lib 44.IF "$(GUI)"=="UNX" || "$(GUI)"=="OS2" 45RGTLIB = -lrgt$(DLLPOSTFIX) 46.ENDIF 47 48 49CXXFILES= regtest.cxx \ 50 test.cxx \ 51 regspeed.cxx 52 53 54APP1TARGET= $(TARGET) 55APP1OBJS= $(OBJ)$/regtest.obj 56 57APP1STDLIBS=\ 58 $(SALLIB) \ 59 $(REGLIB) 60 61APP2TARGET= test 62APP2OBJS= $(OBJ)$/test.obj 63APP2RPATH=NONE 64.IF "$(GUI)"=="UNX" && "$(OS)"!="MACOSX" 65 66.IF "$(OS)"=="LINUX" 67APP2LINKFLAGS=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../lib'\' 68.ENDIF 69 70.IF "$(OS)"=="SOLARIS" 71APP2LINKFLAGS=-R\''$$ORIGIN/../lib:$$ORIGIN'\' 72.ENDIF 73 74.ENDIF # "$(OS)"=="UNX" 75 76APP2STDLIBS=\ 77 $(RGTLIB) 78 79APP3TARGET= regspeed 80APP3OBJS= $(OBJ)$/regspeed.obj 81 82APP3STDLIBS=\ 83 $(SALLIB) \ 84 $(REGLIB) 85 86.INCLUDE : target.mk 87