diff options
Diffstat (limited to 'libical/examples/Makefile.am')
-rw-r--r-- | libical/examples/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libical/examples/Makefile.am b/libical/examples/Makefile.am index 99e33d3400..ea8dc02c3d 100644 --- a/libical/examples/Makefile.am +++ b/libical/examples/Makefile.am @@ -1,10 +1,15 @@ noinst_PROGRAMS = doesnothing -LDADD = ../src/libical/libical.a ../src/libicalss/libicalss.la ../src/libicalvcal/libicalvcal.la -INCLUDES = -I . -I../src/libical -I$(srcdir)/../src/libical -I../src/libicalss -I../src/libicalvcal +if WITH_BDB4 +doesnothing_LDADD = ../src/libical/libical.la ../src/libicalss/libicalss.la ../src/libicalvcal/libicalvcal.la @BDB_DIR_LIB@/@BDB_LIB@ +else +doesnothing_LDADD = ../src/libical/libical.la ../src/libicalss/libicalss.la ../src/libicalvcal/libicalvcal.la +endif -INCLUDES = -I. -I../src/libical -I$(srcdir)/../src/libical -I../src/libicalss -I../src/libicalvcal +LIBS = @PTHREAD_LIBS@ + +INCLUDES = -I. -I../src/libical -I$(srcdir)/../src/libical -I../src/libicalss -I../src/libicalvcal doesnothing_SOURCES = \ access_components.c \ |