mirror of https://github.com/getdnsapi/getdns.git
Pass existing CFLAGS and LDFLAGS through
Useful when dependencies are installed at custom locations
This commit is contained in:
parent
37fe39e4ae
commit
06ad9a53b5
|
@ -6,7 +6,6 @@ package = @PACKAGE_NAME@
|
|||
version = @PACKAGE_VERSION@
|
||||
tarname = @PACKAGE_TARNAME@
|
||||
distdir = $(tarname)-$(version)
|
||||
cflags = @CFLAGS@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
@ -16,8 +15,8 @@ srcdir = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -I /usr/local/include -std=c99
|
||||
LDFLAGS=-levent_core -lldns -lunbound
|
||||
CFLAGS=@CFLAGS@ -Wall -g -fPIC -I$(srcdir)/ -I/usr/local/include -std=c99
|
||||
LDFLAGS=@LDFLAGS@ -levent_core -lldns -lunbound
|
||||
# PROGRAMS=example-simple-answers example-tree example-all-functions example-synchronous
|
||||
|
||||
.SUFFIXES: .c .o .a .lo .h
|
||||
|
|
|
@ -15,8 +15,8 @@ srcdir = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -I$(srcdir)/../ -I/usr/local/include -std=c99
|
||||
LDFLAGS=-L. -L$(srcdir)/.. -L/usr/local/lib
|
||||
CFLAGS=@CFLAGS@ -Wall -g -fPIC -I$(srcdir)/ -I$(srcdir)/../ -I/usr/local/include -std=c99
|
||||
LDFLAGS=@LDFLAGS@ -L. -L$(srcdir)/.. -L/usr/local/lib
|
||||
LDLIBS=-lgetdns -lldns -levent_core -lunbound
|
||||
PROGRAMS=example_simple_answers example_tree example_all_functions example_synchronous
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ package = @PACKAGE_NAME@
|
|||
version = @PACKAGE_VERSION@
|
||||
tarname = @PACKAGE_TARNAME@
|
||||
distdir = $(tarname)-$(version)
|
||||
cflags = @CFLAGS@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
@ -16,8 +15,8 @@ srcdir = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -g -fPIC -I$(srcdir)/ -I$(srcdir)/../ -I/usr/local/include -std=c99 $(cflags)
|
||||
LDFLAGS=-L. -L$(srcdir)/.. -L/usr/local/lib
|
||||
CFLAGS=@CFLAGS@ -Wall -g -fPIC -I$(srcdir)/ -I$(srcdir)/../ -I/usr/local/include -std=c99 $(cflags)
|
||||
LDFLAGS=@LDFLAGS@ -L. -L$(srcdir)/.. -L/usr/local/lib
|
||||
LDLIBS=-lgetdns -lldns -levent_core -lunbound
|
||||
PROGRAMS=tests_dict tests_list tests_stub_async tests_stub_sync
|
||||
|
||||
|
|
Loading…
Reference in New Issue