Debian Codegraph @

src/conv/text/Makefile.am

raw
1 if BUILD_TOOLS
2
3 bin_PROGRAMS = abw2text
4
5 AM_CXXFLAGS = \
6 -I$(top_srcdir)/inc \
7 $(REVENGE_CFLAGS) \
8 $(REVENGE_GENERATORS_CFLAGS) \
9 $(REVENGE_STREAM_CFLAGS) \
10 $(DEBUG_CXXFLAGS)
11
12 abw2text_DEPENDENCIES = @ABW2TEXT_WIN32_RESOURCE@
13
14 abw2text_LDADD = \
15 ../../lib/libabw-@ABW_MAJOR_VERSION@.@[email protected] \
16 $(REVENGE_GENERATORS_LIBS) \
17 $(REVENGE_LIBS) \
18 $(REVENGE_STREAM_LIBS) \
19 @ABW2TEXT_WIN32_RESOURCE@
20
21 abw2text_SOURCES = \
22 abw2text.cpp
23
24 if OS_WIN32
25
26 @ABW2TEXT_WIN32_RESOURCE@ : abw2text.rc $(abw2text_OBJECTS)
27 chmod +x $(top_srcdir)/build/win32/*compile-resource && \
28 WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource abw2text.rc @ABW2TEXT_WIN32_RESOURCE@
29 endif
30
31 # Include the abw2text_SOURCES in case we build a tarball without stream
32 EXTRA_DIST = \
33 $(abw2text_SOURCES) \
34 abw2text.rc.in
35
36 # These may be in the builddir too
37 BUILD_EXTRA_DIST = \
38 abw2text.rc
39
40 endif