Sidebar re autoconf
David Collier-Brown
david.collier-brown at Canada.Sun.COM
Mon Apr 13 14:37:18 GMT 1998
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
-------------- next part --------------
#
# 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 at 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 at 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 at 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)
More information about the samba-technical
mailing list