563f09302e
- New MASTER_SITES, old one gone - provide a new web site - add license (BSD 2 clause) - take MAINTAINER, currently ports@ - pkg-descr - additions, and reflow PR: 211412 Submitted by: Chris Hutchinson <portmaster@bsdforge.com>
36 lines
904 B
Text
36 lines
904 B
Text
--- Makefile.orig 2016-07-27 04:50:31 UTC
|
|
+++ Makefile
|
|
@@ -1,5 +1,6 @@
|
|
|
|
-CFLAGS=-Wall -g -O0 -ansi -pedantic
|
|
+CC?= gcc
|
|
+CFLAGS+=-Wall -ansi -pedantic
|
|
|
|
SRCS=$(wildcard *.c)
|
|
|
|
@@ -8,13 +9,13 @@ all: sheerdns sheerdnshash sheerdns.ps
|
|
OBJECTS=$(SRCS:.c=.o)
|
|
|
|
sheerdns: $(OBJECTS)
|
|
- gcc -o sheerdns $(OBJECTS)
|
|
+ $(CC) -o sheerdns $(OBJECTS)
|
|
|
|
sheerdnshash: hash.c
|
|
- gcc $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall
|
|
+ $(CC) $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall
|
|
|
|
.c.o: $(SRCS)
|
|
- gcc $(CFLAGS) -c $<
|
|
+ $(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
rm -f sheerdns sheerdnshash *.o
|
|
@@ -26,6 +27,5 @@ sheerdns.ps:
|
|
groff -t sheerdns.8 > sheerdns.ps
|
|
|
|
install: all
|
|
- install sheerdnshash sheerdns /usr/sbin/
|
|
- install sheerdns.8 /usr/share/man/man8/
|
|
- install sheerdns.8 /usr/man/man8/
|
|
+ install sheerdnshash sheerdns $(DESTDIR)$(PREFIX)/sbin
|
|
+ install sheerdns.8 $(DESTDIR)$(MANPREFIX)/man/man8
|