-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.in
68 lines (54 loc) · 1.87 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
# makefile for Levee
exedir=@exedir@
mandir=@mandir@
CC=@CC@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
OBJS = blockio.o display.o editcor.o exec.o find.o \
globals.o insert.o main.o misc.o modify.o move.o \
ucsd.o undo.o version.o home.o tag.o \
@MACHDEP@call.o @LOGGER@
lev: $(OBJS)
$(CC) $(LDFLAGS) -o lev $(OBJS) @LIBS@
version.c: mkversio VERSION
./mkversio
mkversio : mkversio.c
$(CC) $(CFLAGS) -o mkversio mkversio.c
tags: Makefile fixtags
ctags `echo $(OBJS) | sed -e 's/\.o/.c/g'`
./fixtags < tags > tagtmp
mv -f tagtmp tags
clean:
rm -f *.o lev mkversio version.c
distclean spotless: clean
@DISTCLEAN@ @GENERATED_FILES@ @CONFIGURE_FILES@
install: install.bin install.man
install.bin: lev
@INSTALL_DIR@ $(PREFIX)$(exedir)
@INSTALL_PROGRAM@ lev $(PREFIX)$(exedir)/levee
@NOMK@@LN_S@ -f levee $(PREFIX)$(exedir)/lv
install.man:
@INSTALL_DIR@ $(PREFIX)$(mandir)/man1
@INSTALL_DATA@ lv.1 $(PREFIX)$(mandir)/man1/levee.1
@NOMK@echo ".so man1/levee.1" > $(PREFIX)$(mandir)/man1/lv.1
# Dependencies
version.o : version.c
blockio.o : levee.h extern.h blockio.c config.h
display.o : levee.h extern.h display.c config.h
editcor.o : levee.h extern.h editcor.c config.h
exec.o : levee.h extern.h exec.c config.h
find.o : levee.h extern.h grep.h find.c config.h
globals.o : levee.h globals.c config.h
insert.o : levee.h extern.h insert.c config.h
main.o : levee.h extern.h main.c config.h
misc.o : levee.h extern.h misc.c config.h
modify.o : levee.h extern.h grep.h modify.c config.h
move.o : levee.h extern.h move.c config.h
rmxcall.o : levee.h rmxcall.c config.h
ucsd.o : levee.h extern.h ucsd.c config.h
undo.o : levee.h extern.h undo.c config.h
unixcall.o : levee.h extern.h unixcall.c config.h
home.o : levee.h extern.h home.c config.h
tag.o : levee.h
logit.o : logit.c
fixtags.o : fixtags.c