modified: src/common/Makefile.in

fixed automatic variable incompatibility with
FreeBSD make
This commit is contained in:
Melinda Shore 2013-07-22 12:53:41 -08:00
parent 1ec3886604
commit e1f6baf37a
1 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ srcdir = @srcdir@
VPATH = @srcdir@
CC=gcc
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -std=c99
LDFLAGS=-L.
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -I /usr/local/include -std=c99
LDFLAGS=-L. -L/usr/local/lib
LDLIBS=-levent_core -lldns -lgetdns
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
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:
rm -f *.o $(PROGRAMS) libgetdns.so