blob: bc216b44768514b722539913207c233abe364085 (
plain)
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
|
$NetBSD: patch-aa,v 1.3 2001/09/14 15:23:46 wiz Exp $
--- Makefile.orig Tue Jan 23 17:49:05 2001
+++ Makefile
@@ -2,15 +2,18 @@
# originally by Matt D. Smith
# rewritten by Rico Gloeckner <mc@verdinet.de>
-CC = gcc
-CFLAGS = -O4 -Wall -DUNIX
+#CC = gcc
+CFLAGS += -Wall -DUNIX
# uncomment the line below for debuging info
#CFLAGS += -g
CLIBS =
+
+.if (${OPSYS} == "SunOS")
#uncomment the line below if your using Solaris
-#CLIBS= -lnsl -lsocket
+CLIBS= -lnsl -lsocket
+.endif
#uncomment the line below if your using MiNT
#CLIBS= -lsocket
#uncomment the line below if your using NeXT
|