"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/vala-libs.sh" between
automake-1.16.2.tar.xz and automake-1.16.3.tar.xz

About: GNU Automake is a Makefile generator (input Makefile.am, output Makefile.in; intended for use with autoconf).

vala-libs.sh  (automake-1.16.2.tar.xz):vala-libs.sh  (automake-1.16.3.tar.xz)
skipping to change at line 35 skipping to change at line 35
AM_PROG_AR AM_PROG_AR
AC_PROG_RANLIB AC_PROG_RANLIB
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AM_PROG_VALAC([0.7.3]) AM_PROG_VALAC([0.7.3])
PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.4]) PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.4])
AC_OUTPUT AC_OUTPUT
END END
cat > Makefile.am << 'END' cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = subdir-objects AUTOMAKE_OPTIONS = subdir-objects
lib_LIBRARIES = libmu.a lib_LIBRARIES = libservice.a
lib_LTLIBRARIES = src/libzardoz.la lib_LTLIBRARIES = src/libzardoz.la
libmu_a_SOURCES = mu.vala mu2.c mu.vapi mu2.h libservice_a_SOURCES = service.vala cservice.c cservice.h
libmu_a_CPPFLAGS = -DOKOKIMDEFINED=1 libservice_a_CPPFLAGS = -DOKOKIMDEFINED=1
libmu_a_VALAFLAGS = --vapidir=$(srcdir) libservice_a_VALAFLAGS = --vapidir=$(srcdir) --pkg cservice --library service
AM_CFLAGS = $(GOBJECT_CFLAGS) AM_CFLAGS = $(GOBJECT_CFLAGS)
src_libzardoz_la_LIBADD = $(GOBJECT_LIBS) src_libzardoz_la_LIBADD = $(GOBJECT_LIBS)
src_libzardoz_la_SOURCES = src/zardoz-foo.vala src/zardoz-bar.vala src_libzardoz_la_SOURCES = src/zardoz-foo.vala src/zardoz-bar.vala
src/zardoz-bar.vala: src/zardoz-foo.vala src/zardoz-bar.vala: src/zardoz-foo.vala
sed 's/Foo/Bar/g' $< >$@ sed 's/Foo/Bar/g' $< >$@
END END
libtoolize libtoolize
$ACLOCAL $ACLOCAL
$AUTOCONF $AUTOCONF
$AUTOMAKE -a $AUTOMAKE -a
./configure ./configure
cat > mu2.c << 'END' cat > cservice.c << 'END'
#include "mu2.h" #include "cservice.h"
int mu2 (void) int c_service_mu_call (void)
{ {
return OKOKIMDEFINED; return OKOKIMDEFINED;
} }
END END
cat > mu2.h << 'END' cat > cservice.h << 'END'
int mu2 (void); int c_service_mu (void);
END END
cat > mu.vapi <<'END' cat > cservice.vapi <<'END'
[CCode (cheader_filename = "mu2.h", cname = "mu2")] namespace CService {
public int c_mu2 (); public class Mu {
[CCode (cheader_filename = "cservice.h", cname = "c_service_mu_call")]
public int call ();
}
}
END END
cat > mu.vala << 'END' cat > service.vala << 'END'
int main () namespace CService {
{ public class Generator : Object {
stdout.printf ("mumumu\n"); public Generator () {
return c_mu2 (); stdout.printf ("construct generator");
}
public void init () {
stdout.printf ("init generator");
}
}
} }
END END
mkdir -p src mkdir -p src
cat > src/zardoz-foo.vala << 'END' cat > src/zardoz-foo.vala << 'END'
using GLib; using GLib;
public class Foo { public class Foo {
public static void zap () { public static void zap () {
stdout.printf ("FooFooFoo!\n"); stdout.printf ("FooFooFoo!\n");
} }
} }
END END
$MAKE $MAKE
test -f libmu.a test -f libservice.a
test -f src/libzardoz.la test -f src/libzardoz.la
$FGREP "mumumu" mu.c $FGREP "construct generator" service.c
$FGREP "FooFooFoo" src/zardoz-foo.c $FGREP "FooFooFoo" src/zardoz-foo.c
$FGREP "BarBarBar" src/zardoz-bar.c $FGREP "BarBarBar" src/zardoz-bar.c
test -f libmu_a_vala.stamp test -f libservice_a_vala.stamp
test -f src_libzardoz_la_vala.stamp test -f src_libzardoz_la_vala.stamp
$MAKE distcheck $MAKE distcheck
: :
 End of changes. 9 change blocks. 
20 lines changed or deleted 29 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)