2002-12-10 19:53:36 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
|
|
|
LDADD = @MYSQL_LIBS@
|
|
|
|
CPPFLAGS = @MYSQL_CFLAGS@
|
|
|
|
|
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
|
|
|
|
2003-01-07 18:44:25 +08:00
|
|
|
bin_PROGRAMS = zmc zma zmu zms zmfix
|
2002-12-10 19:53:36 +08:00
|
|
|
|
|
|
|
zm_SOURCES = zm.cpp zmdbg.c jmemdst.c
|
|
|
|
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-01-07 18:44:25 +08:00
|
|
|
zmfix_SOURCES = zmfix.cpp zmdbg.c
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2002-12-10 20:35:21 +08:00
|
|
|
noinst_HEADERS = zm.h zmcfg.h zmdbg.h jinclude.h font_6x11.h
|
2002-12-10 19:53:36 +08:00
|
|
|
|
2003-01-15 23:12:40 +08:00
|
|
|
EXTRA_DIST = zmcfg.h.z
|
|
|
|
|
2002-12-11 05:27:29 +08:00
|
|
|
# Yes, you are correct. This is a HACK!
|
|
|
|
install-exec-local:
|
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 )
|