File: Makefile.in

package info (click to toggle)
apcupsd 3.12.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 41,116 kB
  • ctags: 6,199
  • sloc: ansic: 42,488; sh: 8,031; cpp: 3,740; makefile: 1,897; perl: 1,723; tcl: 368; php: 107; sed: 93
file content (57 lines) | stat: -rw-r--r-- 1,467 bytes parent folder | download | duplicates (2)
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
# main Makefile for apcupsd
#
# Copyright (C) 1999-2003 Riccardo Facchetti <riccardo@master.oasi.gpa.it>
#

# Default variables
@VARIABLES@
# TOP source directory.
topdir = @topdir@
top_builddir = $(topdir)

#
# this is a list of all subdirectories that contain Makefiles
# Warning: "autoconf" must always be the last.
# Warning: "platforms" must always be next to last.
#
subdirs = src include doc platforms autoconf

# Include the default make targets: to be put before the all-targets: rule.
@TARGETS@

all-targets: Makefile

install: install-directories install-subdirs

install-directories: install-dir@CGI@
	$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)	
	$(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)  
	@if [ ! -d $(DESTDIR)$(sysconfdir) ] ; then \
	      $(SHELL) $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir); \
	      chmod 755 $(DESTDIR)$(sysconfdir); \
	fi

install-dir: dummy

install-dircgi:
	@$(SHELL) $(MKINSTALLDIRS)  $(DESTDIR)$(cgibin)

uninstall: uninstall-subdirs

example_clean:
	(cd examples; $(MAKE) clean)

clean: example_clean targetclean
	find . -type f -size 0 -exec $(RMF) {} \;

example_distclean: example_clean
	(cd examples; $(MAKE) distclean)

distclean: example_distclean targetdistclean
	$(RMF) TAGS tags
	$(RMF) config.cache config.status config.log config.out stamp-config
	$(RMF) Makefile
	rm -rf CVS

# -----------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.