summaryrefslogtreecommitdiffstats
path: root/support/Makefile.in
blob: 3b67ba11e2818903659a793e9d6597a86739eba0 (plain)
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
47
DISTCLEAN_TARGETS = apxs apachectl dbmmanage log_server_status \
	logresolve.pl phf_abuse_log.cgi split-logfile

PROGRAMS = htpasswd htdigest rotatelogs logresolve ab
TARGETS  = $(PROGRAMS)

PROGRAM_LDADD        = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
PROGRAM_DEPENDENCIES = \
	$(top_builddir)/srclib/apr-util/libaprutil.la \
	$(top_builddir)/srclib/apr/libapr.la

include $(top_builddir)/build/rules.mk

install:
	@test -d $(bindir) || $(MKINSTALLDIRS) $(bindir)
	@cp -p $(top_builddir)/server/httpd.exp $(libexecdir)
	@for i in apachectl dbmmanage; do \
	    if test -f "$(builddir)/$$i"; then \
	        cp -p $$i $(sbindir); \
	        chmod 755 $(sbindir)/$$i; \
	    fi ; \
	done

htpasswd_OBJECTS = htpasswd.lo
htpasswd: $(htpasswd_OBJECTS)
	$(LINK) $(htpasswd_LTFLAGS) $(htpasswd_OBJECTS) $(PROGRAM_LDADD)

htdigest_OBJECTS = htdigest.lo
htdigest: $(htdigest_OBJECTS)
	$(LINK) $(htdigest_LTFLAGS) $(htdigest_OBJECTS) $(PROGRAM_LDADD)

rotatelogs_OBJECTS = rotatelogs.lo
rotatelogs: $(rotatelogs_OBJECTS)
	$(LINK) $(rotatelogs_LTFLAGS) $(rotatelogs_OBJECTS) $(PROGRAM_LDADD)

logresolve_OBJECTS = logresolve.lo
logresolve: $(logresolve_OBJECTS)
	$(LINK) $(logresolve_LTFLAGS) $(logresolve_OBJECTS) $(PROGRAM_LDADD)

ab_OBJECTS = ab.lo
ab: $(ab_OBJECTS)
	$(LINK) $(ab_LTFLAGS) $(ab_OBJECTS) $(PROGRAM_LDADD)

suexec_OBJECTS = suexec.lo
suexec: $(suexec_OBJECTS)
	$(LINK) $(suexec_OBJECTS) $(PROGRAM_LDADD)