mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Be nicer with CFLAGS
- Preserve autobench.conf by installing autobench.conf-dist
This commit is contained in:
parent
480696d0aa
commit
da03fa1645
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126613
2 changed files with 15 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- Makefile.orig Sat Nov 1 17:15:35 2003
|
--- Makefile.orig Thu May 27 18:59:27 2004
|
||||||
+++ Makefile Sat Nov 1 17:16:01 2003
|
+++ Makefile Sun Jan 16 19:44:14 2005
|
||||||
@@ -20,9 +20,9 @@
|
@@ -20,9 +20,9 @@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -8,8 +8,17 @@
|
||||||
-CFLAGS=-O2 -Wall
|
-CFLAGS=-O2 -Wall
|
||||||
-DEBUG_FLAGS=-Wall -g
|
-DEBUG_FLAGS=-Wall -g
|
||||||
+CC?=gcc
|
+CC?=gcc
|
||||||
+CFLAGS?=-O2 -Wall
|
+CFLAGS+= -Wall
|
||||||
+DEBUG_FLAGSi?=-Wall -g
|
+DEBUG_FLAGS?=-Wall -g
|
||||||
|
|
||||||
all: crfile sesslog
|
#---------------------------------------------------------------------------
|
||||||
|
# Release related
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
perl -pi -e 's/my \$$MASTER_CONFIG =.*$$/my \$$MASTER_CONFIG = "$$ENV{AB_CFG}";/' autobench
|
||||||
|
cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR)
|
||||||
|
cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR)
|
||||||
|
- cp autobench.conf $(ETCDIR)
|
||||||
|
+ cp autobench.conf $(ETCDIR)/autobench.conf-dist
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f crfile sesslog
|
||||||
|
|
|
@ -4,4 +4,4 @@ bin/autobenchd
|
||||||
bin/bench2graph
|
bin/bench2graph
|
||||||
bin/crfile
|
bin/crfile
|
||||||
bin/sesslog
|
bin/sesslog
|
||||||
etc/autobench.conf
|
etc/autobench.conf-dist
|
||||||
|
|
Loading…
Add table
Reference in a new issue