summaryrefslogtreecommitdiff
path: root/src/conv/text/Makefile.am
blob: e1a8e19a5f38e190987ae6d7c32f26eb9d5acce4 (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
## -*- Mode: make; tab-width: 4; indent-tabs-mode: tabs -*-

bin_PROGRAMS = sdf2text

AM_CXXFLAGS = \
	-I$(top_srcdir)/inc \
	$(REVENGE_CFLAGS) \
	$(REVENGE_GENERATORS_CFLAGS) \
	$(REVENGE_STREAM_CFLAGS) \
	$(BOOST_CFLAGS) \
	$(DEBUG_CXXFLAGS)

sdf2text_DEPENDENCIES = @SDF2TEXT_WIN32_RESOURCE@ 
sdf2text_LDADD = \
	../../lib/libsdf-@SDF_MAJOR_VERSION@.@SDF_MINOR_VERSION@.la \
	$(REVENGE_LIBS) \
	$(REVENGE_GENERATORS_LIBS) \
	$(REVENGE_STREAM_LIBS) \
	@SDF2TEXT_WIN32_RESOURCE@

sdf2text_SOURCES = sdf2text.cpp

if OS_WIN32

@SDF2TEXT_WIN32_RESOURCE@ : sdf2text.rc $(sdf2text_OBJECTS)
	chmod +x $(top_srcdir)/build/win32/*compile-resource && \
	WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource sdf2text.rc @SDF2TEXT_WIN32_RESOURCE@

endif

# Include the sdf2text_SOURCES in case we build a tarball without stream
EXTRA_DIST = \
	$(sdf2text_SOURCES) \
	sdf2text.rc.in

# These may be in the builddir too
BUILD_EXTRA_DIST = \
	sdf2text.rc
 
## vim:set shiftwidth=4 tabstop=4 noexpandtab: