Blob


1 bin_PROGRAMS = telescope
3 telescope_SOURCES = cmd.c \
4 cmd.gen.c \
5 cmd.h \
6 compat.h \
7 compat/*.[ch] \
8 compl.c \
9 compl.h \
10 defaults.c \
11 defaults.h \
12 fs.c \
13 gemini.c \
14 gemtext.c \
15 gencmd.awk \
16 hist.c \
17 keymap.c \
18 mime.c \
19 minibuffer.c \
20 minibuffer.h \
21 pages.c \
22 pages.h \
23 parse.y \
24 parser.c \
25 parser.h \
26 sandbox.c \
27 telescope.c \
28 telescope.h \
29 textplain.c \
30 tofu.c \
31 ui.c \
32 ui.h \
33 utf8.c \
34 utf8.h \
35 util.c \
36 wrap.c
38 # phos bundled files
39 telescope_SOURCES += phos/phos.h \
40 phos/phos_uri.c
42 BUILT_SOURCES = cmd.gen.c compile_flags.txt
44 CLEANFILES = cmd.gen.c compile_flags.txt
46 LDADD = $(LIBOBJS)
48 dist_doc_DATA = README.md LICENSE
50 dist_man1_MANS = telescope.1
52 cmd.gen.c: $(srcdir)/cmd.h $(srcdir)/gencmd.awk
53 ${AWK} -f $(srcdir)/gencmd.awk < $(srcdir)/cmd.h > $@
55 compile_flags.txt:
56 printf "%s\n" ${CFLAGS} > compile_flags.txt