blob: c7b208b710d8dbf4182de92a7d60b31a3bdb10cb (
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
27
|
--- Makefile.orig Tue Dec 9 13:13:54 2003
+++ Makefile Thu May 10 11:19:20 2007
@@ -6,7 +6,7 @@
#CFLAGS = -w1 -O3 -march=pentiumiii -mcpu=pentiumpro -DAVOID_NAN_TEST
#MACHINE = INTEL
MAKE = /usr/bin/make
-SYSLIB = -export-dynamic -ldl -L/usr/X11R6/lib
+SYSLIB = -export-dynamic -ldl -L${LOCALBASE}/lib
# Windows 95/98/NT using Cygwin:
ifeq ($(HOSTTYPE),i686)
@@ -14,6 +14,15 @@
CFLAGS = -Wall -O4 -march=i486
MAKE = make
EXT = .exe
+ SYSLIB =
+endif
+# FreeBSD
+ifeq ($(HOSTTYPE),FreeBSD)
+ MACHINE = FREEBSD
+ MAKE = gmake
+ CC = cc
+ CFLAGS = -pipe -O -DAVOID_NAN_TEST -DHAVE_LIMITS_H -DHAVE_UNISTD_H
+ EXT =
SYSLIB =
endif
# Macintosh X:
|