summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtexu/Makefile.am
blob: 85eba46aa69466985cd5c7de852c85a7171f3abf (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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
## Makefile.am for the TeX Live subdirectory texk/bibtexu/
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4

INCLUDES = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES)
AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT 
AM_CFLAGS = $(WARNING_CFLAGS)

## FIXME: (1) this should go away once the code has been carefully
## FIXME: analyzed and uses 'unsigned char' where necessary.
## FIXME: (2) this should go to AM_CFLAGS, but AIX xlc only
## FIXME: accepts this flag when compiling, not when linking.
AM_CPPFLAGS += -funsigned-char

bin_PROGRAMS = bibtexu

# Force Automake to use CXXLD for linking
nodist_EXTRA_bibtexu_SOURCES = dummy.cxx

bibtexu_SOURCES = \
	bibtex-1.c \
	bibtex-2.c \
	bibtex-3.c \
	bibtex-4.c \
	bibtex.c \
	bibtex.h \
	datatype.h \
	gblprocs.h \
	gblvars.h \
	utils.c \
	utils.h \
	version.h \
	sysdep.h

bibtexu_DEPENDENCIES = $(KPATHSEA_DEPEND) $(ICU_DEPEND)

LDADD = $(KPATHSEA_LIBS) $(ICU_LIBS) -lm

## Rebuild libkpathsea
@KPATHSEA_RULE@
## Rebuild libsicuxxx
@ICU_RULE@

csfdir = ${prefix}/texmf-dist/bibtex/csf/base

dist_csf_DATA = \
	csf/88591lat.csf \
	csf/88591sca.csf \
	csf/ascii.csf \
	csf/cp437lat.csf \
	csf/cp850lat.csf \
	csf/cp850sca.csf \
	csf/cp866rus.csf \
	csf/csfile.txt

btdocdir = ${prefix}/texmf/doc/bibtexu

dist_btdoc_DATA = \
	00readme.txt \
	HISTORY \
	csfile.txt \
	file_id.diz

## Not used
##
EXTRA_DIST = \
	bt371csf.zip \
	dos-dj.mak \
	dos-emx.mak \
	getopt.c \
	getopt.h \
	getopt1.c \
	os2.mak \
	unix.mak \
	csf/00readme.txt \
	csf/COPYING \
	csf/HISTORY \
	csf/file_id.diz