--- Makefile.orig Mon Feb 17 13:48:04 1997 +++ Makefile Fri Apr 9 23:13:30 1999 @@ -2,7 +2,7 @@ # Makefile for Samba SMB client/server for unix # Copyright Andrew Tridgell 1992,1993,1994 ########################################################################### -CC = gcc +CC ?= gcc # set this to the default group you want your machine to appear in # for browsing. This can also be set in nmbd (see nmbd(8)) @@ -189,8 +189,8 @@ # This is for FreeBSD # contributed by kuku@acds.physik.rwth-aachen.de # NOTE: You may need to add -DBSD44 if you have password problems -# FLAGSM = -DFreeBSD -# LIBSM = -lcrypt +FLAGSM = -DFreeBSD +LIBSM = -lcrypt # This is for NEXTSTEP Release 2.X @@ -366,7 +366,7 @@ OBJS = nat.o client.o util.o system.o nmb.o charset.o parse_ip.o CFLAGS1 = -DSTEPPING -DSCANNER -DVERBOSE CFLAGS2 = -DWORKGROUP=\"$(WORKGROUP)\" -DGUEST_ACCOUNT=\"$(GUESTACCOUNT)\" -CFLAGS = $(CFLAGS1) $(CFLAGS2) $(FLAGSM) +CFLAGS += $(CFLAGS1) $(CFLAGS2) $(FLAGSM) LIBS = $(LIBSM) all : nat