File: Makefile.in

package info (click to toggle)
levee 3.5a-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 536 kB
  • ctags: 715
  • sloc: ansic: 7,401; pascal: 619; sh: 131; makefile: 64; asm: 29
file content (56 lines) | stat: -rw-r--r-- 1,662 bytes parent folder | download | duplicates (3)
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
# makefile for Levee

exedir=@exedir@
mandir=@mandir@
CC=@CC@

CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@

OBJS = blockio.o display.o editcor.o exec.o find.o \
    unixcall.o globals.o insert.o main.o misc.o \
    modify.o move.o ucsd.o undo.o wildargs.o \
    version.o

lev: $(OBJS)
	$(CC) $(LDFLAGS) -o lev $(OBJS) @LIBS@

version.o: version.c VERSION
	$(CC) $(CFLAGS) -c -DVERSION=\"`cat VERSION`\" version.c

clean:
	rm -f *.o lev

distclean spotless: clean
	rm -f @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

blockio.o    : levee.h extern.h blockio.c config.h
display.o    : levee.h extern.h termcap.i 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
wildargs.o   : levee.h extern.h wildargs.c config.h