mirror of https://github.com/getdnsapi/getdns.git
modified: src/common/Makefile.in
fixed automatic variable incompatibility with FreeBSD make
This commit is contained in:
parent
1ec3886604
commit
e1f6baf37a
|
@ -15,8 +15,8 @@ srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -std=c99
|
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -I /usr/local/include -std=c99
|
||||||
LDFLAGS=-L.
|
LDFLAGS=-L. -L/usr/local/lib
|
||||||
LDLIBS=-levent_core -lldns -lgetdns
|
LDLIBS=-levent_core -lldns -lgetdns
|
||||||
PROGRAMS=example-simple-answers example-tree example-all-functions example-synchronous
|
PROGRAMS=example-simple-answers example-tree example-all-functions example-synchronous
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ PROGRAMS=example-simple-answers example-tree example-all-functions example-synch
|
||||||
all: libgetdns example-simple-answers example-tree example-all-functions example-synchronous
|
all: libgetdns example-simple-answers example-tree example-all-functions example-synchronous
|
||||||
|
|
||||||
libgetdns: getdns_sync.o getdns_context.o getdns_list.o getdns_dict.o getdns_address.o getdns_convert.o getdns_general.o getdns_hostname.o getdns_service.o getdns_validate_dnssec.o
|
libgetdns: getdns_sync.o getdns_context.o getdns_list.o getdns_dict.o getdns_address.o getdns_convert.o getdns_general.o getdns_hostname.o getdns_service.o getdns_validate_dnssec.o
|
||||||
$(CC) $(CFLAGS) -shared -o libgetdns.so $^
|
$(CC) $(CFLAGS) -shared -o libgetdns.so $?
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(PROGRAMS) libgetdns.so
|
rm -f *.o $(PROGRAMS) libgetdns.so
|
||||||
|
|
Loading…
Reference in New Issue