2002-12-10 19:53:36 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
2008-07-16 16:35:59 +08:00
|
|
|
AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline
|
|
|
|
AM_CXXFLAGS = -frepo
|
|
|
|
|
|
|
|
CLEANFILES = *.rpo
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2002-12-11 07:02:35 +08:00
|
|
|
# This should be set to your CGI directory
|
|
|
|
cgidir = @CGI_PREFIX@
|
2002-12-11 05:27:29 +08:00
|
|
|
# And these to the user and group of your webserver
|
2002-12-11 07:02:35 +08:00
|
|
|
webuser = @WEB_USER@
|
|
|
|
webgroup = @WEB_GROUP@
|
2002-12-11 05:27:29 +08:00
|
|
|
|
2004-02-19 21:14:09 +08:00
|
|
|
bin_PROGRAMS = \
|
|
|
|
zmc \
|
|
|
|
zma \
|
|
|
|
zmu \
|
|
|
|
zms \
|
|
|
|
zmf \
|
|
|
|
zmfix
|
|
|
|
|
|
|
|
zm_SOURCES = \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_box.cpp \
|
|
|
|
zm_buffer.cpp \
|
|
|
|
zm_camera.cpp \
|
|
|
|
zm_comms.cpp \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_config.cpp \
|
|
|
|
zm_coord.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm.cpp \
|
|
|
|
zm_db.cpp \
|
|
|
|
zm_debug.c \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_event.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_exception.cpp \
|
2005-10-18 05:55:02 +08:00
|
|
|
zm_file_camera.cpp \
|
2009-01-20 23:01:32 +08:00
|
|
|
zm_ffmpeg_camera.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_image.cpp \
|
|
|
|
zm_jpeg.c \
|
|
|
|
zm_local_camera.cpp \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_monitor.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_ffmpeg.cpp \
|
2004-03-04 23:05:54 +08:00
|
|
|
zm_mpeg.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_poly.cpp \
|
2004-03-13 22:06:53 +08:00
|
|
|
zm_regexp.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_remote_camera.cpp \
|
|
|
|
zm_remote_camera_http.cpp \
|
|
|
|
zm_remote_camera_rtsp.cpp \
|
|
|
|
zm_rtp.cpp \
|
|
|
|
zm_rtp_ctrl.cpp \
|
|
|
|
zm_rtp_data.cpp \
|
|
|
|
zm_rtp_source.cpp \
|
|
|
|
zm_rtsp.cpp \
|
2006-04-05 20:22:27 +08:00
|
|
|
zm_signal.cpp \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_stream.cpp \
|
|
|
|
zm_thread.cpp \
|
|
|
|
zm_time.cpp \
|
|
|
|
zm_timer.cpp \
|
|
|
|
zm_user.cpp \
|
|
|
|
zm_utils.cpp \
|
|
|
|
zm_zone.cpp
|
2002-12-10 19:53:36 +08:00
|
|
|
|
|
|
|
zmc_SOURCES = zmc.cpp $(zm_SOURCES)
|
|
|
|
zma_SOURCES = zma.cpp $(zm_SOURCES)
|
|
|
|
zms_SOURCES = zms.cpp $(zm_SOURCES)
|
|
|
|
zmu_SOURCES = zmu.cpp $(zm_SOURCES)
|
2003-04-22 22:14:03 +08:00
|
|
|
zmf_SOURCES = zmf.cpp $(zm_SOURCES)
|
2004-12-29 00:46:48 +08:00
|
|
|
zmfix_SOURCES = zmfix.cpp zm_config.cpp zm_regexp.cpp zm_debug.c zm_db.cpp zm.cpp
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2004-02-19 21:14:09 +08:00
|
|
|
noinst_HEADERS = \
|
2008-07-16 16:35:59 +08:00
|
|
|
jinclude.h \
|
|
|
|
zm_box.h \
|
|
|
|
zm_buffer.h \
|
|
|
|
zm_camera.h \
|
|
|
|
zm_comms.h \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_config_defines.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_config.h \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_coord.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_db.h \
|
|
|
|
zm_debug.h \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_event.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_exception.h \
|
|
|
|
zmf.h \
|
2005-10-18 05:55:02 +08:00
|
|
|
zm_file_camera.h \
|
2009-01-20 23:01:32 +08:00
|
|
|
zm_ffmpeg_camera.h \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_font.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_font.h \
|
|
|
|
zm.h \
|
|
|
|
zm_image.h \
|
2004-03-04 23:05:54 +08:00
|
|
|
zm_jpeg.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_local_camera.h \
|
|
|
|
zm_mem_utils.h \
|
|
|
|
zm_monitor.h \
|
|
|
|
zm_ffmpeg.h \
|
2004-03-13 22:06:53 +08:00
|
|
|
zm_mpeg.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_poly.h \
|
2004-03-13 22:06:53 +08:00
|
|
|
zm_regexp.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_remote_camera.h \
|
|
|
|
zm_remote_camera_http.h \
|
|
|
|
zm_remote_camera_rtsp.h \
|
|
|
|
zm_rgb.h \
|
|
|
|
zm_rtp_ctrl.h \
|
|
|
|
zm_rtp_data.h \
|
|
|
|
zm_rtp.h \
|
|
|
|
zm_rtp_source.h \
|
2008-07-25 01:08:24 +08:00
|
|
|
zm_rtsp.h \
|
2006-04-05 20:22:27 +08:00
|
|
|
zm_signal.h \
|
2008-07-16 16:35:59 +08:00
|
|
|
zm_stream.h \
|
|
|
|
zm_thread.h \
|
|
|
|
zm_time.h \
|
|
|
|
zm_timer.h \
|
|
|
|
zm_user.h \
|
|
|
|
zm_utils.h \
|
|
|
|
zm_zone.h
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2005-12-20 00:51:55 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
zm_config.h.in \
|
2008-07-25 01:08:24 +08:00
|
|
|
zm_config_defines.h \
|
|
|
|
zm_threaddata.cpp
|
2003-01-15 23:12:40 +08:00
|
|
|
|
2003-01-15 23:40:06 +08:00
|
|
|
dist-hook:
|
2003-03-26 20:02:41 +08:00
|
|
|
@( rm $(distdir)/zm_config.h )
|
2003-01-15 23:40:06 +08:00
|
|
|
|
2002-12-11 05:27:29 +08:00
|
|
|
# Yes, you are correct. This is a HACK!
|
2003-03-27 06:12:03 +08:00
|
|
|
install-exec-hook:
|
2004-12-29 00:46:48 +08:00
|
|
|
( cd $(DESTDIR)@bindir@; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
|
|
|
|
( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
|
|
|
|
( cd $(DESTDIR)@bindir@; chmod u+s zmfix )
|
2005-11-16 18:24:03 +08:00
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
( cd $(DESTDIR)$(cgidir); rm -f zms nph-zms )
|
2008-01-14 01:48:01 +08:00
|
|
|
|