forked from cloudflare/mod_cloudflare
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.in
46 lines (33 loc) · 984 Bytes
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
srcdir = @srcdir@
DESTDIR =
LIBEXECDIR = @LIBEXECDIR@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LDLIBS = @LDLIBS@
APXS = @APXS@
all : mod_cloudflare.la
mod_cloudflare.la : mod_cloudflare.c
$(APXS) -c $(CPPFLAGS) $(CFLAGS) $(srcdir)/mod_cloudflare.c $(LDFLAGS) $(LDLIBS)
$(DESTDIR)$(LIBEXECDIR) :
mkdir -p $@
install : all $(DESTDIR)$(LIBEXECDIR)
$(APXS) -i -S LIBEXECDIR=$(DESTDIR)$(LIBEXECDIR) -n 'mod_cloudflare' $(srcdir)/mod_cloudflare.la
clean :
-rm -f $(srcdir)/.libs/*
-rm -f $(srcdir)/*.o
-rm -f $(srcdir)/*.lo
-rm -f $(srcdir)/*.la
-rm -f $(srcdir)/*.slo
-rm -rf $(srcdir)/.libs
-rm -rf autom4te.cache
-rm -f config.log config.status
distclean : clean
-rm -f Makefile
gitclean : distclean
-rm -f configure src-package.tar.gz
src-package:
@tar cz *.c configure.ac Makefile.in LICENSE ChangeLog README VERSION > $@.tar.gz
$(srcdir)/configure: configure.ac
cd '$(srcdir)' && autoconf && ./configure
Makefile: Makefile.in configure