File: Makefile.in

package info (click to toggle)
xtail 2.1-2
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 148 kB
  • ctags: 94
  • sloc: ansic: 688; sh: 153; makefile: 105
file content (78 lines) | stat: -rw-r--r-- 1,730 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
# $Id: Makefile.in,v 2.11 2000/06/04 19:04:56 chip Exp $
# $Source: /local/src/xtail/RCS/Makefile.in,v $

SHELL = @SHELL@

srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

CC = @CC@
DEFS = @DEFS@ -I$(srcdir) 
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
CFLAGS = @CFLAGS@ $(DEFS)

TARBALL = xtail.tar
XTAIL_OBJECTS = xtail.o entryfuncs.o miscfuncs.o
DISTFILES = Makefile.in README acconfig.h config.h.in configure \
	configure.in entryfuncs.c install-sh miscfuncs.c xtail.1 xtail.c \
	xtail.h

###

all : xtail xtail.1

xtail : $(XTAIL_OBJECTS)
	$(CC) -o $@ $(LDFLAGS) $(XTAIL_OBJECTS) $(LIBS)

xtail.o : xtail.c xtail.h config.h
entryfuncs.o : entryfuncs.c xtail.h config.h
miscfuncs.o : miscfuncs.c xtail.h config.h

install : $(bindir)/xtail $(mandir)/man1/xtail.1

$(bindir)/xtail : xtail
	$(INSTALL_PROGRAM) $? $@

$(mandir)/man1/xtail.1 : xtail.1
	$(INSTALL_DATA) $? $@

clean :
	rm -f xtail $(XTAIL_OBJECTS) $(TARBALL)

distclean : clean
	rm -f Makefile config.h config.cache config.log config.status

dist : $(TARBALL)

$(TARBALL) : $(DISTFILES)
	tar cf $@ $(DISTFILES)


###

config.status : $(srcdir)/configure
	$(SHELL) ./config.status --recheck

Makefile : $(srcdir)/Makefile.in  config.status
	CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

#config.h : $(srcdir)/config.h.in  config.status
#	CONFIG_FILES= CONFIG_HEADERS=$@ $(SHELL) ./config.status

$(srcdir)/configure : $(srcdir)/configure.in
	cd $(srcdir) && autoconf

$(srcdir)/config.h.in : $(srcdir)/configure.in $(srcdir)/acconfig.h
	cd $(srcdir) && autoheader