blob: 8761df94e78eaa6e602e974dbc2cc24f214208e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
AM_CFLAGS = -Wall -std=c99
AM_CXXFLAGS = -Wall
AM_CPPFLAGS =
if NEED_COMPAT
AM_CPPFLAGS += -I@top_srcdir@/compat
endif
BUILT_SOURCES = symbols-scintilla.cpp symbols-scilexer.cpp
EXTRA_DIST = gtk-info-popup.gob \
symbols-extract.tes
if BOOTSTRAP
noinst_PROGRAMS = sciteco-minimal
BOOTSTRAP_SCITECO = ./sciteco-minimal$(EXEEXT)
symbols-scintilla.cpp symbols-scilexer.cpp : $(BOOTSTRAP_SCITECO)
else
BOOTSTRAP_SCITECO = @SCITECO@
endif
sciteco_minimal_SOURCES = main.cpp sciteco.h \
cmdline.cpp cmdline.h \
undo.cpp undo.h \
expressions.cpp expressions.h \
qregisters.cpp qregisters.h \
ring.cpp ring.h \
parser.cpp parser.h \
search.cpp search.h \
goto.cpp goto.h \
rbtree.cpp rbtree.h \
symbols.cpp symbols.h \
interface.h
nodist_sciteco_minimal_SOURCES =
if INTERFACE_GTK
BUILT_SOURCES += gtk-info-popup.c \
gtk-info-popup.h gtk-info-popup-private.h
sciteco_minimal_SOURCES += interface-gtk.cpp interface-gtk.h
nodist_sciteco_minimal_SOURCES += gtk-info-popup.c
else
sciteco_minimal_SOURCES += interface-ncurses.cpp interface-ncurses.h
endif
bin_PROGRAMS = sciteco
sciteco_SOURCES = $(sciteco_minimal_SOURCES)
nodist_sciteco_SOURCES = $(nodist_sciteco_minimal_SOURCES) \
symbols-scintilla.cpp symbols-scilexer.cpp
CLEANFILES = $(BUILT_SOURCES)
%.c %.h %-private.h : %.gob
@GOB2@ $<
symbols-scintilla.cpp : @SCINTILLA_PATH@/include/Scintilla.h \
symbols-extract.tes
$(BOOTSTRAP_SCITECO) -m symbols-extract.tes $< $@ "SCI_" scintilla
symbols-scilexer.cpp : @SCINTILLA_PATH@/include/SciLexer.h \
symbols-extract.tes
$(BOOTSTRAP_SCITECO) -m symbols-extract.tes $< $@ "SCLEX_,SCE_" scilexer
|