1999-01-03 00:04:23 +00:00
|
|
|
--- Makefile.orig Thu Nov 5 20:53:45 1998
|
|
|
|
+++ Makefile Wed Dec 16 21:15:04 1998
|
1998-09-19 20:23:07 +00:00
|
|
|
@@ -69,13 +69,13 @@
|
|
|
|
# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B
|
|
|
|
# asm = X86.o
|
|
|
|
|
|
|
|
-# FreeBSD (gcc 2.6.3)
|
|
|
|
-#target = FreeBSD
|
1999-01-03 00:04:23 +00:00
|
|
|
+# FreeBSD (gcc 2.7.2.1)
|
|
|
|
+target = FreeBSD
|
|
|
|
#CC = gcc
|
1998-10-10 03:54:36 +00:00
|
|
|
-#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall
|
|
|
|
-#LDFLAGS =
|
1998-09-19 20:23:07 +00:00
|
|
|
-#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
|
|
|
|
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
|
1999-01-03 00:04:23 +00:00
|
|
|
+#CFLAGS = -pipe -O -Wall
|
1998-10-10 03:54:36 +00:00
|
|
|
+LDFLAGS =
|
1998-09-19 20:23:07 +00:00
|
|
|
+opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
|
|
|
|
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
|
|
|
|
|
|
|
|
# FreeBSD (pgcc)
|
|
|
|
#target = FreeBSD
|
|
|
|
@@ -95,18 +95,21 @@
|
|
|
|
|
|
|
|
# LINUX
|
|
|
|
# Note: You have to uncomment exactly ONE of the `asm' lines below.
|
|
|
|
-target = LINUX
|
|
|
|
-CC = gcc
|
1999-01-03 00:04:23 +00:00
|
|
|
-CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
|
1998-09-19 20:23:07 +00:00
|
|
|
-LDFLAGS = -lpthread
|
|
|
|
-opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
|
|
|
|
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
|
|
|
|
+#target = LINUX
|
|
|
|
+#CC = gcc
|
1999-01-03 00:04:23 +00:00
|
|
|
+#CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
|
1998-09-19 20:23:07 +00:00
|
|
|
+#LDFLAGS = -lpthread
|
|
|
|
+#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
|
|
|
|
+# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
|
|
|
|
|
|
|
|
# Uncomment the FIRST `asm' line for a.out systems.
|
|
|
|
# Uncomment the SECOND `asm' line for ELF systems.
|
|
|
|
#
|
|
|
|
-#asm = X86-aout.o
|
|
|
|
+.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
+asm = X86-aout.o
|
|
|
|
+.else
|
|
|
|
asm = X86-elf.o
|
|
|
|
+.endif
|
|
|
|
|
|
|
|
# NEXT
|
|
|
|
#target = NEXT
|
1999-01-03 00:04:23 +00:00
|
|
|
@@ -147,7 +150,7 @@
|
|
|
|
|
|
|
|
# Do not change anything below this line!
|
|
|
|
|
|
|
|
-opts = $(opt) -D$(target)
|
|
|
|
+CFLAGS += $(opt) -D$(target)
|
|
|
|
|
|
|
|
objects = searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o \
|
|
|
|
nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o \
|