Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (36 sloc) 952 Bytes
##
## Makefile -- Build procedure for sample modlet Apache module
## Autogenerated via ``apxs -n modlet -g''.
##
builddir=.
top_srcdir=
top_builddir=/usr/share/apache2
include /usr/share/apache2/build/special.mk
# the used tools
APXS=apxs
APACHECTL=apachectl
# additional defines, includes and libraries
#DEFS=-Dmy_define=my_value
#INCLUDES=-Imy/include/dir
#LIBS=-Lmy/lib/dir -lmylib
# the default target
all: local-shared-build
# install the shared object file into Apache
install: install-modules-yes
# cleanup
clean:
-rm -f mod_modlet.o mod_modlet.lo mod_modlet.slo mod_modlet.la
# simple test
test: reload
lynx -mime_header http://localhost/modlet
# install and activate shared object by reloading Apache to
# force a reload of the shared object file
reload: install restart
# the general Apache start/restart/stop
# procedures
start:
$(APACHECTL) start
restart:
$(APACHECTL) restart
stop:
$(APACHECTL) stop