2004-05-10 12:08:21 +00:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 15:01:35 +01:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# This file is part of OpenOffice.org.
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
2008-04-11 07:11:41 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2004-05-10 12:08:21 +00:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..$/..$/..
|
|
|
|
PRJNAME=shell
|
|
|
|
TARGET=misc
|
|
|
|
|
|
|
|
LIBTARGET=NO
|
|
|
|
TARGETTYPE=CUI
|
|
|
|
NO_DEFAULT_STL=TRUE
|
|
|
|
LIBSALCPPRT=$(0)
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
2011-11-25 23:51:33 +02:00
|
|
|
.IF "$(BUILD_TYPE)" == "$(BUILD_TYPE:s/DESKTOP//)"
|
2012-01-27 15:34:10 +02:00
|
|
|
|
2011-11-25 23:51:33 +02:00
|
|
|
ALL:
|
2012-01-27 15:34:10 +02:00
|
|
|
# nothing
|
|
|
|
|
2011-11-25 23:51:33 +02:00
|
|
|
.ENDIF
|
|
|
|
|
2004-05-10 12:08:21 +00:00
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
|
|
SCRIPTFILES = \
|
2004-06-17 14:42:14 +00:00
|
|
|
$(BIN)$/senddoc \
|
2004-05-10 12:08:21 +00:00
|
|
|
$(BIN)$/open-url \
|
|
|
|
$(BIN)$/cde-open-url \
|
|
|
|
$(BIN)$/gnome-open-url \
|
|
|
|
$(BIN)$/kde-open-url
|
|
|
|
|
|
|
|
APP1TARGET = gnome-open-url.bin
|
|
|
|
APP1OBJS = \
|
|
|
|
$(OBJ)$/gnome-open-url.obj
|
|
|
|
APP1LIBS =
|
2011-10-24 22:56:33 +02:00
|
|
|
APP1RPATH = OOO
|
2011-02-10 10:39:24 +01:00
|
|
|
.IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && \
|
|
|
|
"$(OS)"!="DRAGONFLY"
|
2004-05-10 12:08:21 +00:00
|
|
|
APP1STDLIBS=-ldl
|
|
|
|
.ENDIF
|
|
|
|
|
2006-08-01 10:26:32 +00:00
|
|
|
APP2TARGET = uri-encode
|
|
|
|
APP2OBJS = $(OBJ)$/uri-encode.obj
|
|
|
|
APP2LIBS =
|
2011-10-24 22:56:33 +02:00
|
|
|
APP2RPATH = OOO
|
2006-08-01 10:26:32 +00:00
|
|
|
APP2STDLIBS =
|
|
|
|
|
|
|
|
OBJFILES = $(APP1OBJS) $(APP2OBJS)
|
|
|
|
|
2004-05-10 12:08:21 +00:00
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2004-10-22 07:17:21 +00:00
|
|
|
ALLTAR : $(SCRIPTFILES) $(AWKFILES)
|
2004-05-10 12:08:21 +00:00
|
|
|
|
|
|
|
$(SCRIPTFILES) : $$(@:f:+".sh")
|
2007-01-25 11:37:37 +00:00
|
|
|
@tr -d "\015" < $(@:f:+".sh") > $@
|