2002-12-10 19:53:36 +08:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
|
|
|
|
LDADD = @MYSQL_LIBS@
|
|
|
|
CPPFLAGS = @MYSQL_CFLAGS@
|
|
|
|
|
2002-12-11 05:27:29 +08:00
|
|
|
# You need to set this to your CGI directory
|
2002-12-10 19:53:36 +08:00
|
|
|
cgidir = /var/www/cgi-bin
|
2002-12-11 05:27:29 +08:00
|
|
|
# And these to the user and group of your webserver
|
|
|
|
webuser = apache
|
|
|
|
webgroup = apache
|
|
|
|
|
2002-12-10 19:53:36 +08:00
|
|
|
cgi_PROGRAMS = zms
|
2002-12-11 05:27:29 +08:00
|
|
|
bin_PROGRAMS = zmc zma zmu
|
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)
|
|
|
|
|
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
|
|
|
|
2002-12-10 20:35:21 +08:00
|
|
|
EXTRA_DIST =
|
2002-12-11 05:27:29 +08:00
|
|
|
|
|
|
|
# Yes, you are correct. This is a HACK!
|
|
|
|
install-exec-local:
|
|
|
|
( cd @bindir@; mv $(cgi_PROGRAMS) $(cgidir) )
|
|
|
|
( cd $(cgidir); chown $(webuser):$(webgroup) $(cgi_PROGRAMS) )
|