Makefile.am 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. AM_SOURCES=clock.h log.cpp log.h log_queue.cpp log_queue.h ztomic.h tools.cpp tools.h sysv_shm.cpp sysv_shm.h config_file.cpp config_file.h
  2. AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11 -fPIC
  3. AM_LDFLAGS= -Wall -pthread -m64 -std=c++11 -fPIC
  4. lib_LTLIBRARIES=libzlog.la
  5. bin_PROGRAMS=logger
  6. noinst_PROGRAMS=test shmtest fmttest cct
  7. AM_CPPFLAGS+=
  8. AM_LDFLAGS+=
  9. include_HEADERS=log.h config_file.h
  10. libzlog_la_SOURCES=${AM_SOURCES}
  11. libzlog_la_CPPFLAGS=${AM_CPPFLAGS}
  12. libzlog_la_LDFLAGS=${AM_LDFLAGS} -shared -lrt
  13. logger_SOURCES=logger.cpp config_file.cpp
  14. logger_LDFLAGS=${AM_LDFLAGS} -lrt -L. -lzlog
  15. test_SOURCES=test.cpp
  16. test_LDFLAGS=${AM_LDFLAGS} -lrt -L. -ldl -lzlog
  17. shmtest_SOURCES=shmtest.cpp tools.cpp sysv_shm.cpp
  18. shmtest_LDFLAGS=${AM_LDFLAGS} -lrt
  19. fmttest_SOURCES=fmttest.cpp tools.cpp
  20. fmttest_LDFLAGS=${AM_LDFLAGS} -lrt
  21. cct_SOURCES=config_test.cpp config_file.cpp
  22. cct_LDFLAGS=${AM_LDFLAGS} -lrt -L. -lzlog
  23. DEFS=
  24. EXTRA_DIST= clock.h config_file.cpp config_file.h config_test.cpp log.cpp logger.cpp log.h \
  25. log_queue.cpp log_queue.h test.cpp ztomic.h