mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
--- Makefile.orig 1999-07-28 22:05:02 UTC
|
|
+++ Makefile
|
|
@@ -30,9 +30,7 @@
|
|
##############################################################################
|
|
ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
|
|
SHELL = /bin/sh
|
|
-#HZ = ???? #(read from environment)
|
|
-CFLAGS = -DTIME
|
|
-CC=gcc
|
|
+HZ = 128
|
|
|
|
## For Linux 486/Pentium, GCC 2.7.x and 2.8.x
|
|
#OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math \
|
|
@@ -44,7 +42,7 @@ CC=gcc
|
|
# -m386 -malign-loops=1 -malign-jumps=1 -malign-functions=1
|
|
|
|
## For Solaris 2, or general-purpose GCC 2.7.x
|
|
-OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math -Wall
|
|
+#OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math -Wall
|
|
|
|
## Very generic
|
|
#OPTON = -O
|
|
@@ -54,14 +52,14 @@ OPTON = -O2 -fomit-frame-pointer -fforce
|
|
#CFLAGS = -DTIME -std1 -verbose -w0
|
|
|
|
## generic gcc CFLAGS. -DTIME must be included
|
|
-CFLAGS = -DTIME -Wall -pedantic -ansi
|
|
+CFLAGS += -DTIME -Wall -pedantic -ansi
|
|
|
|
# local directories
|
|
PROGDIR = ./pgms
|
|
SRCDIR = ./src
|
|
TESTDIR = ./testdir
|
|
-RESULTDIR = ./results
|
|
-TMPDIR = ./tmp
|
|
+#RESULTDIR = ./results
|
|
+#TMPDIR = /var/tmp
|
|
# other directories
|
|
INCLDIR = /usr/include
|
|
LIBDIR = /lib
|