]> Joshua Wise's Git repositories - tdl.git/blame - Makefile.in
Initial import of tdl-1.6-pre1
[tdl.git] / Makefile.in
CommitLineData
7024e37b
JW
1# $Header: /cvs/src/tdl/Makefile.in,v 1.7.2.2 2004/01/07 00:09:05 richard Exp $
2#
3# tdl - A console program for managing to-do lists
4# Copyright (C) 2001-2004 Richard P. Curnow
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
20#######################################################################
21# Note, the @xxx@ macros are filled in by the configure script. You
22# should not need to edit this file directly.
23#######################################################################
24# Select C compiler and compile options
25CC=@cc@
26CFLAGS=@cflags@ @defines@
27READLINE_DEFINE=@readline_define@
28INC_READLINE=@inc_readline@
29LIB_READLINE=@lib_readline@
30
31#######################################################################
32# If you're generating a package, you may want to use
33# make DESTDIR=temporary_dir install
34# to get the software installed to a directory where you can create
35# a tdl.tar.gz from it
36DESTDIR=
37
38#######################################################################
39
40prefix=$(DESTDIR)@prefix@
41bindir=$(DESTDIR)@bindir@
42mandir=$(DESTDIR)@mandir@
43man1dir=$(mandir)/man1
44
45#######################################################################
46# YOU SHOULD NOT NEED TO CHANGE ANYTHING BELOW HERE
47
48OBJ = main.o io.o add.o done.o remove.o move.o list.o \
49 report.o purge.o util.o dates.o impexp.o narrow.o \
50 inter.o
51
52all : tdl
53
54tdl : $(OBJ)
55 $(CC) $(CFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
56
57%.o : %.c
58 $(CC) $(CFLAGS) -c $<
59
60inter.o : inter.c
61 $(CC) $(CFLAGS) $(READLINE_DEFINE) $(INC_READLINE) -c $<
62
63version.h:
64 ./mkversion
65
66main.o : version.h
67
68%.s : %.c
69 $(CC) $(CFLAGS) -S $<
70
71clean:
72 rm -f tdl *.o core \
73 tdl.vr tdl.tp tdl.pg tdl.ky tdl.fn tdl.cp \
74 tdl.toc tdl.log tdl.dvi tdl.aux \
75 tdl.txt tdl.html tdl.info* tdl.pdf tdl.ps
76
77distclean: clean
78 rm -f Makefile config.log
79
80install:
81 [ -d $(pprefix) ] || mkdir -p $(pprefix)
82 [ -d $(bindir) ] || mkdir -p $(bindir)
83 [ -d $(mandir) ] || mkdir -p $(mandir)
84 [ -d $(man1dir) ] || mkdir -p $(man1dir)
85 cp tdl $(bindir)/tdl
86 chmod 555 $(bindir)/tdl
87 (cd $(bindir); ln -sf tdl tdla; ln -sf tdl tdll; ln -sf tdl tdls; ln -sf tdl tdld; ln -sf tdl tdlg)
88 gzip -9 < tdl.1 > $(man1dir)/tdl.1.gz
89 chmod 444 $(man1dir)/tdl.1.gz
90 (cd $(man1dir); for x in tdla tdll tdls tdld tdlg ; do ln -sf tdl.1.gz $${x}.1.gz ; done )
91
92
93docs : tdl.info tdl.txt tdl.html tdl.dvi tdl.pdf
94
95tdl.info : tdl.texi
96 makeinfo tdl.texi
97
98tdl.txt : tdl.texi
99 makeinfo --no-split --number-sections --no-headers tdl.texi > tdl.txt
100
101tdl.html : tdl.texi
102 makeinfo --no-split --number-sections --html tdl.texi > tdl.html
103
104tdl.dvi : tdl.texi
105 tex tdl.texi
106 tex tdl.texi
107
108tdl.ps : tdl.dvi
109 dvips tdl.dvi -o
110
111tdl.pdf : tdl.texi
112 pdftex tdl.texi
113 pdftex tdl.texi
114
115.PHONY : ChangeLog
116
117# Using cvs2cl.pl version 2.48
118ChangeLog:
119 cvs2cl -r -b -T --show-dead
120
This page took 0.031855 seconds and 4 git commands to generate.