Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
builddir=.

ifneq (,$(wildcard /usr/share/apache2/build/special.mk))
top_srcdir=/usr/share/apache2
top_builddir=/usr/share/apache2
include /usr/share/apache2/build/special.mk
endif
ifneq (,$(wildcard /usr/lib64/httpd/build/special.mk))
top_srcdir=/etc/httpd
top_builddir=/usr/lib64/httpd
include /usr/lib64/httpd/build/special.mk
endif
# the used tools
APXS=apxs
APACHECTL=apachectl

top_builddir=$(shell $(APXS) -q exp_libexecdir)
top_srcdir=$(top_builddir)
include $(top_builddir)/build/special.mk

ifneq (,$(wildcard /etc/debian_version))
DISTRIBUTION := $(shell lsb_release -i | cut -f2)
ifeq ($(DISTRIBUTION),Debian)
DEFS=-DWITH_APACHE22
endif
endif

# the used tools
APXS=apxs
APACHECTL=apachectl

# additional defines, includes and libraries
LIBS=-ljson-c -lz

Expand Down