blob: 3e3b4f7a7340ba948db4cbc622b662d59c52a285 [file] [log] [blame]
#**************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#**************************************************************
PRJ=..$/..$/..
PRJNAME=shell
TARGET=misc
LIBTARGET=NO
TARGETTYPE=CUI
NO_DEFAULT_STL=TRUE
LIBSALCPPRT=$(0)
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
SCRIPTFILES = \
$(BIN)$/senddoc \
$(BIN)$/open-url \
$(BIN)$/cde-open-url \
$(BIN)$/gnome-open-url \
$(BIN)$/kde-open-url
.IF "$(GUI)" == "OS2"
APP1TARGET = open-url
APP1OBJS = \
$(OBJ)$/open-url.obj \
open-url.def
APP1LIBS =
APP2TARGET = senddoc
APP2OBJS = \
$(OBJ)$/senddoc.obj \
senddoc.def
APP2LIBS =
APP2STDLIBS =
.ELSE
APP1TARGET = gnome-open-url.bin
APP1OBJS = \
$(OBJ)$/gnome-open-url.obj
APP1LIBS =
.IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD"
APP1STDLIBS=-ldl
.ENDIF
APP2TARGET = uri-encode
APP2OBJS = $(OBJ)$/uri-encode.obj
APP2LIBS =
APP2STDLIBS =
OBJFILES = $(APP1OBJS) $(APP2OBJS)
.ENDIF
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(SCRIPTFILES) $(AWKFILES)
$(SCRIPTFILES) : $$(@:f:+".sh")
@tr -d "\015" < $(@:f:+".sh") > $@