[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2302: really add -lxslt this time - have to edit in mktests, makefile is regenned

Mats Wichmann mats at linuxfoundation.org
Wed Sep 26 18:05:04 UTC 2012


------------------------------------------------------------
revno: 2302
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Wed 2012-09-26 12:05:04 -0600
message:
  really add -lxslt this time - have to edit in mktests, makefile is regenned
modified:
  ts/devchk/makefile
  ts/devchk/mktests
-------------- next part --------------
=== modified file 'ts/devchk/makefile'
--- a/ts/devchk/makefile	2012-09-26 13:53:57 +0000
+++ b/ts/devchk/makefile	2012-09-26 18:05:04 +0000
@@ -1,3 +1,5 @@
+# Generated file, edit mktests instead
+
 OBJS = hdrchk.o \
 	GL_gl_h.o \
 	GL_glext_h.o \
@@ -687,8 +689,9 @@
 
 all: hdrchk
 
+# need to link with libs that contain global data
 hdrchk: $(OBJS)
-	$(CXX) -o hdrchk $(OBJS) $(EXTRALIBS) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/opt/gnome/lib64 -L/opt/gnome/lib -lXt -lX11 -lncurses -lrt -lxml2 -lglib-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0
+	$(CXX) -o hdrchk $(OBJS) $(EXTRALIBS) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/opt/gnome/lib64 -L/opt/gnome/lib -lXt -lX11 -lncurses -lrt -lxml2 -lxslt -lglib-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0
 
 hdrchk.o: hdrchk.c
 	$(CC) $(CFLAGS) -g -c hdrchk.c

=== modified file 'ts/devchk/mktests'
--- a/ts/devchk/mktests	2012-06-13 20:29:56 +0000
+++ b/ts/devchk/mktests	2012-09-26 18:05:04 +0000
@@ -1414,6 +1414,7 @@
 print HARNESS "#include <stdio.h>\n";
 print HARNESS "#include <stdarg.h>\n\n";
 open( MAKEFILE, ">makefile" ) || die "Can't open makefile for writing";
+print MAKEFILE "# Generated file, edit mktests instead\n\n";
 
 #print MAKEFILE "CFLAGS = -g -I../../headers\n";
 print MAKEFILE "OBJS = hdrchk.o ";
@@ -2061,8 +2062,9 @@
 print MAKEFILE "include cflags.mk\n\n";
 
 print MAKEFILE "all: hdrchk\n\n";
+print MAKEFILE "# need to link with libs that contain global data\n";
 print MAKEFILE "hdrchk: \$\(OBJS)\n";
-print MAKEFILE "\t\$(CXX) -o hdrchk \$(OBJS) \$(EXTRALIBS) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/opt/gnome/lib64 -L/opt/gnome/lib -lXt -lX11 -lncurses -lrt -lxml2 -lglib-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0\n";
+print MAKEFILE "\t\$(CXX) -o hdrchk \$(OBJS) \$(EXTRALIBS) -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/opt/gnome/lib64 -L/opt/gnome/lib -lXt -lX11 -lncurses -lrt -lxml2 -lxslt -lglib-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0\n";
 print MAKEFILE "\n";
 print MAKEFILE "hdrchk.o: hdrchk.c\n";
 print MAKEFILE "\t\$(CC) \$\(CFLAGS) -g -c hdrchk.c\n";



More information about the lsb-messages mailing list