-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
95 lines (77 loc) · 2.37 KB
/
Makefile.in
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
# $Id: Makefile.in,v 1.42 1998/02/24 18:30:16 mkb Exp $
# Run the configure script to generate a Makefile.
CC =@CC@
INCLUDES=-I. @REINCLUDE@
CPPFLAGS=$(INCLUDES) @CPPFLAGS@ @REFLAGS@
CPP =@CPP@ $(CPPFLAGS)
LINT =@LINT@
CXREF =@CXREF@
OPTFLAG =@OPTFLAG@
CFLAGS =$(OPTFLAG) @CFLAGS@
LDFLAGS =@LDFLAGS@ @LIBS@
LINTFLAGS=$(CPPFLAGS) @LINTFLAGS@
CXFLAGS =@CXFLAGS@ $(CPPFLAGS)
prefix =@prefix@
exec_prefix=@exec_prefix@
bindir =@bindir@
datadir =@datadir@
mandir =@mandir@
INSTALL =@INSTALL@
MKDEP =@MKDEP@
BINST =$(INSTALL) -m755
MINST =$(INSTALL) -m644
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
.SUFFIXES: .ln .c
.c.ln:
$(LINT) $(LINTFLAGS) -c $<
CTAGS =ctags -w
# Note: REOBJ must not stand alone on a line
OBJ =main.o irc.o ircx.o input.o cmd.o screen.o tty.o flood.o system.o\
dcc.o shm.o compat.o url.o colour.o strtoul.o ncol.o dl.o dlapi.o\
hook.o odlg.o snprintf.o @REOBJ@
LOBJ =main.ln irc.ln ircx.ln input.ln cmd.ln screen.ln tty.ln flood.ln\
system.ln dcc.ln shm.ln compat.ln url.ln colour.ln strtoul.ln ncol.ln\
dl.ln dlapi.ln hook.ln odlg.ln
all: depend tirc
clean:
rm -f core *.core core.* *third* *.3log tirc *.o *.u *.ln *.html cxref.* mprof.*
distclean: clean
rm -f config.cache config.status config.log config.h Makefile conftest* ht.h regex.h
install: tirc tirc.1
$(BINST) tirc $(bindir)
# $(BINST) tircbug $(bindir)
$(MINST) tirc.1 $(mandir)/man1
# rm -f $(mandir)/man1/tircbug.1
# ln -s $(mandir)/man1/tirc.1 $(mandir)/man1/tircbug.1
tags: *.c *.h
$(CTAGS) *.c *.h
cxref: *.c *.h
$(CXREF) *.c $(CXFLAGS)
rcs:
ci -u Makefile.in configure.in rfcnum.awk FAQ \
dot.tircrc Notes Changelog tirc.1 Ported mkdist \
cmd.c dcc.c flood.c input.c irc.c ircx.c main.c screen.c shm.c \
system.c tty.c compat.c url.c colour.c strtoul.c ncol.c dl.c dl.h \
acconfig.h compat.h help.h num.h tirc.h tty.h v.h urlchtml.h \
colour.h hook.c hook.h odlg.c snprintf.c dlapi.c dlapi.h
depend:
$(MKDEP) $(INCLUDES) *.c
tirc: $(OBJ)
$(CC) $(OBJ) $(LDFLAGS) -o tirc
lint:
sed '/### Do not/,$$s/\.o/.ln/' < Makefile > Makefile.ln
make -f Makefile.ln reallint
rm -f Makefile.ln
reallint: $(LOBJ)
$(LINT) $(LOBJ) $(LDFLAGS)
tirc.third: tirc
atom tirc -tool third -o tirc.third
regcomp.o: regex/regcomp.c
regerror.o: regex/regerror.c
regexec.o: regex/regexec.c
regfree.o: regex/regfree.c
regcomp.ln: regex/regcomp.c
regerror.ln: regex/regerror.c
regexec.ln: regex/regexec.c
regfree.ln: regex/regfree.c