File: Makefile.am

package info (click to toggle)
texlive-bin 2016.20160513.41080.dfsg-2+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 155,060 kB
  • sloc: ansic: 702,862; cpp: 222,090; perl: 76,014; sh: 23,402; makefile: 8,078; lex: 4,710; pascal: 3,782; python: 3,614; java: 3,569; yacc: 2,905; exp: 2,031; xml: 800; tcl: 670; ruby: 620; lisp: 397; sed: 351; asm: 140; csh: 48; awk: 30
file content (66 lines) | stat: -rw-r--r-- 2,494 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
AUTOMAKE_OPTIONS = -Wno-portability

bin_PROGRAMS = teckit_compile txtconv

AM_CPPFLAGS  = -I$(top_srcdir)/source/Public-headers

expatdir = $(top_srcdir)/SFconv/expat
tool_src = $(top_srcdir)/source/Sample-tools

if SYSTEM_EXPAT
EXPAT_CFLAGS = -DXML_DTD @expat_CFLAGS@
else
EXPAT_CFLAGS = -DXML_DTD -I$(expatdir)/xmlparse -I$(expatdir)/xmltok
noinst_LIBRARIES = libexpat.a
libexpat_a_SOURCES  = @top_builddir@/SFconv/expat/xmlparse/xmlparse.c
libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmlparse/hashtable.c
libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmltok/xmlrole.c
libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmltok/xmltok.c
libexpat_a_CFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
$(am_libexpat_a_OBJECTS): CFLAGS := $(filter-out -Wextra, $(CFLAGS))
endif

# AM_CPPFLAGS  += $(EXPAT_CFLAGS)
AM_CFLAGS    = $(AM_CPPFLAGS)

teckit_compile_SOURCES = @top_builddir@/source/Sample-tools/TECkit_Compile.cpp

txtconv_SOURCES = @top_builddir@/source/Sample-tools/TxtConv.cpp

sfconv_SOURCES  = @top_builddir@/SFconv/SFconv.cpp
sfconv_SOURCES += @top_builddir@/SFconv/ConvertUTF.c
sfconv_CPPFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
sfconv_CFLAGS   = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
sfconv_SOURCES += @top_builddir@/SFconv/sfReader.h
sfconv_SOURCES += @top_builddir@/SFconv/ConvertUTF.h
sfconv_SOURCES += @top_builddir@/SFconv/Debug_Prefix.h
sfconv_SOURCES += @top_builddir@/SFconv/Final_Prefix.h
sfconv_SOURCES += @top_builddir@/SFconv/ushort_chartraits.h
if OLD_LIB_NAMES
teckit_compile_LDADD = $(top_builddir)/lib/TECkit_Compiler_x86.la
txtconv_LDADD        = $(top_builddir)/lib/TECkit_x86.la
sfconv_LDADD         = $(top_builddir)/lib/TECkit_x86.la @expat_LIBS@
else
teckit_compile_LDADD = $(top_builddir)/lib/libTECkit_Compiler.la
txtconv_LDADD        = $(top_builddir)/lib/libTECkit.la
sfconv_LDADD         = $(top_builddir)/lib/libTECkit.la @expat_LIBS@
endif
sfconv_LDADD += $(noinst_LIBRARIES)

# --> RC Support
if OLD_LIB_NAMES
teckit_compile_DEPENDENCIES = TECkit_Compile_ver.o
teckit_compile_LDFLAGS      = -Wl,TECkit_Compile_ver.o
TECkit_Compile_ver.o: $(tool_src)/TECkit_Compile_ver.rc
	$(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $<

txtconv_DEPENDENCIES = TxtConv_ver.o
txtconv_LDFLAGS      = -Wl,TxtConv_ver.o
TxtConv_ver.o: $(tool_src)/TxtConv_ver.rc
	$(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $<

sfconv_DEPENDENCIES = SFconv_ver.o
sfconv_LDFLAGS      = -Wl,SFconv_ver.o
SFconv_ver.o: $(top_srcdir)/SFconv/SFconv_ver.rc
	$(RC) $(AM_RCFLAGS) $(RCFLAGS) -I$(tool_src) -o $@ $<
endif