Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | |
2 | BUILT_SOURCES = vi.h emacs.h common.h fcns.h help.h fcns.c help.c | |
3 | if WIDECHAR | |
4 | BUILT_SOURCES += tokenizern.c historyn.c | |
5 | endif | |
6 | ||
7 | AHDR= vi.h emacs.h common.h | |
8 | ASRC= $(srcdir)/vi.c $(srcdir)/emacs.c $(srcdir)/common.c | |
9 | ||
10 | vi.h: Makefile $(srcdir)/vi.c | |
11 | sh $(srcdir)/makelist -h $(srcdir)/vi.c > $@ | |
12 | ||
13 | emacs.h: Makefile $(srcdir)/emacs.c | |
14 | sh $(srcdir)/makelist -h $(srcdir)/emacs.c > $@ | |
15 | ||
16 | common.h: Makefile $(srcdir)/common.c | |
17 | sh $(srcdir)/makelist -h $(srcdir)/common.c > $@ | |
18 | ||
19 | fcns.h: Makefile $(AHDR) | |
20 | sh $(srcdir)/makelist -fh $(AHDR) > $@ | |
21 | ||
22 | help.h: Makefile $(ASRC) | |
23 | sh $(srcdir)/makelist -bh $(ASRC) > $@ | |
24 | ||
25 | fcns.c: Makefile $(AHDR) | |
26 | sh $(srcdir)/makelist -fc $(AHDR) > $@ | |
27 | ||
28 | help.c: Makefile $(ASRC) | |
29 | sh $(srcdir)/makelist -bc $(ASRC) > $@ | |
30 | ||
31 | tokenizern.c: Makefile $(srcdir)/tokenizer.c | |
32 | sh $(srcdir)/makelist -n $(srcdir)/tokenizer.c > $@ | |
33 | ||
34 | historyn.c: Makefile $(srcdir)/history.c | |
35 | sh $(srcdir)/makelist -n $(srcdir)/history.c > $@ | |
36 | ||
37 | CLEANFILES = $(BUILT_SOURCES) | |
38 | ||
39 | lib_LTLIBRARIES = libedit.la | |
40 | libedit_la_SOURCES = chared.c common.c el.c emacs.c hist.c key.c map.c chartype.c parse.c \ | |
41 | prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c \ | |
42 | fgetln.c strlcat.c strlcpy.c unvis.c vis.c wcsdup.c tokenizer.c \ | |
43 | history.c filecomplete.c readline.c chared.h el.h hist.h \ | |
44 | histedit.h key.h map.h chartype.h parse.h prompt.h read.h refresh.h \ | |
45 | search.h sig.h sys.h el_term.h tty.h vis.h filecomplete.h \ | |
46 | editline/readline.h | |
47 | if WIDECHAR | |
48 | libedit_la_SOURCES += eln.c | |
49 | endif | |
50 | ||
51 | EXTRA_DIST = makelist shlib_version | |
52 | nobase_include_HEADERS = histedit.h editline/readline.h | |
53 | ||
54 | nodist_libedit_la_SOURCES = $(BUILT_SOURCES) | |
55 | ||
56 | libedit_la_LDFLAGS = -no-undefined -version-info $(LT_VERSION) | |
57 |