summaryrefslogtreecommitdiff
path: root/src/conv/html/Makefile.am
blob: 4a202c5500a341643058a0a20b4167f2f8054e1a (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
bin_PROGRAMS = text6022html

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

text6022html_DEPENDENCIES = @TEXT6022HTML_WIN32_RESOURCE@

if STATIC_TOOLS
text6022html_LDADD = ../../lib/@TEXT602_OBJDIR@/libtext602-@TEXT602_MAJOR_VERSION@.@TEXT602_MINOR_VERSION@.a $(REVENGE_LIBS) $(REVENGE_GENERATORS_LIBS) $(REVENGE_STREAM_LIBS) @TEXT6022HTML_WIN32_RESOURCE@
text6022html_LDFLAGS = -all-static
else
text6022html_LDADD = ../../lib/libtext602-@TEXT602_MAJOR_VERSION@.@TEXT602_MINOR_VERSION@.la $(REVENGE_LIBS) $(REVENGE_GENERATORS_LIBS) $(REVENGE_STREAM_LIBS) @TEXT6022HTML_WIN32_RESOURCE@
endif

text6022html_SOURCES = text6022html.cpp

if OS_WIN32

@TEXT6022HTML_WIN32_RESOURCE@ : text6022html.rc $(text6022html_OBJECTS)
	chmod +x $(top_srcdir)/build/win32/*compile-resource && \
	WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource text6022html.rc @TEXT6022HTML_WIN32_RESOURCE@
endif

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

# These may be in the builddir too
BUILD_EXTRA_DIST = \
	text6022html.rc