You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.2 KiB

  1. dddmp_sources = dddmp/dddmp.h dddmp/dddmpInt.h \
  2. dddmp/dddmpBinary.c dddmp/dddmpConvert.c dddmp/dddmpDbg.c \
  3. dddmp/dddmpLoad.c dddmp/dddmpLoadCnf.c dddmp/dddmpNodeAdd.c \
  4. dddmp/dddmpNodeBdd.c dddmp/dddmpNodeCnf.c dddmp/dddmpStoreAdd.c \
  5. dddmp/dddmpStoreBdd.c dddmp/dddmpStoreCnf.c dddmp/dddmpStoreMisc.c \
  6. dddmp/dddmpUtil.c
  7. if DDDMP
  8. cudd_libcudd_la_SOURCES += $(dddmp_sources)
  9. else
  10. noinst_LTLIBRARIES += dddmp/libdddmp.la
  11. dddmp_libdddmp_la_SOURCES = $(dddmp_sources)
  12. dddmp_libdddmp_la_CPPFLAGS = -I$(top_srcdir)/util -I$(top_srcdir)/mtr \
  13. -I$(top_srcdir)/epd -I$(top_srcdir)/cudd -I$(top_srcdir)/st
  14. endif !DDDMP
  15. check_PROGRAMS += dddmp/testdddmp
  16. dddmp_testdddmp_SOURCES = dddmp/testdddmp.c
  17. if DDDMP
  18. dddmp_testdddmp_CPPFLAGS = $(cudd_libcudd_la_CPPFLAGS)
  19. dddmp_testdddmp_LDADD =
  20. else
  21. dddmp_testdddmp_CPPFLAGS = $(dddmp_libdddmp_la_CPPFLAGS)
  22. dddmp_testdddmp_LDADD = dddmp/libdddmp.la
  23. endif !DDDMP
  24. dddmp_testdddmp_LDADD += cudd/libcudd.la
  25. check_SCRIPTS += dddmp/test_dddmp.test
  26. if !CROSS_COMPILING
  27. TESTS += dddmp/test_dddmp.test
  28. endif !CROSS_COMPILING
  29. EXTRA_DIST += dddmp/README.dddmp dddmp/README.testdddmp dddmp/RELEASE_NOTES \
  30. dddmp/doc dddmp/test_dddmp.test.in dddmp/exp/test1.sh.in \
  31. dddmp/exp/test2.sh.in dddmp/exp/test3.sh.in dddmp/exp/test4.sh.in \
  32. dddmp/exp/test5.sh.in dddmp/exp/test6.sh.in dddmp/exp/test7.sh.in \
  33. dddmp/exp/0.add dddmp/exp/0.bdd dddmp/exp/0or1.bdd dddmp/exp/1.add \
  34. dddmp/exp/1.bdd dddmp/exp/2and3.bdd dddmp/exp/2.bdd dddmp/exp/3.bdd \
  35. dddmp/exp/4.bdd dddmp/exp/4.bdd.bis1 dddmp/exp/4.bdd.bis2 \
  36. dddmp/exp/4.bdd.bis3 dddmp/exp/4.bdd.bis4 dddmp/exp/4bis.bdd dddmp/exp/4.cnf \
  37. dddmp/exp/4.cnf.bis dddmp/exp/4.max1 dddmp/exp/4.max2 dddmp/exp/4xor5.bdd \
  38. dddmp/exp/5.bdd dddmp/exp/composeids.txt dddmp/exp/one.bdd \
  39. dddmp/exp/s27deltaDddmp1.bdd dddmp/exp/s27deltaDddmp1.bdd.bis \
  40. dddmp/exp/s27deltaDddmp2.bdd dddmp/exp/s27RP1.bdd dddmp/exp/varauxids.ord \
  41. dddmp/exp/varnames.ord dddmp/exp/zero.bdd
  42. dddmp/test_dddmp.test: dddmp/test_dddmp.test.in Makefile
  43. $(do_subst) $< > $@
  44. chmod +x $@
  45. CLEANFILES += dddmp/exp/test1.sh dddmp/exp/test2.sh dddmp/exp/test3.sh \
  46. dddmp/exp/test4.sh dddmp/exp/test5.sh dddmp/exp/test6.sh dddmp/exp/test7.sh