texlive[60703] Build/source/texk/web2c: hitex: -I for md5, define

commits+karl at tug.org commits+karl at tug.org
Tue Oct 5 23:25:21 CEST 2021


Revision: 60703
          http://tug.org/svn/texlive?view=revision&revision=60703
Author:   karl
Date:     2021-10-05 23:25:21 +0200 (Tue, 05 Oct 2021)
Log Message:
-----------
hitex: -I for md5, define dependencies

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/Makefile.in
    trunk/Build/source/texk/web2c/hitexdir/ChangeLog
    trunk/Build/source/texk/web2c/hitexdir/am/hitex.am

Modified: trunk/Build/source/texk/web2c/Makefile.in
===================================================================
--- trunk/Build/source/texk/web2c/Makefile.in	2021-10-05 20:14:02 UTC (rev 60702)
+++ trunk/Build/source/texk/web2c/Makefile.in	2021-10-05 21:25:21 UTC (rev 60703)
@@ -1392,17 +1392,14 @@
 	hitexdir/hishrink-hishrink-lexer.$(OBJEXT) \
 	hitexdir/hishrink-hishrink-parser.$(OBJEXT)
 hishrink_OBJECTS = $(nodist_hishrink_OBJECTS)
-hishrink_DEPENDENCIES = $(am__DEPENDENCIES_1)
 nodist_histretch_OBJECTS = histretch-hformat.$(OBJEXT) \
 	histretch-histretch.$(OBJEXT)
 histretch_OBJECTS = $(nodist_histretch_OBJECTS)
-histretch_DEPENDENCIES = $(am__DEPENDENCIES_1)
 am__objects_37 = hitex-htex.$(OBJEXT)
 am__objects_38 = hitex-hitex.$(OBJEXT)
 nodist_hitex_OBJECTS = hitex-hformat.$(OBJEXT) hitex-hput.$(OBJEXT) \
 	$(am__objects_37) $(am__objects_38)
 hitex_OBJECTS = $(nodist_hitex_OBJECTS)
-hitex_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
 nodist_initex_OBJECTS = initex-callexe.$(OBJEXT)
 initex_OBJECTS = $(nodist_initex_OBJECTS)
 initex_DEPENDENCIES =
@@ -4572,19 +4569,18 @@
 # e-upTeX Tests
 #
 euptex_tests = euptexdir/euptriptest.test euptexdir/pdfprimitive.test euptexdir/eupver.test
-
-# We want debugging for the parser, and we use features not in POSIX yacc.
-# The result is that we assume bison? Not sure if that's ok.
-AM_YFLAGS = -d -v -Wno-yacc
-hitex_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES)
-hitex_LDADD = $(KPATHSEA_LIBS) $(ZLIB_LIBS)
+hitex_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES) -I$(srcdir)/libmd5
+hitex_LDADD = $(KPATHSEA_LIBS) $(ZLIB_LIBS) libmd5.a
+hitex_DEPENDENCIES = $(KPATHSEA_DEPEND) $(ZLIB_DEPEND) libmd5.a
 #
 histretch_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES)
 histretch_LDADD = $(ZLIB_LIBS)
+histretch_DEPENDENCIES = $(ZLIB_DEPEND)
 #
 # The -I$(srcdir)/hitexdir is so the compiler can find the *parser.h file.
 hishrink_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES) -I$(srcdir)/hitexdir
 hishrink_LDADD = $(ZLIB_LIBS)
+hishrink_DEPENDENCIES = $(ZLIB_DEPEND)
 
 # HiTeX CWEB sources
 hitex_web = hitexdir/format.w hitexdir/htex.w hitexdir/hitex.w

Modified: trunk/Build/source/texk/web2c/hitexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/ChangeLog	2021-10-05 20:14:02 UTC (rev 60702)
+++ trunk/Build/source/texk/web2c/hitexdir/ChangeLog	2021-10-05 21:25:21 UTC (rev 60703)
@@ -1,3 +1,11 @@
+2021-10-05  Karl Berry  <karl at freefriends.org>
+
+	* am/hitex.am (AM_YFLAGS): comment out since we aren't doing
+	lex/yacc stuff any more.
+
+	(hitex_CPPFLAGS): include -I$(srcdir)/libmd5 for extensions.
+	(hi{tex,stretch,shrink}_DEPENDENCIES): define.
+
 2021-10-01  Karl Berry  <karl at freefriends.org>
 
 	* am/hitex.am (nodist_hishrink_SOURCES): remove references to .[ly]

Modified: trunk/Build/source/texk/web2c/hitexdir/am/hitex.am
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/am/hitex.am	2021-10-05 20:14:02 UTC (rev 60702)
+++ trunk/Build/source/texk/web2c/hitexdir/am/hitex.am	2021-10-05 21:25:21 UTC (rev 60703)
@@ -12,19 +12,24 @@
 # convenience target to build all the programs here.
 hiall: hitex hishrink histretch
 
-# We want debugging for the parser, and we use features not in POSIX yacc.
-# The result is that we assume bison? Not sure if that's ok.
-AM_YFLAGS = -d -v -Wno-yacc
+## Debugging for the parser as usual.
+## Except we eschew all lex/yacc steps in the Makefile here; see below.
+## AM_YFLAGS = -d -v -Wno-yacc
 
 hitex_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES)
+hitex_CPPFLAGS += -I$(srcdir)/libmd5
 hitex_LDADD = $(KPATHSEA_LIBS) $(ZLIB_LIBS)
+hitex_LDADD += libmd5.a
+hitex_DEPENDENCIES = $(KPATHSEA_DEPEND) $(ZLIB_DEPEND) libmd5.a
 #
 histretch_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES)
 histretch_LDADD = $(ZLIB_LIBS)
+histretch_DEPENDENCIES = $(ZLIB_DEPEND)
 #
 # The -I$(srcdir)/hitexdir is so the compiler can find the *parser.h file.
 hishrink_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_INCLUDES) -I$(srcdir)/hitexdir
 hishrink_LDADD = $(ZLIB_LIBS)
+hishrink_DEPENDENCIES = $(ZLIB_DEPEND)
 
 # HiTeX CWEB sources
 hitex_web = hitexdir/format.w hitexdir/htex.w hitexdir/hitex.w



More information about the tex-live-commits mailing list.