Makefile.am 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. SUBDIRS=db websocket
  2. bin_PROGRAMS=yals
  3. noinst_PROGRAMS=client async test
  4. SRC_MONKEYCAR= monkey_car/monkeycar_area.cpp monkey_car/monkeycar_bus.cpp monkey_car/monkeycar_person.cpp
  5. SRC_MODULE_SERVICE= module_service/area_business_car_attendance.cpp module_service/area_business_card_enter_or_leave.cpp \
  6. module_service/area_business_count_checker.cpp module_service/area_business_forbid.cpp \
  7. module_service/area_business_geofault.cpp module_service/area_business_motionless_persion.cpp \
  8. module_service/area_business_person_attendance.cpp module_service/area_business_person_dwell_checker.cpp \
  9. module_service/area_business_post_area.cpp module_service/area_business_speed_checker.cpp \
  10. module_service/area_business_work_rate.cpp \
  11. module_service/module_meta_date_changed.cpp module_service/module_web.cpp \
  12. module_service/module_call.cpp module_service/module_call_help.cpp module_service/module_mgr.cpp \
  13. module_service/module_other_alarm.cpp
  14. SRC_MAIN= ant.cpp area.cpp base64.cpp bindmorecard.cpp mine_business.cpp card_area.cpp card_base.cpp card_car.cpp his_location.cpp\
  15. card.cpp cardMgr.cpp card_path.cpp card_person.cpp crc.cpp geo_hash.cpp \
  16. landmark.cpp line_fit.cpp message.cpp message_file.cpp mine.cpp \
  17. net-service.cpp point.cpp special_area.cpp tdoa_sync.cpp visit.cpp \
  18. web-client.cpp worker.cpp event.cpp znet.cpp ya_setting.cpp area_business.cpp\
  19. forbid_staff_down_mine.cpp
  20. AM_SOURCES=$(SRC_MONKEYCAR) $(SRC_MODULE_SERVICE) $(SRC_MAIN) $(SRC_MAIN_EVENT)
  21. AM_CPPFLAGS=-Wall -pthread -m64 -g -std=c++11 -I${prefix}/include -I/usr/local/mysql/include -Iwebsocket -Iwebsocket/sio -I./db -Imodule_service
  22. AM_LDFLAGS=-Wall -pthread -m64 -g -std=c++11 -L${prefix}/lib -L/usr/local/mysql/lib
  23. yals_SOURCES=${AM_SOURCES} main.cpp
  24. yals_CPPFLAGS=${AM_CPPFLAGS}
  25. yals_LDFLAGS=${AM_LDFLAGS} -lev -lzlog -lrt -lboost_chrono -lboost_system -lboost_thread -lmysqlclient -lthree_rates
  26. yals_LDADD=db/libyadb.a websocket/libwebsocket.a ${prefix}/lib/libpoint_algorithm.a
  27. async_SOURCES=async.cpp
  28. async_CPPFLAGS=${AM_CPPFLAGS}
  29. async_LDFLAGS=${AM_LDFLAGS} -L. -lzlog -lrt -lev
  30. client_SOURCES=client.cpp message_file.cpp
  31. client_CPPFLAGS=${AM_CPPFLAGS}
  32. client_LDFLAGS=${AM_LDFLAGS} -L. -lzlog
  33. test_SOURCES=test.cpp base64.cpp point.cpp
  34. test_CPPFLAGS=${AM_CPPFLAGS}
  35. test_LDFLAGS=${AM_LDFLAGS} -L. -lzlog -lrt
  36. DEFS=
  37. EXTRA_DIST=