Message-Id: <199804131437.KAA00543@elsbeth.canada.sun.com> Date: Mon, 13 Apr 1998 10:37:18 -0400 (EDT) From: David Collier-Brown <david.collier-brown@Canada.Sun.COM> Subject: Re: Sidebar re autoconf To: tridge@samba.anu.edu.au
--Pod_of_Whales_870_000
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: Nj3D0F4E696zzOt5JVZm6Q==
I've attached an example of the (minor!) change I'd propose for the
porting part of the makefile...
I do ned to re-look at autoconf and friends, to see what they can
detect and what they call it...
--dave
--Pod_of_Whales_870_000
Content-Type: TEXT/plain; name=Hackity; charset=us-ascii; x-unix-mode=0644
Content-Description: Hackity
Content-MD5: tRlFpz5w01k6/gL2XTb5Fg==
#
# Makefile for Samba SMB client/server for various unixes
# Copyright Andrew Tridgell 1992-1998
# Copyright John H Terpstra 1995-1998
# Addition material by David Collier-Brown, 1998,
# Copyright assigned to Andrew Tridgell.
# Contents:
# 1: OS-specific material (missing capabilities, features)
# 2: Site-specific compile- and install-tree locations
# 3: Normal Makefile material
#
# Part 1: OS-specific material (includes compilers)
# A full list of flags is in PORTING.txt in ../docs,
# which also covers autoconf verification
#
# SunOS 4, contributed by Andrew.Tridgell@anu.edu.au
# LACKING=-DSUNOS4
# OPTIONS=-DFAST_SHARE_MODES
# LIBSM=
# AWK= nawk
# CC= gcc # or acc
# SUNOS 5.2, 5.3 (Solaris 2.2, 2.3) contributed by hdsi@newtech.net
# LACKING=-DSUNOS5 -DNO_STRFTIME
# OPTIONS=-DSHADOW_PWD -DNETGROUP -DFAST_SHARE_MODES
# LIBSM = -lsocket -lnsl
# AWK = nawk
# CC = # gcc or sun cc
# SUNOS 5.4-5.6 (Solaris 2.4 and later) contributed by Andrew.Tridgell@anu.edu.au
LACKING=-DSUNOS5
OPTIONS=-DSHADOW_PWD -DNETGROUP -DFAST_SHARE_MODES
LIBSM = -lsocket -lnsl
AWK = nawk
CC = /opt/SUNWspro/SC4.2/bin/cc
and eventually we have
FLAGSM=$(LACKING) $(OPTIONS)
--Pod_of_Whales_870_000--