]> Joshua Wise's Git repositories - tdl.git/blame - Makefile.in
get 'make install' to work right on case-insensitive systems
[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
425ee20c
JW
71.PHONY: clean distclean install
72
7024e37b
JW
73clean:
74 rm -f tdl *.o core \
75 tdl.vr tdl.tp tdl.pg tdl.ky tdl.fn tdl.cp \
76 tdl.toc tdl.log tdl.dvi tdl.aux \
77 tdl.txt tdl.html tdl.info* tdl.pdf tdl.ps
78
79distclean: clean
80 rm -f Makefile config.log
81
82install:
83 [ -d $(pprefix) ] || mkdir -p $(pprefix)
84 [ -d $(bindir) ] || mkdir -p $(bindir)
85 [ -d $(mandir) ] || mkdir -p $(mandir)
86 [ -d $(man1dir) ] || mkdir -p $(man1dir)
87 cp tdl $(bindir)/tdl
88 chmod 555 $(bindir)/tdl
89 (cd $(bindir); ln -sf tdl tdla; ln -sf tdl tdll; ln -sf tdl tdls; ln -sf tdl tdld; ln -sf tdl tdlg)
90 gzip -9 < tdl.1 > $(man1dir)/tdl.1.gz
91 chmod 444 $(man1dir)/tdl.1.gz
92 (cd $(man1dir); for x in tdla tdll tdls tdld tdlg ; do ln -sf tdl.1.gz $${x}.1.gz ; done )
93
94
95docs : tdl.info tdl.txt tdl.html tdl.dvi tdl.pdf
96
97tdl.info : tdl.texi
98 makeinfo tdl.texi
99
100tdl.txt : tdl.texi
101 makeinfo --no-split --number-sections --no-headers tdl.texi > tdl.txt
102
103tdl.html : tdl.texi
104 makeinfo --no-split --number-sections --html tdl.texi > tdl.html
105
106tdl.dvi : tdl.texi
107 tex tdl.texi
108 tex tdl.texi
109
110tdl.ps : tdl.dvi
111 dvips tdl.dvi -o
112
113tdl.pdf : tdl.texi
114 pdftex tdl.texi
115 pdftex tdl.texi
116
117.PHONY : ChangeLog
118
119# Using cvs2cl.pl version 2.48
120ChangeLog:
121 cvs2cl -r -b -T --show-dead
122
This page took 0.033503 seconds and 4 git commands to generate.