makefile.mk 2.5 KB
Newer Older
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 12 13
# 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.
14
#
15 16 17 18 19
# 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).
20
#
21 22 23 24
# 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.
25 26 27 28 29 30 31 32 33 34 35 36 37 38
#
#*************************************************************************

PRJ=.

PRJNAME=so_neon
TARGET=so_neon

# --- Settings -----------------------------------------------------

.INCLUDE :	settings.mk

# --- Files --------------------------------------------------------

39 40 41 42 43
.IF "$(SYSTEM_NEON)" == "YES"
@all:
    @echo "Using system neon...."
.ENDIF

44 45 46 47 48
.IF "$(DISABLE_NEON)" == "TRUE"
@all:
    @echo "neon disabled...."
.ENDIF

49
NEON_NAME=neon-0.29.5
50 51

TARFILE_NAME=$(NEON_NAME)
52
TARFILE_MD5=ff369e69ef0f0143beb5626164e87ae2
Michael Stahl's avatar
Michael Stahl committed
53
PATCH_FILES=neon.patch neon_ne_set_request_flag.patch
54

55
.IF "$(GUI)"=="WNT"
56 57 58 59 60
    PATCH_FILES+=neon_exports_win.patch
.ELSE
    PATCH_FILES+=neon_exports_unix.patch
.ENDIF

61
ADDITIONAL_FILES=src$/makefile.mk src$/config.h
62

63
BUILD_DIR=src
64
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
65 66

OUT2INC= \
67 68 69 70
    $(BUILD_DIR)$/ne_207.h \
    $(BUILD_DIR)$/ne_alloc.h \
    $(BUILD_DIR)$/ne_auth.h \
    $(BUILD_DIR)$/ne_basic.h \
71
    $(BUILD_DIR)$/ne_compress.h \
72 73 74 75 76 77 78
    $(BUILD_DIR)$/ne_defs.h \
    $(BUILD_DIR)$/ne_locks.h \
    $(BUILD_DIR)$/ne_props.h \
    $(BUILD_DIR)$/ne_redirect.h \
    $(BUILD_DIR)$/ne_request.h \
    $(BUILD_DIR)$/ne_session.h \
    $(BUILD_DIR)$/ne_socket.h \
79
    $(BUILD_DIR)$/ne_ssl.h \
80 81 82
    $(BUILD_DIR)$/ne_string.h \
    $(BUILD_DIR)$/ne_uri.h \
    $(BUILD_DIR)$/ne_utils.h \
83 84
    $(BUILD_DIR)$/ne_xml.h \
    $(BUILD_DIR)$/ne_xmlreq.h
85 86 87 88 89 90 91

# --- Targets ------------------------------------------------------

.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk