File: Makefile.am

package info (click to toggle)
liblinebreak2 2.1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,964 kB
  • sloc: sh: 8,914; ansic: 2,501; makefile: 62; sed: 3
file content (37 lines) | stat: -rw-r--r-- 991 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
#noinst_PROGRAMS = filter_dup
include_HEADERS = linebreak.h linebreakdef.h
lib_LTLIBRARIES = liblinebreak.la

liblinebreak_la_LDFLAGS = -no-undefined -version-info 2:1
liblinebreak_la_SOURCES = \
	linebreak.c \
	linebreakdata.c \
	linebreakdef.c

EXTRA_DIST = \
	LineBreak1.sed \
	LineBreak2.sed \
	linebreakdata1.tmpl \
	linebreakdata2.tmpl \
	linebreakdata3.tmpl \
	LICENCE \
	Doxyfile \
	Makefile.gcc \
	Makefile.msvc \
	doc

distclean-local:
	rm -f LineBreak.txt filter_dup${EXEEXT}

doc:
	cd ${top_srcdir} && doxygen

LineBreak.txt:
	wget http://unicode.org/Public/UNIDATA/LineBreak.txt

linebreakdata: ${builddir}/filter_dup LineBreak.txt
	sed -n -f ${top_srcdir}/LineBreak1.sed LineBreak.txt > tmp.txt
	sed -f ${top_srcdir}/LineBreak2.sed tmp.txt | ${builddir}/filter_dup > tmp.c
	head -2 LineBreak.txt > tmp.txt
	cat ${top_srcdir}/linebreakdata1.tmpl tmp.txt ${top_srcdir}/linebreakdata2.tmpl tmp.c ${top_srcdir}/linebreakdata3.tmpl > ${top_srcdir}/linebreakdata.c
	rm tmp.txt tmp.c