root/src/noitedit/Makefile.in

Revision bafab25395cb398ddf5eae42145f0d0bfc00ec22, 1.4 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 7 years ago)

import of libedit... prepare to hack

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 LDFLAGS=@LDFLAGS@
5 AR=@AR@
6 RANLIB=@RANLIB@
7 LIBS=@LIBS@
8 INSTALL=@INSTALL@
9
10 prefix=@prefix@
11 exec_prefix=@exec_prefix@
12 bindir=@bindir@
13 sbindir=@sbindir@
14 libdir=@libdir@
15 includedir=${prefix}/include
16 libexecdir=@libexecdir@
17 datarootdir = @datarootdir@
18 mandir=@mandir@
19 mansubdir=@mansubdir@
20 docdir=${prefix}/@docdir@
21 sysconfdir=@sysconfdir@
22 srcdir=@srcdir@
23 top_srcdir=@top_srcdir@
24
25 FABHEADERS=vi.h emacs.h common.h fcns.h help.h
26
27 OBJS=chared.o common.o el.o emacs.o fcns.o fgetln.o \
28         help.o hist.o history.o key.o map.o parse.o prompt.o \
29         read.o readline.o refresh.o search.o sig.o strlcpy.o \
30         term.o tokenizer.o tty.o vi.o
31
32 libnoitedit.a:   $(FABHEADERS) $(OBJS)
33         rm -f $@
34         $(AR) cq $@ $(OBJS)
35         $(RANLIB) $@
36
37 .c.o:   vi.h emacs.h common.h fcns.h help.h
38         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
39
40 vi.h: vi.c makelist
41         sh ./makelist -h $< > $@
42
43 emacs.h: emacs.c makelist
44         sh ./makelist -h $< > $@
45
46 common.h: common.c makelist
47         sh ./makelist -h $< > $@
48
49 fcns.h: vi.h emacs.h common.h makelist
50         sh ./makelist -fh vi.h emacs.h common.h > $@
51
52 fcns.c: fcns.h
53         sh ./makelist -fc vi.h emacs.h common.h > $@
54
55 help.c: vi.c emacs.c common.c makelist
56         sh ./makelist -bc vi.c emacs.c common.c > $@
57
58 help.h: vi.c emacs.c common.c makelist
59         sh ./makelist -bh vi.c emacs.c common.c > $@
60
61 editline.c: vi.c emacs.c common.c makelist
62         sh ./makelist -e vi.c emacs.c common.c > $@
63
64 clean:
65         rm -f *.o *.a vi.h emacs.h common.h fcns.h fcns.c \
66                 help.c help.h editline.c
Note: See TracBrowser for help on using the browser.