summaryrefslogtreecommitdiff
path: root/src/conv/text/Makefile.am
blob: ae54b2df34356ce84e18428bab3cd542351b90e2 (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
if BUILD_TOOLS

bin_PROGRAMS = sdw2text

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

sdw2text_DEPENDENCIES = @SDW2TEXT_WIN32_RESOURCE@

sdw2text_LDADD = \
	../../lib/libsdw-@SDW_MAJOR_VERSION@.@SDW_MINOR_VERSION@.la \
	$(REVENGE_LIBS) $(REVENGE_GENERATORS_LIBS) $(REVENGE_STREAM_LIBS) @SDW2TEXT_WIN32_RESOURCE@

sdw2text_SOURCES = \
	sdw2text.cpp

if OS_WIN32

@SDW2TEXT_WIN32_RESOURCE@ : sdw2text.rc $(sdw2text_OBJECTS)
	chmod +x $(top_srcdir)/build/win32/*compile-resource
	WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource sdw2text.rc @SDW2TEXT_WIN32_RESOURCE@
endif

EXTRA_DIST = \
	$(sdw2text_SOURCES)	\
	sdw2text.rc.in

# These may be in the builddir too
BUILD_EXTRA_DIST = \
	sdw2text.rc	 
 
endif # BUILD_TOOLS