1 DISTCLEAN_TARGETS
= apxs apachectl dbmmanage log_server_status \
2 logresolve.pl phf_abuse_log.cgi split-logfile envvars-std
6 PROGRAMS
= htpasswd htdigest rotatelogs logresolve ab checkgid htdbm htcacheclean httxt2dbm fcgistarter
9 PROGRAM_LDADD
= $(UTIL_LDFLAGS
) $(PROGRAM_DEPENDENCIES
) $(EXTRA_LIBS
) $(AP_LIBS
)
10 PROGRAM_DEPENDENCIES
=
12 include $(top_builddir
)/build
/rules.mk
15 @
test -d
$(DESTDIR
)$(bindir) ||
$(MKINSTALLDIRS
) $(DESTDIR
)$(bindir)
16 @
test -d
$(DESTDIR
)$(sbindir
) ||
$(MKINSTALLDIRS
) $(DESTDIR
)$(sbindir
)
17 @
test -d
$(DESTDIR
)$(libexecdir
) ||
$(MKINSTALLDIRS
) $(DESTDIR
)$(libexecdir
)
18 @cp
-p
$(top_builddir
)/server
/httpd.exp
$(DESTDIR
)$(libexecdir
)
19 @for i in apxs apachectl dbmmanage
; do \
20 if
test -f
"$(builddir)/$$i"; then \
21 cp
-p
$$i $(DESTDIR
)$(sbindir
); \
22 chmod
755 $(DESTDIR
)$(sbindir
)/$$i; \
25 @if
test -f
"$(builddir)/envvars-std"; then \
26 cp
-p envvars-std
$(DESTDIR
)$(sbindir
); \
27 if
test ! -f
$(DESTDIR
)$(sbindir
)/envvars
; then \
28 cp
-p envvars-std
$(DESTDIR
)$(sbindir
)/envvars
; \
32 htpasswd_OBJECTS
= htpasswd.lo
33 htpasswd
: $(htpasswd_OBJECTS
)
34 $(LINK
) $(htpasswd_LTFLAGS
) $(htpasswd_OBJECTS
) $(PROGRAM_LDADD
)
36 htdigest_OBJECTS
= htdigest.lo
37 htdigest
: $(htdigest_OBJECTS
)
38 $(LINK
) $(htdigest_LTFLAGS
) $(htdigest_OBJECTS
) $(PROGRAM_LDADD
)
40 rotatelogs_OBJECTS
= rotatelogs.lo
41 rotatelogs
: $(rotatelogs_OBJECTS
)
42 $(LINK
) $(rotatelogs_LTFLAGS
) $(rotatelogs_OBJECTS
) $(PROGRAM_LDADD
)
44 logresolve_OBJECTS
= logresolve.lo
45 logresolve
: $(logresolve_OBJECTS
)
46 $(LINK
) $(logresolve_LTFLAGS
) $(logresolve_OBJECTS
) $(PROGRAM_LDADD
)
48 htdbm_OBJECTS
= htdbm.lo
49 htdbm
: $(htdbm_OBJECTS
)
50 $(LINK
) $(htdbm_LTFLAGS
) $(htdbm_OBJECTS
) $(PROGRAM_LDADD
)
53 ab_LDADD
= $(PROGRAM_LDADD
) $(SSL_LIBS
) $(MATH_LIBS
)
55 $(LINK
) $(ab_LTFLAGS
) $(ab_OBJECTS
) $(ab_LDADD
)
57 checkgid_OBJECTS
= checkgid.lo
58 checkgid
: $(checkgid_OBJECTS
)
59 $(LINK
) $(checkgid_LTFLAGS
) $(checkgid_OBJECTS
) $(PROGRAM_LDADD
)
61 suexec_OBJECTS
= suexec.lo
62 suexec
: $(suexec_OBJECTS
)
63 $(LINK
) $(suexec_OBJECTS
)
65 htcacheclean_OBJECTS
= htcacheclean.lo
66 htcacheclean
: $(htcacheclean_OBJECTS
)
67 $(LINK
) $(htcacheclean_LTFLAGS
) $(htcacheclean_OBJECTS
) $(PROGRAM_LDADD
)
69 httxt2dbm_OBJECTS
= httxt2dbm.lo
70 httxt2dbm
: $(httxt2dbm_OBJECTS
)
71 $(LINK
) $(httxt2dbm_LTFLAGS
) $(httxt2dbm_OBJECTS
) $(PROGRAM_LDADD
)
73 fcgistarter_OBJECTS
= fcgistarter.lo
74 fcgistarter
: $(fcgistarter_OBJECTS
)
75 $(LINK
) $(fcgistarter_LTFLAGS
) $(fcgistarter_OBJECTS
) $(PROGRAM_LDADD
)