Makefile.am 937 B

123456789101112131415161718192021222324252627282930
  1. bin_PROGRAMS=yals
  2. noinst_PROGRAMS=client async test
  3. AM_SOURCES=ant.cpp ant.h card.cpp card.h clock.h \
  4. crc.cpp crc.h io_buf.h line.h loc_tool.cpp loc_tool.h message.cpp \
  5. message_file.h message.h net-service.cpp net-service.h point.cpp point.h tdoa_sync.cpp tdoa_sync.h \
  6. worker.cpp worker.h zio.h zloop.h znet.cpp znet.h zstream.h
  7. AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11 -fPIC -I${prefix}/include
  8. AM_LDFLAGS= -Wall -pthread -m64 -std=c++11 -fPIC -L${prefix}/lib
  9. yals_SOURCES=${AM_SOURCES} main.cpp
  10. yals_CPPFLAGS=${AM_CPPFLAGS}
  11. yals_LDFLAGS=${AM_LDFLAGS} -lzlog -lrt
  12. async_SOURCES=async.cpp
  13. async_CPPFLAGS=${AM_CPPFLAGS}
  14. async_LDFLAGS=${AM_LDFLAGS} -L. -lzlog -lrt
  15. client_SOURCES=client.cpp message_file.cpp
  16. client_CPPFLAGS=${AM_CPPFLAGS}
  17. client_LDFLAGS=${AM_LDFLAGS} -L. -lzlog
  18. test_SOURCES=test.cpp base64.cpp
  19. test_CPPFLAGS=${AM_CPPFLAGS}
  20. test_LDFLAGS=${AM_LDFLAGS} -L. -lzlog -lrt
  21. DEFS=
  22. EXTRA_DIST=message_file.h