Makefile.am 605 B

123456789101112131415161718
  1. AM_CPPFLAGS = -I$(top_srcdir)/libusb
  2. LDADD = ../libusb/libusb-1.0.la
  3. LIBS =
  4. stress_SOURCES = stress.c libusb_testlib.h testlib.c
  5. noinst_PROGRAMS = stress
  6. if BUILD_UMOCKDEV_TEST
  7. # NOTE: We add libumockdev-preload.so so that we can run tests in-process
  8. # We also use -Wl,-lxxx as the compiler doesn't need it and libtool
  9. # would reorder the flags otherwise.
  10. umockdev_CPPFLAGS = ${UMOCKDEV_CFLAGS} -I$(top_srcdir)/libusb
  11. umockdev_LDFLAGS = -Wl,--push-state,--no-as-needed -Wl,-lumockdev-preload -Wl,--pop-state ${UMOCKDEV_LIBS}
  12. umockdev_SOURCES = umockdev.c
  13. noinst_PROGRAMS += umockdev
  14. endif