2002-12-10 19:53:36 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
2004-03-04 23:05:54 +08:00
|
|
|
LDADD = @MYSQL_LIBS@
|
|
|
|
AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@
|
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 = \
|
|
|
|
zm.cpp \
|
|
|
|
zm_db.cpp \
|
|
|
|
zm_config.cpp \
|
|
|
|
zm_coord.cpp \
|
|
|
|
zm_box.cpp \
|
|
|
|
zm_image.cpp \
|
|
|
|
zm_event.cpp \
|
|
|
|
zm_zone.cpp \
|
|
|
|
zm_camera.cpp \
|
|
|
|
zm_local_camera.cpp \
|
|
|
|
zm_remote_camera.cpp \
|
|
|
|
zm_monitor.cpp \
|
2004-03-04 23:05:54 +08:00
|
|
|
zm_mpeg.cpp \
|
2004-02-19 21:14:09 +08:00
|
|
|
zm_debug.c \
|
|
|
|
zm_jpeg.c
|
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)
|
2003-03-26 20:02:41 +08:00
|
|
|
zmfix_SOURCES = zmfix.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 = \
|
|
|
|
zm.h \
|
|
|
|
zm_db.h \
|
|
|
|
zm_font.h \
|
|
|
|
zm_rgb.h \
|
|
|
|
zm_config.h \
|
|
|
|
zm_config_defines.h \
|
|
|
|
zm_debug.h \
|
|
|
|
zm_coord.h \
|
|
|
|
zm_box.h \
|
|
|
|
zm_image.h \
|
|
|
|
zm_event.h \
|
|
|
|
zm_zone.h \
|
|
|
|
zm_camera.h \
|
|
|
|
zm_local_camera.h \
|
|
|
|
zm_remote_camera.h \
|
|
|
|
zm_monitor.h \
|
|
|
|
zm_font.h \
|
|
|
|
jinclude.h \
|
|
|
|
zmf.h \
|
2004-03-04 23:05:54 +08:00
|
|
|
zm_jpeg.h \
|
|
|
|
zm_mpeg.h
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2003-03-26 20:02:41 +08:00
|
|
|
EXTRA_DIST = zm_config.h.z
|
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:
|
2002-12-11 08:21:52 +08:00
|
|
|
( cd @bindir@; mv zms $(cgidir) )
|
|
|
|
( cd $(cgidir); chown $(webuser):$(webgroup) zms )
|
2003-01-07 18:44:25 +08:00
|
|
|
( cd @bindir@; chmod u+s zmfix )
|