projects
/
rrq
/
rrqnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved -tpg argument to be second
[rrq/rrqnet.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index a1d7d0c2e5dbc37e74a96c888ff8db4ed52a1d51..946dbbc943da34211151c55203a758e31d48c8f7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,12
+1,13
@@
-SBINDIR = $(DESTDIR)/usr/
local/
sbin
+SBINDIR = $(DESTDIR)/usr/sbin
ETCDIR = $(DESTDIR)/etc/rrqnet
ETCDIR = $(DESTDIR)/etc/rrqnet
-MAN1DIR = $(DESTDIR)/usr/
local/
share/man/man1
-MAN8DIR = $(DESTDIR)/usr/
local/
share/man/man8
+MAN1DIR = $(DESTDIR)/usr/share/man/man1
+MAN8DIR = $(DESTDIR)/usr/share/man/man8
-SBINFILES = rrqnet rrqnet-cron.sh
+SBINCFILES = rrqnet
+SBINFILES = rrqnet-cron $(SBINCFILES)
ETCFILES = set-source-route.sh ifupdown.sh
MAN1FILES =
ETCFILES = set-source-route.sh ifupdown.sh
MAN1FILES =
-MAN8FILES = rrqnet.8 rrqnet-cron.sh.8
+MAN8FILES = rrqnet.8 rrqnet-cron.
8 rrqnet-ifupdown.
sh.8
HTMLDOC = $(MAN8FILES:%=%.html)
.PHONY: ifupdown.sh
HTMLDOC = $(MAN8FILES:%=%.html)
.PHONY: ifupdown.sh
@@
-30,12
+31,13
@@
rrqnet.E: rrqnet.c htable.c
COMPILEOPTS = -g -W -Wall
#COMPILEOPTS = -pg -no-pie -g -DGPROF
COMPILEOPTS = -g -W -Wall
#COMPILEOPTS = -pg -no-pie -g -DGPROF
-$(filter-out %.sh,$(SBINFILES)): %: %.c
- $(CC) $(COMPILEOPTS) -static -o $@ $^ $(LDFLAGS)
+#STATIC = -static
+$(filter-out %.sh,$(SBINCFILES)): %: %.c
+ $(CC) $(COMPILEOPTS) $(STATIC) -o $@ $^ $(LDFLAGS)
.PHONY: clean
clean:
.PHONY: clean
clean:
- rm -f $(filter-out %.sh,$(SBINFILES))
+ rm -f $(filter-out %.sh,$(SBIN
C
FILES))
# Installation targets
# Installation targets