root/src/noitedit/Makefile.in

Revision ef59bc73bec75f7ab931c023663f3d3e50f569c4, 1.7 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

cleanup some makefiles and code -- make it easier to see warnings

  • 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         @echo "- archiving $@"
36         @$(RANLIB) $@
37
38 .c.o:   vi.h emacs.h common.h fcns.h help.h
39         @$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
40         @echo "- compiling $<"
41
42 vi.h: vi.c makelist
43         @sh ./makelist -h vi.c > $@
44         @echo "- makelist $@"
45
46 emacs.h: emacs.c makelist
47         @sh ./makelist -h emacs.c > $@
48         @echo "- makelist $@"
49
50 common.h: common.c makelist
51         @sh ./makelist -h common.c > $@
52         @echo "- makelist $@"
53
54 fcns.h: vi.h emacs.h common.h makelist
55         @sh ./makelist -fh vi.h emacs.h common.h > $@
56         @echo "- makelist $@"
57
58 fcns.c: fcns.h
59         @sh ./makelist -fc vi.h emacs.h common.h > $@
60         @echo "- makelist $@"
61
62 help.c: vi.c emacs.c common.c makelist
63         @sh ./makelist -bc vi.c emacs.c common.c > $@
64         @echo "- makelist $@"
65
66 help.h: vi.c emacs.c common.c makelist
67         @sh ./makelist -bh vi.c emacs.c common.c > $@
68         @echo "- makelist $@"
69
70 editline.c: vi.c emacs.c common.c makelist
71         @sh ./makelist -e vi.c emacs.c common.c > $@
72         @echo "- makelist $@"
73
74 clean:
75         rm -f *.o *.a vi.h emacs.h common.h fcns.h fcns.c \
76                 help.c help.h editline.c
Note: See TracBrowser for help on using the browser.