usr/src/cmd/postgres/postgresql-8.4/Makefile.sfw
author Cyril Plisko <cyril.plisko@grigale.com>
Mon, 08 Feb 2010 12:51:29 +0200
changeset 6 1fb1123973f8
parent 1 37d545eabfea
child 15 24b3ef38fbcd
permissions -rw-r--r--
Import sfw build 132 Bugs Fixed ---------- 6802880 Add NTLM support to fetchmail 6825333 Update fetchmail to version 6.3.13 6857014 Update MySQL in Nevada to version 5.1.37 6857426 Desire to have gnuplot in Solaris WOS 6892501 Bad build of mysql: reproducible segfault on SUNWmysql, not found in mysql.com-released versions 6895305 Package SUNWswig delivers python scripts with wrong interpreters path 6906268 CVE-2009-4029 - race condition vulnerability in automake 6910076 mc should use slang from proto area instead of installed system 6911348 back port pdo race bug for opensolaris 6911349 deliver nsapi extension within php for opensolaris 6911952 logilab-common and logilab-astng do not build correctly in OpenSolaris 6912082 Update check-deps.pl to version 2009-12-18 6914260 update default copyright to 2010 6915019 SFW build issues with python2.6 as the default 6915404 back port nsapi optimization patch for opensolaris 6915651 Regression in libexpat may break XML parser
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     1
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     2
# CDDL HEADER START
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     3
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     7
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    11
# and limitations under the License.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    12
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    18
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    19
# CDDL HEADER END
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    20
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    21
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    22
#
6
1fb1123973f8 Import sfw build 132
Cyril Plisko <cyril.plisko@grigale.com>
parents: 1
diff changeset
    23
# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    24
# Use is subject to license terms.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    25
#
6
1fb1123973f8 Import sfw build 132
Cyril Plisko <cyril.plisko@grigale.com>
parents: 1
diff changeset
    26
#ident	"@(#)Makefile.sfw	1.2	10/01/08 SMI"
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    27
#
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    28
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    29
include ../../Makefile.cmd
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    30
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    31
VER =		$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    32
VER64 = 	$(VER)-64
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    33
TARBALL =	$(VER).tar.bz2
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    34
PGMAJVER =	`echo $(COMPONENT_VERSION:sh) | cut -d. -f-2`
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    35
PATCHES:sh =	echo Patches/*.patch
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    36
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    37
# We disable rpath for all, because libpq is finally in /usr/lib.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    38
# But we need still set rpath for libecpg. We need to patch libecpg
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    39
# Makefile separately.
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    40
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    41
CONFIGURE_OPTIONS = --prefix=/usr/postgres/$(PGMAJVER)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS += --exec-prefix=/usr/postgres/$(PGMAJVER)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS += --datadir=/usr/postgres/$(PGMAJVER)/share
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS += --sysconfdir=/etc/postgres
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS += --mandir=/usr/postgres/$(PGMAJVER)/man
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS += --includedir=/usr/postgres/$(PGMAJVER)/include
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --sharedstatedir=/var/postgres/$(PGMAJVER)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --localstatedir=/var/postgres/$(PGMAJVER)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --localedir=/usr/share/locale
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --docdir=/usr/postgres/$(PGMAJVER)/doc
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --htmldir=/usr/postgres/$(PGMAJVER)/doc
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --enable-nls
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --with-system-tzdata=/usr/share/lib/zoneinfo
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --with-tcl
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --with-python
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --with-pam
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --with-openssl
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --with-libedit-preferred
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --with-libxml
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --with-libxslt
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --with-gssapi
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --enable-thread-safety
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-dtrace
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --enable-integer-datetimes
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --disable-rpath
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    66
CONFIGURE_OPTIONS += --with-includes=$(ROOT)/usr/include
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --with-tclconfig=$(ROOT)/usr/lib
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    68
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    69
CONFIGURE_OPTIONS32 = $(CONFIGURE_OPTIONS)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    70
CONFIGURE_OPTIONS32 += --with-perl
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    71
CONFIGURE_OPTIONS32 += --bindir=/usr/postgres/$(PGMAJVER)/bin
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    72
CONFIGURE_OPTIONS32 += --libexecdir=/usr/postgres/$(PGMAJVER)/bin
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    73
CONFIGURE_OPTIONS32 += --sbindir=/usr/postgres/$(PGMAJVER)/bin
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    74
CONFIGURE_OPTIONS32 += --libdir=/usr/postgres/$(PGMAJVER)/lib
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    75
CONFIGURE_OPTIONS32 += --with-libs=$(ROOT)/lib:$(ROOT)/usr/lib:/usr/lib
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    76
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    77
CONFIGURE_OPTIONS64 = $(CONFIGURE_OPTIONS)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    78
CONFIGURE_OPTIONS64 += --bindir=/usr/postgres/$(PGMAJVER)/bin/$(MACH64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    79
CONFIGURE_OPTIONS64 += --libexecdir=/usr/postgres/$(PGMAJVER)/bin/$(MACH64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    80
CONFIGURE_OPTIONS64 += --sbindir=/usr/postgres/$(PGMAJVER)/bin/$(MACH64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    81
CONFIGURE_OPTIONS64 += --libdir=/usr/postgres/$(PGMAJVER)/lib/$(MACH64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    82
CONFIGURE_OPTIONS64 += --with-libs=$(ROOT)/lib/$(MACH64):$(ROOT)/usr/lib/$(MACH64):/usr/lib/$(MACH64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    83
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    84
# We need /usr/sbin for dtrace
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    85
SFW_PATH="$(PATH):/usr/sbin"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    86
CFLAGS_COM =-erroff=E_STATEMENT_NOT_REACHED
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    87
TARGET_ENV +=   CC="$(CC)"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    88
TARGET_ENV +=   LD_OPTIONS="-M $(SRC)/cmd/mapfile_noexstk"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    89
TARGET_ENV +=   MAKE="$(GMAKE)"
6
1fb1123973f8 Import sfw build 132
Cyril Plisko <cyril.plisko@grigale.com>
parents: 1
diff changeset
    90
TARGET_ENV +=   INSTALL="$(INSTALL_PROTO)"
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    91
TARGET_ENV +=   PATH="$(SFW_PATH)"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    92
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    93
TARGET_ENV32 = $(TARGET_ENV)
6
1fb1123973f8 Import sfw build 132
Cyril Plisko <cyril.plisko@grigale.com>
parents: 1
diff changeset
    94
TARGET_ENV32 += PYTHON="$(PYTHON24)"
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    95
TARGET_ENV32 += CFLAGS="$(CFLAGS) $(CFLAGS_COM)"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    96
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    97
TARGET_ENV64 = $(TARGET_ENV)
6
1fb1123973f8 Import sfw build 132
Cyril Plisko <cyril.plisko@grigale.com>
parents: 1
diff changeset
    98
TARGET_ENV64 += PYTHON="$(PYTHON24_64)"
1
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    99
TARGET_ENV64 += CFLAGS="$(CFLAGS64) $(CFLAGS_COM)"
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   100
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   101
all:=           TARGET = all
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   102
install:=       TARGET = install
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   103
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   104
all: pg32all pg64all
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   105
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   106
pg32all: pg32 pg32contrib
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   107
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   108
pg64all: pg64 pg64contrib
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   109
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   110
pg32: $(VER)/config.status
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   111
	(cd $(VER); env - $(GMAKE) $(TARGET) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   112
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   113
pg32contrib: pg32
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   114
	(cd $(VER)/contrib; env - $(GMAKE) $(TARGET) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   115
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   116
pg64: $(VER64)/config.status
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   117
	(cd $(VER64); env - $(GMAKE) $(TARGET) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   118
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   119
pg64contrib: pg64
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   120
	(cd $(VER64)/contrib; env - $(GMAKE) $(TARGET) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   121
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   122
install: install-protofix
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   123
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   124
install-target: pg32install pg64install
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   125
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   126
pg32install: $(VER)/config.status
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   127
	(cd $(VER); env - $(GMAKE) $(TARGET) DESTDIR=$(ROOT) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   128
	(cd $(VER)/contrib; env - $(GMAKE) $(TARGET) DESTDIR=$(ROOT) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   129
	(cd $(VER)/src/test/regress; env - $(GMAKE) install-tests DESTDIR=$(ROOT) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   130
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   131
	$(SH) ./install-sfw ${PGMAJVER} ${VER}
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   132
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   133
pg64install: $(VER64)/config.status
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   134
	for SRCDIR in src config contrib; do\
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   135
		(cd $(VER64)/$${SRCDIR}; env - $(GMAKE) $(TARGET) DESTDIR=$(ROOT) PATH="$(SFW_PATH)")\
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   136
	done
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   137
	(cd $(VER64)/src/test/regress; env - $(GMAKE) install-lib DESTDIR=$(ROOT) PATH="$(SFW_PATH)")
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   138
	MACH64=$(MACH64) $(SH) ./install-sfw-64 ${PGMAJVER} ${VER}
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   139
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   140
install-protofix: install-target
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   141
	for pkg in $(COMPONENT_PACKAGES:sh); do \
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   142
		$(SRC)/tools/protofix --pkg $$pkg --perm ; \
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   143
	done
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   144
        
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   145
$(VER)/config.status: $(VER)/.patched
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   146
	(cd $(VER) ; env - ./configure $(CONFIGURE_OPTIONS32) $(TARGET_ENV32))
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   147
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   148
$(VER64)/config.status: $(VER64)/.patched
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   149
	(cd $(VER64) ; env - ./configure $(CONFIGURE_OPTIONS64) $(TARGET_ENV64))
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   150
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   151
clean:
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   152
	-rm -rf $(VER)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   153
	-rm -rf $(VER64)
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   154
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   155
include ../../Makefile.targ
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   156
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   157
FRC:
37d545eabfea Import b127
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
   158