Makefile.am 936 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. SOURCES = \
  2. test.c \
  3. test.h \
  4. tests.h \
  5. driver.c \
  6. hashtable.c \
  7. string-util.c \
  8. string.c \
  9. slist.c \
  10. sizes.c \
  11. ptrarray.c \
  12. list.c \
  13. array.c \
  14. fake.c \
  15. path.c \
  16. queue.c \
  17. shell.c \
  18. spawn.c \
  19. timer.c \
  20. file.c \
  21. pattern.c \
  22. dir.c \
  23. markup.c \
  24. unicode.c \
  25. utf8.c \
  26. endian.c \
  27. module.c \
  28. memory.c
  29. test_eglib_SOURCES = $(SOURCES)
  30. test_eglib_CFLAGS = -Wall -Werror -D_FORTIFY_SOURCE=2 -I$(srcdir)/../src -I../src -DDRIVER_NAME=\"EGlib\"
  31. test_eglib_LDADD = ../src/libeglib.la -ldl
  32. run-eglib: all
  33. ./test-eglib
  34. if HAVE_GLIB
  35. noinst_PROGRAMS = test-glib test-eglib
  36. test_glib_SOURCES = $(SOURCES)
  37. test_glib_CFLAGS = `pkg-config --cflags glib-2.0` -DDRIVER_NAME=\"GLib\"
  38. test_glib_LDFLAGS = `pkg-config --libs glib-2.0 gmodule-2.0`
  39. run-glib: all
  40. ./test-glib
  41. run-both: run-glib run-eglib
  42. else
  43. noinst_PROGRAMS = test-eglib
  44. run-both: run-eglib
  45. endif
  46. MAINTAINERCLEANFILES = Makefile.in