File: Makefile.am

package info (click to toggle)
squid 2.6.5-6etch5
  • links: PTS
  • area: main
  • in suites: etch
  • size: 12,540 kB
  • ctags: 13,801
  • sloc: ansic: 105,278; sh: 6,083; makefile: 1,297; perl: 1,245; awk: 40
file content (63 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download | duplicates (6)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
#  Makefile for the Squid Object Cache server
#
#  $Id: Makefile.am,v 1.3 2006/09/22 09:08:46 hno Exp $
#
#  Uncomment and customize the following to suit your needs:
#


AUTOMAKE_OPTIONS = subdir-objects

INCLUDES        = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/lib/libTrie/include

TESTS=$(check_PROGRAMS)
check_PROGRAMS=

SUBDIRS		= 

if NEED_COSSDUMP
COSSDUMP = cossdump
else
COSSDUMP =
endif

bin_PROGRAMS = \
	squidclient \
	$(COSSDUMP)

libexec_PROGRAMS = \
	cachemgr$(CGIEXT)

squidclient_SOURCES = squidclient.c
cossdump_SOURCES = cossdump.c
cachemgr__CGIEXT__SOURCES = cachemgr.c
cachemgr__CGIEXT__CFLAGS = -DDEFAULT_CACHEMGR_CONFIG=\"$(DEFAULT_CACHEMGR_CONFIG)\" $(AM_CFLAGS)

LDADD = -L../lib -lmiscutil $(XTRA_LIBS)

EXTRA_DIST = \
	cachemgr.conf

DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf

$(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h

install-data-local:
	@if test -f $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG) ; then \
	        echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG)" ; \
	else \
	        echo "$(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG)"; \
	        $(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG); \
	fi

uninstall-local:

# Don't automatically uninstall config files
#	@if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \
#		echo "rm -f $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \
#		$(RM) -f $(DESTDIR)$(DEFAULT_CONFIG_FILE); \
#	fi

DISTCLEANFILES =