| 1 |
if BUILD_TOOLS |
| 2 |
|
| 3 |
bin_PROGRAMS = cdr2xhtml cmx2xhtml |
| 4 |
|
| 5 |
AM_CXXFLAGS = \ |
| 6 |
-I$(top_srcdir)/inc \ |
| 7 |
$(REVENGE_CFLAGS) \ |
| 8 |
$(REVENGE_STREAM_CFLAGS) \ |
| 9 |
$(DEBUG_CXXFLAGS) |
| 10 |
|
| 11 |
cdr2xhtml_DEPENDENCIES = @CDR2XHTML_WIN32_RESOURCE@ |
| 12 |
|
| 13 |
cdr2xhtml_LDADD = \ |
| 14 |
../../lib/libcdr-@CDR_MAJOR_VERSION@.@[email protected] \ |
| 15 |
$(ICU_LIBS) \ |
| 16 |
$(REVENGE_LIBS) \ |
| 17 |
$(REVENGE_STREAM_LIBS) \ |
| 18 |
@CDR2XHTML_WIN32_RESOURCE@ |
| 19 |
|
| 20 |
cdr2xhtml_SOURCES = \ |
| 21 |
cdr2xhtml.cpp |
| 22 |
|
| 23 |
cmx2xhtml_DEPENDENCIES = @CMX2XHTML_WIN32_RESOURCE@ |
| 24 |
|
| 25 |
cmx2xhtml_LDADD = \ |
| 26 |
../../lib/libcdr-@CDR_MAJOR_VERSION@.@[email protected] \ |
| 27 |
$(ICU_LIBS) \ |
| 28 |
$(REVENGE_GENERATORS_LIBS) \ |
| 29 |
$(REVENGE_LIBS) \ |
| 30 |
$(REVENGE_STREAM_LIBS) \ |
| 31 |
@CMX2XHTML_WIN32_RESOURCE@ |
| 32 |
|
| 33 |
cmx2xhtml_SOURCES = \ |
| 34 |
cmx2xhtml.cpp |
| 35 |
|
| 36 |
if OS_WIN32 |
| 37 |
|
| 38 |
@CDR2XHTML_WIN32_RESOURCE@ : cdr2xhtml.rc $(cdr2xhtml_OBJECTS) |
| 39 |
chmod +x $(top_srcdir)/build/win32/*compile-resource |
| 40 |
WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource cdr2xhtml.rc @CDR2XHTML_WIN32_RESOURCE@ |
| 41 |
|
| 42 |
@CMX2XHTML_WIN32_RESOURCE@ : cmx2xhtml.rc $(cmx2xhtml_OBJECTS) |
| 43 |
chmod +x $(top_srcdir)/build/win32/*compile-resource |
| 44 |
WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource cmx2xhtml.rc @CMX2XHTML_WIN32_RESOURCE@ |
| 45 |
endif |
| 46 |
|
| 47 |
EXTRA_DIST = \ |
| 48 |
$(cdr2xhtml_SOURCES) \ |
| 49 |
$(cmx2xhtml_SOURCES) \ |
| 50 |
cdr2xhtml.rc.in \ |
| 51 |
cmx2xhtml.rc.in |
| 52 |
|
| 53 |
# These may be in the builddir too |
| 54 |
BUILD_EXTRA_DIST = \ |
| 55 |
cdr2xhtml.rc \ |
| 56 |
cmx2xhtml.rc |
| 57 |
|
| 58 |
endif |