# # mod-xslt -- Copyright (C) 2002, 2003 # Carlo Contavalli # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # @SET_MAKE@ VPATH = @srcdir@ # Basic directories srcdir=@srcdir@ abs_srcdir=@abs_srcdir@ top_srcdir=@top_srcdir@ abs_top_srcdir=@abs_top_srcdir@ builddir=@builddir@ abs_builddir=@abs_builddir@ top_builddir=@top_builddir@ abs_top_builddir=@abs_top_builddir@ prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ sbindir=@sbindir@ libexecdir=@libexecdir@ datadir=@datadir@ sysconfdir=@sysconfdir@ sharedstatedir=@sharedstatedir@ localstatedir=@localstatedir@ libdir=@libdir@ infodir=@infodir@ includedir=@includedir@ mandir=@mandir@ # Basic commands CC := @SAPI_CC@ LD := @SAPI_LD@ # Additional parameters LIBTOOL := @LIBTOOL@ INSTALL := @INSTALL@ # Overrideable parameters LIBS += @SAPI_LIBS@ @LIBS@ CFLAGS += @SAPI_CFLAGS@ @CFLAGS@ LDFLAGS += @SAPI_LDFLAGS@ @LDFLAGS@ -L$(DESTDIR)$(libdir) CPPFLAGS += @SAPI_CPPFLAGS@ -I$(top_srcdir)/lib -I$(top_builddir)/lib # Specific Variables LIB_CURRENT = @LIB_CURRENT@ LIB_REVISION = @LIB_REVISION@ LIB_AGE = @LIB_AGE@ LIB_VERSION = @LIB_VERSION@ # Installation parameters APXS_INSTALLDIR := @APXS_INSTALLDIR@ APXS := @APXS@ SAPI := @SAPI@ default: @DEFAULT_TARGET@ .SUFFIXES: .c .o .h .lo .la .PHONY: default all debug clean distclean std tidy release # Targets all: std debug: CFLAGS += -ggdb -Wall -O0 debug: std std: modxslt-helpers.o modxslt.o install-strip: IFLAGS += -s install-strip: install install: mod_xslt.so Makefile $(INSTALL) $(IFLAGS) -D -m 0644 -o root -g root mod_xslt.so '$(DESTDIR)$(APXS_INSTALLDIR)/mod_xslt.so' uninstall: rm -f '$(DESTDIR)$(APXS_INSTALLDIR)'/mod_xslt.so mod_xslt.so: modxslt-helpers.o modxslt.o $(LD) $(LDFLAGS) $(LIBS) $^ -lmodxslt0 -o mod_xslt.so modxslt-helpers.o: modxslt-helpers.c modxslt-ap1.h modxslt.o: modxslt.c modxslt-ap1.h .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< distclean: clean clean: rm -f ./*.so ./*.o ./*.out ./*.output tidy: distclean release: