mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
--- Makefile.orig Tue Apr 3 12:43:10 2001
|
|
+++ Makefile Tue Apr 3 12:45:43 2001
|
|
@@ -21,7 +21,7 @@
|
|
# SGI {SGI Workstation running Irix (SYSV/R4) Unix}
|
|
# SUN {Sun SparcStation running Solaris (SYSV/R4) Unix}
|
|
# SUN_GCC {Sun SparcStation running Solaris but using gcc
|
|
-# FreeBSD {80X86 architecture running FreeBSD (Unix)}
|
|
+# FreeBSD {80X86/Alpha architecture running FreeBSD (Unix)}
|
|
# NetBSD {multi-architecture running NetBSD (Unix)}
|
|
# Cygwin {80X86 running Cygwin under Win32 (Unix)}
|
|
#
|
|
@@ -142,14 +142,23 @@
|
|
asm='X86.o' \
|
|
crafty-make
|
|
|
|
-freebsd:
|
|
+freebsd-i386:
|
|
$(MAKE) target=FreeBSD \
|
|
- CC=gcc CXX='$$(CC)' \
|
|
- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \
|
|
+ CC='$(CC)' CXX='$(CXX)' \
|
|
+ CFLAGS='$(CFLAGS)' \
|
|
LDFLAGS='$(LDFLAGS)' \
|
|
opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
|
|
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \
|
|
asm=X86-elf.o \
|
|
+ crafty-make
|
|
+
|
|
+# This should work for non-i386 FreeBSD (e.g. Alpha)
|
|
+freebsd-generic:
|
|
+ $(MAKE) target=FreeBSD \
|
|
+ CC='$(CC) CXX='$(CXX)' \
|
|
+ CFLAGS='$(CFLAGS)' \
|
|
+ LDFLAGS='$(LDFLAGS)' \
|
|
+ opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DFAST' \
|
|
crafty-make
|
|
|
|
freebsd-pgcc:
|