libcvc4compat_noinst_la_LDFLAGS =
libcvc4compat_la_LIBADD = \
- @builddir@/../lib/libreplacements.la \
-L@builddir@/.. -lcvc4 \
-L@builddir@/../parser -lcvc4parser
libcvc4compat_noinst_la_LIBADD = \
- @builddir@/../lib/libreplacements.la \
-L@builddir@/.. -lcvc4 \
-L@builddir@/../parser -lcvc4parser
+if CVC4_NEEDS_REPLACEMENT_FUNCTIONS
+libcvc4compat_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+libcvc4compat_noinst_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+endif
+
libcvc4compat_la_SOURCES = \
cvc3_compat.h \
cvc3_compat.cpp
AM_CFLAGS = -Wall -Wno-unknown-pragmas $(FLAG_VISIBILITY_HIDDEN)
AM_CXXFLAGS = -Wall -Wno-unknown-pragmas $(FLAG_VISIBILITY_HIDDEN)
+if CVC4_NEEDS_REPLACEMENT_FUNCTIONS
noinst_LTLIBRARIES = libreplacements.la
+endif
-libreplacements_la_SOURCES = empty.c
+libreplacements_la_SOURCES =
libreplacements_la_LIBADD = \
$(LTLIBOBJS)
clock_gettime.c \
clock_gettime.h
-CLEANFILES = empty.c
-
-# empty.c hack -- need *some* source file so that library make rules are built
-empty.c:; touch empty.c
@builddir@/smt2/libparsersmt2.la \
@builddir@/tptp/libparsertptp.la \
@builddir@/cvc/libparsercvc.la \
- @builddir@/../lib/libreplacements.la \
-L@builddir@/.. -lcvc4
libcvc4parser_noinst_la_LIBADD = \
@builddir@/smt1/libparsersmt1.la \
@builddir@/smt2/libparsersmt2.la \
@builddir@/tptp/libparsertptp.la \
@builddir@/cvc/libparsercvc.la \
- @builddir@/../lib/libreplacements.la \
@builddir@/../libcvc4_noinst.la
+if CVC4_NEEDS_REPLACEMENT_FUNCTIONS
+libcvc4parser_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+libcvc4parser_noinst_la_LIBADD += \
+ @builddir@/../lib/libreplacements.la
+endif
+
libcvc4parser_la_SOURCES = \
antlr_input.h \
antlr_input.cpp \