blob: 4757521e867236901fc085616f469986d49b7df0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- 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
|