Browse Source

Added BINDROOT var to Makefile

bbice 23 years ago
parent
commit
6745a8deba
1 changed files with 5 additions and 4 deletions
  1. 5 4
      plugins/filters/bulkquery/Makefile

+ 5 - 4
plugins/filters/bulkquery/Makefile

@@ -1,15 +1,16 @@
 
 DESTDIR=/usr/local/bin
+BINDROOT=/usr/local
 
 # Solaris
 #CC=gcc
-#CFLAGS=-I/usr/local/tools/bind920/bind/include -I/usr/local/tools/bind920/include
-#LDFLAGS=-L/usr/local/tools/bind920/lib -llwres -lsocket -lnsl -lpthread
+#CFLAGS=-I$(BINDROOT)/bind/include -I$(BINDROOT)/include
+#LDFLAGS=-L$(BINDROOT)/lib -llwres -lsocket -lnsl -lpthread
 
 # Linux
 CC=gcc
-CFLAGS=
-LDFLAGS= -lpthread -llwres
+CFLAGS=-I$(BINDROOT)/bind/include -I$(BINDROOT)/include
+LDFLAGS=-L$(BINDROOT)/lib -lpthread -llwres
 
 all: bulkquery