diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-19 12:41:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-19 12:41:14 +0000 |
commit | cf03be0bec33856ec8d7264260f5be52badb330a (patch) | |
tree | 11cc591bdcb10d71fd581083af531305b18ab025 /Build/source/texk/bibtex-x | |
parent | ec18b43c24d72b1722bb939706424e0d6e92de25 (diff) |
Merge texk/bibtex8/ into texk/bibtex-x/.
git-svn-id: svn://tug.org/texlive/trunk@29434 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x')
-rw-r--r-- | Build/source/texk/bibtex-x/Makefile.am | 40 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/Makefile.in | 194 | ||||
-rwxr-xr-x | Build/source/texk/bibtex-x/configure | 29 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/configure.ac | 3 | ||||
-rwxr-xr-x | Build/source/texk/bibtex-x/tests/bibtexu.test | 9 |
5 files changed, 257 insertions, 18 deletions
diff --git a/Build/source/texk/bibtex-x/Makefile.am b/Build/source/texk/bibtex-x/Makefile.am index 50f1ad9fc39..7287388dfe8 100644 --- a/Build/source/texk/bibtex-x/Makefile.am +++ b/Build/source/texk/bibtex-x/Makefile.am @@ -8,6 +8,16 @@ ACLOCAL_AMFLAGS = -I ../../m4 AM_CPPFLAGS = $(KPATHSEA_INCLUDES) -DUNIX -DKPATHSEA AM_CFLAGS = $(WARNING_CFLAGS) +EXTRA_PROGRAMS = bibtex8 bibtexu + +bin_PROGRAMS = +if BIBTEX8 +bin_PROGRAMS += bibtex8 +endif BIBTEX8 +if BIBTEXU +bin_PROGRAMS += bibtexu +endif BIBTEXU + common_sources = \ bibtex-1.c \ bibtex-2.c \ @@ -23,18 +33,23 @@ common_sources = \ version.h \ sysdep.h -bin_PROGRAMS = bibtex8 - bibtex8_SOURCES = $(common_sources) - bibtex8_CPPFLAGS = $(AM_CPPFLAGS) -DSUPPORT_8BIT - $(bibtex8_OBJECTS): $(KPATHSEA_DEPEND) - bibtex8_LDADD = $(KPATHSEA_LIBS) + +bibtexu_SOURCES = $(common_sources) +# Force Automake to use CXXLD for linking +nodist_EXTRA_bibtexu_SOURCES = dummy.cxx +bibtexu_CPPFLAGS = $(AM_CPPFLAGS) $(ICU_INCLUDES) -DUTF_8 +$(bibtexu_OBJECTS): $(KPATHSEA_DEPEND) $(ICU_DEPEND) +bibtexu_LDADD = $(KPATHSEA_LIBS) $(ICU_LIBS) + ## Rebuild libkpathsea @KPATHSEA_RULE@ +## Rebuild libsicuxxx +@ICU_RULE@ csfdir = $(datarootdir)/texmf-dist/bibtex/csf/base @@ -58,11 +73,22 @@ dist_btdoc_DATA = \ ## Tests. ## -TESTS = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test -EXTRA_DIST = $(TESTS) +bibtex8_tests = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test +bibtexu_tests = tests/bibtexu.test + +TESTS = +if BIBTEX8 +TESTS += $(bibtex8_tests) +endif BIBTEX8 +if BIBTEXU +TESTS += $(bibtexu_tests) +endif BIBTEXU + +EXTRA_DIST = $(bibtex8_tests) $(bibtexu_tests) DISTCLEANFILES = ## tests/bibtex8.test DISTCLEANFILES += tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg +## tests/bibtexu.test ## tests/sort.test EXTRA_DIST += tests/sort.aux \ tests/sort1.bbl tests/sort2.bbl tests/sort3.bbl \ diff --git a/Build/source/texk/bibtex-x/Makefile.in b/Build/source/texk/bibtex-x/Makefile.in index 13f12f81be9..d21431db5b4 100644 --- a/Build/source/texk/bibtex-x/Makefile.in +++ b/Build/source/texk/bibtex-x/Makefile.in @@ -51,7 +51,12 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -bin_PROGRAMS = bibtex8$(EXEEXT) +EXTRA_PROGRAMS = bibtex8$(EXEEXT) bibtexu$(EXEEXT) +bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) +@BIBTEX8_TRUE@am__append_1 = bibtex8 +@BIBTEXU_TRUE@am__append_2 = bibtexu +@BIBTEX8_TRUE@am__append_3 = $(bibtex8_tests) +@BIBTEXU_TRUE@am__append_4 = $(bibtexu_tests) subdir = . DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ @@ -87,6 +92,8 @@ mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = +@BIBTEX8_TRUE@am__EXEEXT_1 = bibtex8$(EXEEXT) +@BIBTEXU_TRUE@am__EXEEXT_2 = bibtexu$(EXEEXT) am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(btdocdir)" \ "$(DESTDIR)$(csfdir)" PROGRAMS = $(bin_PROGRAMS) @@ -101,6 +108,12 @@ AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = +am__objects_2 = bibtexu-bibtex-1.$(OBJEXT) bibtexu-bibtex-2.$(OBJEXT) \ + bibtexu-bibtex-3.$(OBJEXT) bibtexu-bibtex-4.$(OBJEXT) \ + bibtexu-bibtex.$(OBJEXT) bibtexu-utils.$(OBJEXT) +am_bibtexu_OBJECTS = $(am__objects_2) +bibtexu_OBJECTS = $(am_bibtexu_OBJECTS) +bibtexu_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -135,8 +148,26 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(bibtex8_SOURCES) -DIST_SOURCES = $(bibtex8_SOURCES) +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(bibtex8_SOURCES) $(bibtexu_SOURCES) \ + $(nodist_EXTRA_bibtexu_SOURCES) +DIST_SOURCES = $(bibtex8_SOURCES) $(bibtexu_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -535,6 +566,11 @@ common_sources = \ bibtex8_SOURCES = $(common_sources) bibtex8_CPPFLAGS = $(AM_CPPFLAGS) -DSUPPORT_8BIT bibtex8_LDADD = $(KPATHSEA_LIBS) +bibtexu_SOURCES = $(common_sources) +# Force Automake to use CXXLD for linking +nodist_EXTRA_bibtexu_SOURCES = dummy.cxx +bibtexu_CPPFLAGS = $(AM_CPPFLAGS) $(ICU_INCLUDES) -DUTF_8 +bibtexu_LDADD = $(KPATHSEA_LIBS) $(ICU_LIBS) csfdir = $(datarootdir)/texmf-dist/bibtex/csf/base dist_csf_DATA = \ csf/88591lat.csf \ @@ -553,12 +589,15 @@ dist_btdoc_DATA = \ csfile.txt \ file_id.diz -TESTS = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test -EXTRA_DIST = $(TESTS) tests/sort.aux tests/sort1.bbl tests/sort2.bbl \ - tests/sort3.bbl tests/sort1.csf tests/sort2.csf \ - tests/sort3.csf tests/testdata.bib tests/teststyle.bst \ - bt371csf.zip dos-dj.mak dos-emx.mak os2.mak unix.mak \ - csf/00readme.txt csf/COPYING csf/HISTORY csf/file_id.diz +bibtex8_tests = tests/bibtex8.test tests/bibtex8-mem.test tests/sort.test +bibtexu_tests = tests/bibtexu.test +TESTS = $(am__append_3) $(am__append_4) +EXTRA_DIST = $(bibtex8_tests) $(bibtexu_tests) tests/sort.aux \ + tests/sort1.bbl tests/sort2.bbl tests/sort3.bbl \ + tests/sort1.csf tests/sort2.csf tests/sort3.csf \ + tests/testdata.bib tests/teststyle.bst bt371csf.zip dos-dj.mak \ + dos-emx.mak os2.mak unix.mak csf/00readme.txt csf/COPYING \ + csf/HISTORY csf/file_id.diz DISTCLEANFILES = tests/xexampl.aux tests/xexampl.bbl tests/xexampl.blg \ tests/xsort.aux tests/xsort.bbl tests/xsort.blg \ tests/memtest.bib tests/memtest?.* @@ -566,7 +605,7 @@ all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: -.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs +.SUFFIXES: .c .cxx .lo .log .o .obj .test .test$(EXEEXT) .trs am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -668,6 +707,9 @@ clean-binPROGRAMS: bibtex8$(EXEEXT): $(bibtex8_OBJECTS) $(bibtex8_DEPENDENCIES) $(EXTRA_bibtex8_DEPENDENCIES) @rm -f bibtex8$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bibtex8_OBJECTS) $(bibtex8_LDADD) $(LIBS) +bibtexu$(EXEEXT): $(bibtexu_OBJECTS) $(bibtexu_DEPENDENCIES) $(EXTRA_bibtexu_DEPENDENCIES) + @rm -f bibtexu$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(bibtexu_OBJECTS) $(bibtexu_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -681,6 +723,13 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtex8-bibtex-4.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtex8-bibtex.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtex8-utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-bibtex-1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-bibtex-2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-bibtex-3.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-bibtex-4.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-bibtex.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-dummy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bibtexu-utils.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @@ -790,6 +839,128 @@ bibtex8-utils.obj: utils.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtex8_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtex8-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi` +bibtexu-bibtex-1.o: bibtex-1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-1.o -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-1.Tpo -c -o bibtexu-bibtex-1.o `test -f 'bibtex-1.c' || echo '$(srcdir)/'`bibtex-1.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-1.Tpo $(DEPDIR)/bibtexu-bibtex-1.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-1.c' object='bibtexu-bibtex-1.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-1.o `test -f 'bibtex-1.c' || echo '$(srcdir)/'`bibtex-1.c + +bibtexu-bibtex-1.obj: bibtex-1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-1.obj -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-1.Tpo -c -o bibtexu-bibtex-1.obj `if test -f 'bibtex-1.c'; then $(CYGPATH_W) 'bibtex-1.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-1.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-1.Tpo $(DEPDIR)/bibtexu-bibtex-1.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-1.c' object='bibtexu-bibtex-1.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-1.obj `if test -f 'bibtex-1.c'; then $(CYGPATH_W) 'bibtex-1.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-1.c'; fi` + +bibtexu-bibtex-2.o: bibtex-2.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-2.o -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-2.Tpo -c -o bibtexu-bibtex-2.o `test -f 'bibtex-2.c' || echo '$(srcdir)/'`bibtex-2.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-2.Tpo $(DEPDIR)/bibtexu-bibtex-2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-2.c' object='bibtexu-bibtex-2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-2.o `test -f 'bibtex-2.c' || echo '$(srcdir)/'`bibtex-2.c + +bibtexu-bibtex-2.obj: bibtex-2.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-2.obj -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-2.Tpo -c -o bibtexu-bibtex-2.obj `if test -f 'bibtex-2.c'; then $(CYGPATH_W) 'bibtex-2.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-2.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-2.Tpo $(DEPDIR)/bibtexu-bibtex-2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-2.c' object='bibtexu-bibtex-2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-2.obj `if test -f 'bibtex-2.c'; then $(CYGPATH_W) 'bibtex-2.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-2.c'; fi` + +bibtexu-bibtex-3.o: bibtex-3.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-3.o -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-3.Tpo -c -o bibtexu-bibtex-3.o `test -f 'bibtex-3.c' || echo '$(srcdir)/'`bibtex-3.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-3.Tpo $(DEPDIR)/bibtexu-bibtex-3.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-3.c' object='bibtexu-bibtex-3.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-3.o `test -f 'bibtex-3.c' || echo '$(srcdir)/'`bibtex-3.c + +bibtexu-bibtex-3.obj: bibtex-3.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-3.obj -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-3.Tpo -c -o bibtexu-bibtex-3.obj `if test -f 'bibtex-3.c'; then $(CYGPATH_W) 'bibtex-3.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-3.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-3.Tpo $(DEPDIR)/bibtexu-bibtex-3.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-3.c' object='bibtexu-bibtex-3.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-3.obj `if test -f 'bibtex-3.c'; then $(CYGPATH_W) 'bibtex-3.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-3.c'; fi` + +bibtexu-bibtex-4.o: bibtex-4.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-4.o -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-4.Tpo -c -o bibtexu-bibtex-4.o `test -f 'bibtex-4.c' || echo '$(srcdir)/'`bibtex-4.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-4.Tpo $(DEPDIR)/bibtexu-bibtex-4.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-4.c' object='bibtexu-bibtex-4.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-4.o `test -f 'bibtex-4.c' || echo '$(srcdir)/'`bibtex-4.c + +bibtexu-bibtex-4.obj: bibtex-4.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex-4.obj -MD -MP -MF $(DEPDIR)/bibtexu-bibtex-4.Tpo -c -o bibtexu-bibtex-4.obj `if test -f 'bibtex-4.c'; then $(CYGPATH_W) 'bibtex-4.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-4.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex-4.Tpo $(DEPDIR)/bibtexu-bibtex-4.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex-4.c' object='bibtexu-bibtex-4.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex-4.obj `if test -f 'bibtex-4.c'; then $(CYGPATH_W) 'bibtex-4.c'; else $(CYGPATH_W) '$(srcdir)/bibtex-4.c'; fi` + +bibtexu-bibtex.o: bibtex.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex.o -MD -MP -MF $(DEPDIR)/bibtexu-bibtex.Tpo -c -o bibtexu-bibtex.o `test -f 'bibtex.c' || echo '$(srcdir)/'`bibtex.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex.Tpo $(DEPDIR)/bibtexu-bibtex.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex.c' object='bibtexu-bibtex.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex.o `test -f 'bibtex.c' || echo '$(srcdir)/'`bibtex.c + +bibtexu-bibtex.obj: bibtex.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-bibtex.obj -MD -MP -MF $(DEPDIR)/bibtexu-bibtex.Tpo -c -o bibtexu-bibtex.obj `if test -f 'bibtex.c'; then $(CYGPATH_W) 'bibtex.c'; else $(CYGPATH_W) '$(srcdir)/bibtex.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-bibtex.Tpo $(DEPDIR)/bibtexu-bibtex.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bibtex.c' object='bibtexu-bibtex.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-bibtex.obj `if test -f 'bibtex.c'; then $(CYGPATH_W) 'bibtex.c'; else $(CYGPATH_W) '$(srcdir)/bibtex.c'; fi` + +bibtexu-utils.o: utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-utils.o -MD -MP -MF $(DEPDIR)/bibtexu-utils.Tpo -c -o bibtexu-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-utils.Tpo $(DEPDIR)/bibtexu-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils.c' object='bibtexu-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c + +bibtexu-utils.obj: utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bibtexu-utils.obj -MD -MP -MF $(DEPDIR)/bibtexu-utils.Tpo -c -o bibtexu-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-utils.Tpo $(DEPDIR)/bibtexu-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils.c' object='bibtexu-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bibtexu-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi` + +.cxx.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cxx.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cxx.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +bibtexu-dummy.o: dummy.cxx +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT bibtexu-dummy.o -MD -MP -MF $(DEPDIR)/bibtexu-dummy.Tpo -c -o bibtexu-dummy.o `test -f 'dummy.cxx' || echo '$(srcdir)/'`dummy.cxx +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-dummy.Tpo $(DEPDIR)/bibtexu-dummy.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='dummy.cxx' object='bibtexu-dummy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o bibtexu-dummy.o `test -f 'dummy.cxx' || echo '$(srcdir)/'`dummy.cxx + +bibtexu-dummy.obj: dummy.cxx +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT bibtexu-dummy.obj -MD -MP -MF $(DEPDIR)/bibtexu-dummy.Tpo -c -o bibtexu-dummy.obj `if test -f 'dummy.cxx'; then $(CYGPATH_W) 'dummy.cxx'; else $(CYGPATH_W) '$(srcdir)/dummy.cxx'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bibtexu-dummy.Tpo $(DEPDIR)/bibtexu-dummy.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='dummy.cxx' object='bibtexu-dummy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bibtexu_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o bibtexu-dummy.obj `if test -f 'dummy.cxx'; then $(CYGPATH_W) 'dummy.cxx'; else $(CYGPATH_W) '$(srcdir)/dummy.cxx'; fi` + mostlyclean-libtool: -rm -f *.lo @@ -1350,10 +1521,11 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_btdocDATA \ uninstall-am uninstall-binPROGRAMS uninstall-dist_btdocDATA \ uninstall-dist_csfDATA - $(bibtex8_OBJECTS): $(KPATHSEA_DEPEND) +$(bibtexu_OBJECTS): $(KPATHSEA_DEPEND) $(ICU_DEPEND) @KPATHSEA_RULE@ +@ICU_RULE@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/Build/source/texk/bibtex-x/configure b/Build/source/texk/bibtex-x/configure index bb7fa1fd59e..d09c540bcf7 100755 --- a/Build/source/texk/bibtex-x/configure +++ b/Build/source/texk/bibtex-x/configure @@ -636,6 +636,10 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +BIBTEXU_FALSE +BIBTEXU_TRUE +BIBTEX8_FALSE +BIBTEX8_TRUE ICU_RULE ICU_DEPEND ICU_LIBS @@ -18710,6 +18714,23 @@ ${top_builddir}/../../libs/icu/include/unicode/uversion.h: fi + if test "x$enable_bibtex8" != xno; then + BIBTEX8_TRUE= + BIBTEX8_FALSE='#' +else + BIBTEX8_TRUE='#' + BIBTEX8_FALSE= +fi + + if test "x$enable_bibtexu" != xno; then + BIBTEXU_TRUE= + BIBTEXU_FALSE='#' +else + BIBTEXU_TRUE='#' + BIBTEXU_FALSE= +fi + + ac_config_files="$ac_config_files Makefile" @@ -18854,6 +18875,14 @@ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${BIBTEX8_TRUE}" && test -z "${BIBTEX8_FALSE}"; then + as_fn_error $? "conditional \"BIBTEX8\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BIBTEXU_TRUE}" && test -z "${BIBTEXU_FALSE}"; then + as_fn_error $? "conditional \"BIBTEXU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 diff --git a/Build/source/texk/bibtex-x/configure.ac b/Build/source/texk/bibtex-x/configure.ac index f934b3a3af2..41828152076 100644 --- a/Build/source/texk/bibtex-x/configure.ac +++ b/Build/source/texk/bibtex-x/configure.ac @@ -27,6 +27,9 @@ AC_SEARCH_LIBS([pow], [m]) KPSE_KPATHSEA_FLAGS KPSE_ICU_FLAGS([icuio icui18n], [--ldflags-icuio]) +AM_CONDITIONAL([BIBTEX8], [test "x$enable_bibtex8" != xno]) +AM_CONDITIONAL([BIBTEXU], [test "x$enable_bibtexu" != xno]) + AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/Build/source/texk/bibtex-x/tests/bibtexu.test b/Build/source/texk/bibtex-x/tests/bibtexu.test new file mode 100755 index 00000000000..18299b228eb --- /dev/null +++ b/Build/source/texk/bibtex-x/tests/bibtexu.test @@ -0,0 +1,9 @@ +#! /bin/sh + +# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +# Not really a test, just making sure the program executes. + +./bibtexu -version || exit 1 + |