File: Makefile.in

package info (click to toggle)
ample 0.5.7-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 536 kB
  • ctags: 245
  • sloc: ansic: 2,821; sh: 261; makefile: 243
file content (104 lines) | stat: -rw-r--r-- 2,636 bytes parent folder | download | duplicates (7)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
datadir = @datadir@
exec_prefix = @exec_prefix@
includedir = @includedir@
infodir = @infodir@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@

@SET_MAKE@
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@ -DDEF_LOGFILE=\"$(logfile)\" -DDEF_CONFFILE=\"$(conffile)\" -DDEF_PATH=\"$(mp3path)\"
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
INSTALL = @INSTALL@

conffile = $(sysconfdir)/ample.conf
logdir  = $(localstatedir)/log
logfile = $(logdir)/ample.conf
mp3path = $(datadir)/mp3

SUBDIRS = src docs

MDEFS = 'SHELL=$(SHELL)' 'prefix=$(prefix)' 'exec_prefix=$(exec_prefix)' \
	'bindir=$(bindir)' 'MAKE=$(MAKE)' 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' \
	'DEFS=$(DEFS)' 'LIBS=$(LIBS)' 'LDFLAGS=$(LDFLAGS)' \
	'CPPFLAGS=$(CPPFLAGS)' 'INSTALL=$(INSTALL)'

all:
	@for i in $(SUBDIRS); do \
	  echo "Making all in $$i ..."; \
	  cd $$i; $(MAKE) $(MDEFS) all; \
	  cd ..; \
	done

clean:
	@for i in $(SUBDIRS); do \
	  echo "Making clean in $$i ..."; \
	  cd $$i; $(MAKE) clean; \
	  cd ..; \
	done

install:
	@for i in $(SUBDIRS); do \
	  echo "Making install in $$i ..."; \
	  cd $$i; $(MAKE) install; \
	  cd ..; \
	done

uninstall:
	@for i in $(SUBDIRS); do \
	  echo "Making uninstall in $$i ..."; \
	  cd $$i; $(MAKE) uninstall; \
	  cd ..; \
	done

maint-clean:
	@for i in $(SUBDIRS); do \
	  echo "Making maint-clean in $$i ..."; \
	  cd $$i; $(MAKE) maint-clean; \
	  cd ..; \
	done
	rm -f config.cache config.h config.log config.status *~ Makefile

dist-clean:
	@for i in $(SUBDIRS); do \
	  echo "Making dist-clean in $$i ..."; \
	  cd $$i; $(MAKE) dist-clean; \
	  cd ..; \
	done
	rm -f config.cache config.h config.log config.status *~ Makefile
	rm -rf CVS

.PHONY: all clean install dist-clean maint-clean

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: