322e165c62
- clean up patches
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2001/10/08 23:34:42 naddy Exp $
|
|
--- Makefile.orig Mon Feb 17 04:18:04 1997
|
|
+++ Makefile Tue Oct 9 01:27:18 2001
|
|
@@ -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))
|
|
@@ -147,8 +147,8 @@ GUESTACCOUNT = nobody
|
|
#
|
|
# This is for OpenBSD.
|
|
#
|
|
-# FLAGSM = -DOPENBSD -DSHADOW_PWD
|
|
-# LIBSM = -lcrypt
|
|
+FLAGSM = -DOPENBSD -DSHADOW_PWD
|
|
+LIBSM =
|
|
|
|
# This is for NetBSD. Add -DNETBSD_1_0 if you are using 1.0
|
|
# contributed by noses@oink.rhein.de
|
|
@@ -366,7 +366,7 @@ SRCS = nat.c client.c util.c system.c nm
|
|
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
|