Last-Modified: Wed, 09 Sep 2026 07:28:41 GMT Expires: Sat, 06 Sep 2036 07:28:41 GMT Makefile.in - mod_log_sql - mod_log_sql
summaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: ce990820b5e3f0fdafee55c08dbf492c6ba394b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 Nikos Mavrogiannopoulos
2008-10-01
|
* prepare for an alpha releaseGravatar Nikos Mavrogiannopoulos 2008-01-24
|
* more changes for openpgp support. Seems to be at a workable state.Gravatar Nikos Mavrogiannopoulos 2007-12-16
|
* (no commit message)Gravatar Nikos Mavrogiannopoulos 2007-12-10
|
* upgraded to 0.4.0Gravatar Nikos Mavrogiannopoulos 2007-11-28
|
* working on a release.. really!Gravatar Paul Querna 2005-04-06
25'>125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
# @configure_input@

# Modify these top variables.
SUBDIRS = Documentation
SOURCES = \
	@PACKAGE_NAME@.c

HEADERS = mod_log_sql.h \
		functions.h \
		functions13.h \
		functions20.h \
		apache13.h \
		apache20.h

CFLAGS = -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing

INCLUDES = @MYSQL_CFLAGS@

LDADD = @MYSQL_LDFLAGS@ @MYSQL_LIBS@

EXTRA_DIST = INSTALL LICENSE CHANGELOG make_combined_log.pl

TARGET = @PACKAGE_NAME@@APXS_EXTENSION@

#Don't modify anything below here

PROVIDERS_SUBDIRS = @subdirs@

srcdir = @abs_srcdir@
builddir = @abs_builddir@

OBJ = $(SOURCES:.c=.o)

LO = $(SOURCES:.c=.lo)

SLO = $(SOURCES:.c=.slo)

STD_DIST = install-sh \
	config.sub \
	config.guess \
	aclocal.m4 \
	Makefile.in \
	configure.ac \
	configure \
	stamp-h.in \
	config.h.in

DISTFILES = $(STD_DIST) $(EXTRA_DIST) $(SOURCES) $(HEADERS)

all: $(TARGET) all-subdirs

all-subdirs install-subdirs activate-subdirs clean-subdirs distclean-subdirs:
	@otarget=`echo $@|sed s/-subdirs//`; \
	list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \
	for i in $$list; do \
		if test -d "$$i"; then \
			target="$$otarget"; \
			echo "Making $$target in $$i"; \
			if test "$$i" = "."; then \
				made_local=yes; \
				target="local-$$target"; \
			fi; \
			(cd $$i && $(MAKE) $$target) || exit 1; \
		fi; \
	done;

$(TARGET): $(SOURCES) $(HEADERS)
	@@APXS_BIN@ -c -o $(TARGET) $(INCLUDES) @MOD_SSL_CFLAGS@ $(CFLAGS) \
		$(LDADD) @DEFS@ @APACHE_DEFS@ $(SOURCES)

include:
	rm -rf include
	ln -s @APACHE_INCDIR@ include

install: install-subdirs
	@@APXS_BIN@ -i $(TARGET)

activate: activate-subdirs
	@@APXS_BIN@ -i -a $(TARGET)

clean: clean-subdirs
	$(RM) $(OBJ) $(SLO) $(LO) $(TARGET)
	$(RM) -r .libs

distclean: clean distclean-subdirs
	$(RM) config.status config.log config.h config.h.in \
	configure stamp-h stamp-h.in Makefile aclocal.m4
	$(RM) -r autom4te-2.53.cache

DESTDIR = @PACKAGE_NAME@-@PACKAGE_VERSION@
DESTTGZ = $(DESTDIR).tar.gz
dist:
	@rm -rf $(DESTDIR); \
	list=' $(PROVIDERS_SUBDIRS) $(SUBDIRS)'; \
	for i in $$list; do \
		if test -d "$$i"; then \
			target=local-dist; \
			echo "Making $$target in $$i"; \
			if test "$$i" = "."; then \
				made_local=yes; \
				target="local-dist"; \
			fi; \
			NEWDESTDIR=$(builddir)/$(DESTDIR)/$$i; \
			echo $(NEWDESTDIR); \
			(cd $$i && $(MAKE) DESTDIR=$(builddir)/$(DESTDIR)/$$i $$target) || exit 1; \
		fi; \
	done; \
	if test "$$made_local" != "yes"; then \
		$(MAKE) "local-dist" || exit 1; \
	fi; \
	tar -zcf $(DESTTGZ) $(DESTDIR); \
	rm -rf $(DESTDIR); \

local-dist: $(DISTFILES)
	@mkdir -p $(DESTDIR); \
	cp -dp --parents $(DISTFILES) $(DESTDIR);

.PHONY: include all-subdirs activate-subdirs install-subdirs \
	clean-subdirs distclean-subdirs dist

# Regenerate makefiles
# autoheader might not change config.h.in, so touch a stamp file.
$(srcdir)/config.h.in: stamp-h.in
$(srcdir)/stamp-h.in: configure.ac aclocal.m4
	cd $(srcdir) && autoheader-2.53
	echo timestamp > $(srcdir)/stamp-h.in

config.h: stamp-h

stamp-h: config.h.in config.status
	./config.status

$(srcdir)/configure: configure.ac aclocal.m4
	cd $(srcdir) && autoconf-2.53

Makefile: Makefile.in config.status
	./config.status

config.status: configure
	./config.status --recheck