-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile.am
39 lines (29 loc) · 1 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS=-I build-aux
SUBDIRS = xylib
EXTRA_DIST = sample-urls README.rst README.dev \
xylib.i xylib_capi.py \
gui/xyconvert.rc gui/xyconvert16.xpm gui/xyconvert48.xpm \
CMakeLists.txt
bin_PROGRAMS = xyconv
dist_man_MANS = xyconv.1
xyconv_SOURCES = xyconv.cpp
xyconv_LDADD = xylib/libxy.la -lm
if USE_XYLIB_DLL
xyconv_CPPFLAGS = -DXYLIB_DLL
endif
if BUILD_GUI
bin_PROGRAMS += gui/xyconvert
if WINDOWS
RC_FLAGS=`echo $(DEFS) $(CPPFLAGS) $(WX_CPPFLAGS) | sed -e 's/-mthreads//g'`
xyconvert_res = gui/xyconvertres.o
$(xyconvert_res): gui/xyconvert.rc gui/xyconvert.ico
$(WINDRES) -o $@ $(RC_FLAGS) $<
endif
gui_xyconvert_SOURCES = gui/xyconvert.cpp gui/xybrowser.cpp gui/xybrowser.h \
gui/uplot.cpp gui/uplot.h
gui_xyconvert_CPPFLAGS = $(WX_CPPFLAGS) -DXYCONVERT
gui_xyconvert_LDADD = $(xyconvert_res) $(WX_LIBS) xylib/libxy.la -lm
endif
index.html: README.rst web/web.css web/web-tmpl.txt
rst2html --stylesheet=$(srcdir)/web/web.css \
--template=$(srcdir)/web/web-tmpl.txt $< $@