File: Makefile.am

package info (click to toggle)
msort 8.53-2.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,360 kB
  • sloc: sh: 10,138; ansic: 10,031; makefile: 51
file content (46 lines) | stat: -rw-r--r-- 1,147 bytes parent folder | download | duplicates (2)
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
bin_PROGRAMS = msort
bin_SCRIPTS = msg
dist_man_MANS = msort.1
docs = Doc/msort.pdf Doc/InitializationFiles
msort_SOURCES = conversions.c dstr.c info.c input.c misc.c msort.c sorts.c strs.c uniio.c ExplicateBadUTF8.c binfmt.c iso8601.c
noinst_HEADERS = comparisons.h compdefs.h dstr.h ex_codes.h exitcode.h input.h key.h limits.h record.h retcodes.h unicode.h  unorm.h utf8error.h
LOCALEDIR=/usr/local/share/locale
EXTRA_DIST = $(docs) msg.tcl CREDITS msort-${VERSION}.lsm RegressionTests SortOrders
AUTOMAKE_OPTIONS = dist-zip dist-bzip2 nostdinc

if ALLOCAOK
AM_CFLAGS = -DLOCALEDIR=\"${LOCALEDIR}\" -DALLOCAOK -std=gnu99
else
AM_CFLAGS = -DLOCALEDIR=\"${LOCALEDIR}\" -std=gnu99
endif

if DEBUGBUILD
AM_CFLAGS += -DDEBUGBUILD
endif

if UTF8PROCOK
LIBS+=-lutf8proc
AM_CFLAGS += -DUSEUTF8PROC
else
LIBS+=-licutu -licuuc
endif

msg:	msg.tcl
	cp msg.tcl msg

test:	RegressionTests/RunTests.sh
	(cd RegressionTests;make;cat TestResults)

localetest:	RegressionTests/RunLocaleTests.sh
	(cd RegressionTests;make localetest;cat LocaleTestResults)

if NOCOMPARISONCNT
AM_CFLAGS += -DNOCOMPARISONCNT
endif

if UNINUMOK
AM_CFLAGS += -DUSEUNINUMOK
endif