Skip to content

Commit

Permalink
fugly post-tag merge to fix critical build system failures (across th…
Browse files Browse the repository at this point in the history
…e board) due to bad juju in the tkhtml3 dependency build. this should (sufficiently/hopefully) make things 'good enough' for release though leaving much to be desired.

svn:revision:33136
svn:tag:rel-7-14-0
svn:account:brlcad
  • Loading branch information
brlcad committed Nov 5, 2008
1 parent d309e8b commit 6c259fe
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 6 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,15 @@ xsltproc_works=no
fop_works=no
if test "x$bc_build_docs" != "xno" ; then
AC_PATH_PROG(XSLTPROC, xsltproc)
if test "x$XSLTPROC" = "x" ; then
XSLTPROC=:
fi
AC_SUBST(XSLTPROC)

AC_PATH_PROG(APACHEFOP, fop)
if test "x$APACHEFOP" = "x" ; then
APACHEFOP=:
fi
AC_SUBST(APACHEFOP)
fi

Expand Down
84 changes: 78 additions & 6 deletions src/other/tkhtml3/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#========================================================================

PKG_SOURCES = @PKG_SOURCES@
PKG_OBJECTS = @PKG_OBJECTS@ cssprop.$(OBJEXT)
PKG_OBJECTS = @PKG_OBJECTS@ # cssprop.$(OBJEXT)

PKG_STUB_SOURCES = @PKG_STUB_SOURCES@
PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@
Expand Down Expand Up @@ -156,7 +156,7 @@ DEFS = @DEFS@ $(PKG_CFLAGS)
CONFIG_CLEAN_FILES = Makefile

CPPFLAGS = @CPPFLAGS@
LIBS = @PKG_LIBS@ @LIBS@
LIBS = -L/usr/lib -L/usr/local/lib @PKG_LIBS@ @LIBS@
AR = @AR@
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Expand Down Expand Up @@ -283,8 +283,76 @@ HEADERS = html.h cssInt.h css.h cssprop.h htmltokens.h htmldefaultstyle.c

HDR = $(GENHDR) $(SRCHDR)

.c.@OBJEXT@: $(HEADERS)
$(COMPILE) -c -I. -I$(srcdir)/src `@CYGPATH@ $<` -o $@
css.o: cssprop.h htmltokens.h
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/css.c -o $@

cssdynamic.o: cssprop.h htmltokens.h
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/cssdynamic.c -o $@

cssparser.o: cssprop.h htmltokens.h
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/cssparser.c -o $@

csssearch.o: cssprop.h htmltokens.h
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/csssearch.c -o $@

htmldraw.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmldraw.c -o $@

htmlfloat.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlfloat.c -o $@

htmlhash.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlhash.c -o $@

htmlw.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlw.c -o $@

htmlimage.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlimage.c -o $@

htmlinline.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlinline.c -o $@

htmllayout.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmllayout.c -o $@

htmlparse.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlparse.c -o $@

htmlprop.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlprop.c -o $@

htmlstyle.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlstyle.c -o $@

htmltagdb.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmltagdb.c -o $@

htmltable.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmltable.c -o $@

htmltcl.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmltcl.c -o $@

htmltree.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmltree.c -o $@

swproc.o:
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/swproc.c -o $@

restrack.o:
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/restrack.c -o $@

htmldecode.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmldecode.c -o $@

htmltext.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmltext.c -o $@

htmlutil.o: htmltokens.h htmldefaultstyle.c
$(COMPILE) -c -I. -I$(srcdir)/src $(srcdir)/src/htmlutil.c -o $@

html.h:

#========================================================================
# The special targets to generate C code from tcl and lemon files are
Expand All @@ -299,11 +367,14 @@ htmldefaultstyle.c: $(srcdir)/src/tkhtml.tcl $(srcdir)/src/html.css \

htmltokens.h: htmltokens.c

cssprop.h: cssprop.tcl
cssprop.h: $(srcdir)/src/cssprop.tcl
$(TCLSH) $?

cssprop.c: cssprop.h

cssprop.tcl:


#========================================================================
# Create the pkgIndex.tcl file.
# It is usually easiest to let Tcl do this for you with pkg_mkIndex, but
Expand Down Expand Up @@ -444,7 +515,8 @@ install-bin-binaries: binaries
fi; \
done

.SUFFIXES: .c .$(OBJEXT)
.SUFFIXES:
# .c .$(OBJEXT)

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
Expand Down

0 comments on commit 6c259fe

Please sign in to comment.