Blob


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