Commit Diff
Diff:
b3795565584002672c38d4f2196f106ffeb8ab2d
26f7d1a125037927ddf677f9e30769bee2db0b27
Commit:
26f7d1a125037927ddf677f9e30769bee2db0b27
Tree:
601abd96cb2715473800b2a9c2a4ae9f1485778e
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Mar 3 10:58:21 2018 UTC
Message:
Makefile.linux update to build dddctl. Not tested, yet.
blob - 7ac65f2e5d1077622f48257a2efb03ff3bfc4c99
blob + 4d0ff72cbe1d317a840cc4fe16131672ee00eda2
--- Makefile.linux
+++ Makefile.linux
@@ -6,13 +6,13 @@ YACC=bison
AR=ar
-all: delphinusdnsd dd-convert
+all: delphinusdnsd dddctl
delphinusdnsd: imsg-buffer.o imsg.o additional.o parse.o delphinusdnsd.o reply.o region.o log.o axfr.o filter.o ratelimit.o whitelist.o base64.o dnssec.o util.o ent.o db.o
$(CC) $(CFLAGS) -o delphinusdnsd/delphinusdnsd additional.o imsg-buffer.o imsg.o delphinusdnsd.o parse.o reply.o region.o log.o axfr.o filter.o ratelimit.o whitelist.o base64.o dnssec.o util.o ent.o db.o $(LDADD)
-dd-convert: dd-convert.o util.o dnssec.o parse.o base64.o ent.o
- $(CC) $(CFLAGS) -o dd-convert/dd-convert dd-convert.o util.o dnssec.o base64.o parse.o ent.o db.o $(LDADD)
+dddctl: dddctl.o util.o dnssec.o parse.o base64.o ent.o
+ $(CC) $(CFLAGS) -o dddctl/dddctl dddctl.o util.o dnssec.o base64.o parse.o ent.o db.o $(LDADD)
imsg-buffer.o: imsg-buffer.c
@@ -24,8 +24,8 @@ imsg.o: imsg.c
db.o: db.c
$(CC) $(CFLAGS) -c db.c
-dd-convert.o: dd-convert.c
- $(CC) $(CFLAGS) -c dd-convert.c
+dddctl.o: dddctl.c
+ $(CC) $(CFLAGS) -c dddctl.c
parse.o: parse.y
$(YACC) $(CFLAGS) -y -d parse.y
@@ -71,11 +71,11 @@ util.o: util.c
ent.o: ent.c
$(CC) $(CFLAGS) -c ent.c
-install: install-delphinusdnsd install-dd-convert
+install: install-delphinusdnsd install-dddctl
-install-dd-convert:
- test -f dd-convert/dd-convert && install -m 555 dd-convert/dd-convert /usr/local/sbin/
- mkdir -p /usr/local/man/man8 && install -m 444 dd-convert.8 /usr/local/man/man8
+install-dddctl:
+ test -f dddctl/dddctl && install -m 555 dddctl/dddctl /usr/local/bin/
+ mkdir -p /usr/local/man/man1 && install -m 444 dddctl.1 /usr/local/man/man1
install-delphinusdnsd:
test -f delphinusdnsd/delphinusdnsd && install -m 555 delphinusdnsd/delphinusdnsd /usr/local/sbin/
@@ -84,4 +84,4 @@ install-delphinusdnsd:
clean:
- rm -f *.o delphinusdnsd/delphinusdnsd dd-convert/dd-convert
+ rm -f *.o delphinusdnsd/delphinusdnsd dddctl/dddctl
repomaster@centroid.eu