Compare commits
1 Commits
CPPUNIT_1_
...
WITH_OGL
Author | SHA1 | Date | |
---|---|---|---|
|
50c4c97be9 |
@@ -1,80 +0,0 @@
|
||||
dnl
|
||||
dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl
|
||||
AC_DEFUN(AM_PATH_CPPUNIT,
|
||||
[
|
||||
|
||||
AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)],
|
||||
cppunit_config_prefix="$withval", cppunit_config_prefix="")
|
||||
AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)],
|
||||
cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="")
|
||||
|
||||
if test x$cppunit_config_exec_prefix != x ; then
|
||||
cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
|
||||
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||
CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
|
||||
fi
|
||||
fi
|
||||
if test x$cppunit_config_prefix != x ; then
|
||||
cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
|
||||
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||
CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no)
|
||||
cppunit_version_min=$1
|
||||
|
||||
AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min)
|
||||
no_cppunit=""
|
||||
if test "$CPPUNIT_CONFIG" = "no" ; then
|
||||
no_cppunit=yes
|
||||
else
|
||||
CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
|
||||
CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
|
||||
cppunit_version=`$CPPUNIT_CONFIG --version`
|
||||
|
||||
cppunit_major_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
cppunit_minor_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
cppunit_micro_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
|
||||
cppunit_major_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
cppunit_minor_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
cppunit_micro_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
|
||||
cppunit_version_proper=`expr \
|
||||
$cppunit_major_version \> $cppunit_major_min \| \
|
||||
$cppunit_major_version \= $cppunit_major_min \& \
|
||||
$cppunit_minor_version \> $cppunit_minor_min \| \
|
||||
$cppunit_major_version \= $cppunit_major_min \& \
|
||||
$cppunit_minor_version \= $cppunit_minor_min \& \
|
||||
$cppunit_micro_version \>= $cppunit_micro_min `
|
||||
|
||||
if test "$cppunit_version_proper" = "1" ; then
|
||||
AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
no_cppunit=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$no_cppunit" = x ; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
CPPUNIT_CFLAGS=""
|
||||
CPPUNIT_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
|
||||
AC_SUBST(CPPUNIT_CFLAGS)
|
||||
AC_SUBST(CPPUNIT_LIBS)
|
||||
])
|
||||
|
||||
|
||||
|
3602
configure.in
Normal file
3602
configure.in
Normal file
File diff suppressed because it is too large
Load Diff
84
distrib/msw/tmake/filelist.t
Normal file
84
distrib/msw/tmake/filelist.t
Normal file
@@ -0,0 +1,84 @@
|
||||
#!#############################################################################
|
||||
#! File: filelist.t
|
||||
#! Purpose: tmake template file containig Perl code to parse the filelist.txt
|
||||
#! file - this is used by all other templates.
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 14.07.99
|
||||
#! Version: $Id$
|
||||
#!#############################################################################
|
||||
#${
|
||||
open(FILELIST, "filelist.txt") or die "Can't open filelist file: $!\n";
|
||||
|
||||
line: while ( defined($_ = <FILELIST>) ) {
|
||||
chomp;
|
||||
|
||||
#! comment or blank line, skip
|
||||
next line if ( $_ eq "" or /^#/ );
|
||||
|
||||
#! if ( $verbose ) {
|
||||
#! print STDERR "Processing line: '$_'\n";
|
||||
#! }
|
||||
|
||||
my @fields = split "\t";
|
||||
if ( $#fields > 2 ) {
|
||||
warn "Ignoring malformed line $_ in the filelist file.\n";
|
||||
next line;
|
||||
} elsif ( $#fields == 1 ) {
|
||||
#! add an empty flags string
|
||||
$fields[2] = "";
|
||||
}
|
||||
|
||||
if ( $verbose ) {
|
||||
print STDERR "File $fields[0]: type '$fields[1]', flags '$fields[2]'\n";
|
||||
}
|
||||
|
||||
#! first column is filename, second is type, third is flags
|
||||
if ( $fields[1] eq "C" ) {
|
||||
$wxCommon{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "G" ) {
|
||||
$wxGeneric{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "M" ) {
|
||||
$wxMSW{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "X" ) {
|
||||
$wxMOTIF{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "R" ) {
|
||||
$wxGTK{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "O" ) {
|
||||
$wxOS2PM{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "H" ) {
|
||||
$wxHTML{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "J" ) {
|
||||
$wxOGL{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "U" ) {
|
||||
$wxUNIX{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "B" ) {
|
||||
$wxBase{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "W" ) {
|
||||
$wxWXINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "P" ) {
|
||||
$wxPROTOCOLINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "L" ) {
|
||||
$wxHTMLINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "Z" ) {
|
||||
$wxOGLINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "F" ) {
|
||||
$wxMOTIFINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "9" ) {
|
||||
$wxMSWINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "K" ) {
|
||||
$wxGTKINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "2" ) {
|
||||
$wxOS2PMINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "S" ) {
|
||||
$wxUNIXINCLUDE{$fields[0]} = $fields[2];
|
||||
} elsif ( $fields[1] eq "N" ) {
|
||||
$wxGENERICINCLUDE{$fields[0]} = $fields[2];
|
||||
} else {
|
||||
warn "Unknown file type $fields[1] for $fields[0], ignoring.\n";
|
||||
next line;
|
||||
}
|
||||
}
|
||||
|
||||
close(FILELIST);
|
||||
#$}
|
||||
#! vim:sw=4:ts=4:list:et
|
1140
distrib/msw/tmake/filelist.txt
Normal file
1140
distrib/msw/tmake/filelist.txt
Normal file
File diff suppressed because it is too large
Load Diff
149
distrib/msw/tmake/gtk.t
Normal file
149
distrib/msw/tmake/gtk.t
Normal file
@@ -0,0 +1,149 @@
|
||||
#!################################################################################
|
||||
#! File: gtk.t
|
||||
#! Purpose: tmake template file from which src/gtk/files.lst containing the
|
||||
#! list of files for wxGTK library is generated by tmake
|
||||
#! Author: Vadim Zeitlin
|
||||
#! Created: 28.01.00
|
||||
#! Version: $Id$
|
||||
#!################################################################################
|
||||
#${
|
||||
#! include the code which parses filelist.txt file and initializes
|
||||
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
|
||||
#! %wxOS2PM hashes.
|
||||
IncludeTemplate("filelist.t");
|
||||
|
||||
#! find all our sources
|
||||
$project{"COMMONOBJS"} .= "parser.o ";
|
||||
$project{"COMMONDEPS"} .= "parser.d ";
|
||||
|
||||
foreach $file (sort keys %wxGeneric) {
|
||||
next if $wxGeneric{$file} =~ /\bR\b/;
|
||||
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "generic/" . $file . " ";
|
||||
$project{"GENERICOBJS"} .= $fileobj . " ";
|
||||
$project{"GENERICDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxCommon) {
|
||||
next if $wxCommon{$file} =~ /\bR\b/;
|
||||
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "common/" . $file . " ";
|
||||
$project{"COMMONOBJS"} .= $fileobj . " ";
|
||||
$project{"COMMONDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGTK) {
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
|
||||
$project{"GUIOBJS"} .= $fileobj . " ";
|
||||
$project{"GUIDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxUNIX) {
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "unix/" . $file . " ";
|
||||
$project{"UNIXOBJS"} .= $fileobj . " ";
|
||||
$project{"UNIXDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTML) {
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "html/" . $file . " ";
|
||||
$project{"HTMLOBJS"} .= $fileobj . " ";
|
||||
$project{"HTMLDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxOGL) {
|
||||
($fileobj = $file) =~ s/cp?p?$/\o/;
|
||||
($filedep = $file) =~ s/cp?p?$/\d/;
|
||||
|
||||
$project{"GTK_SOURCES"} .= "ogl/" . $file . " ";
|
||||
$project{"OGLOBJS"} .= $fileobj . " ";
|
||||
$project{"OGLDEPS"} .= $filedep . " "
|
||||
}
|
||||
|
||||
#! find all our headers
|
||||
foreach $file (sort keys %wxWXINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGTKINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "gtk/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxGENERICINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "generic/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxUNIXINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "unix/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxHTMLINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "html/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxOGLINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "ogl/" . $file . " "
|
||||
}
|
||||
|
||||
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
|
||||
$project{"GTK_HEADERS"} .= "protocol/" . $file . " "
|
||||
}
|
||||
#$}
|
||||
# This file was automatically generated by tmake at #$ Now()
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
|
||||
ALL_SOURCES = \
|
||||
#$ ExpandList("GTK_SOURCES");
|
||||
|
||||
ALL_HEADERS = \
|
||||
#$ ExpandList("GTK_HEADERS");
|
||||
|
||||
COMMONOBJS = \
|
||||
#$ ExpandList("COMMONOBJS");
|
||||
|
||||
COMMONDEPS = \
|
||||
#$ ExpandList("COMMONDEPS");
|
||||
|
||||
GENERICOBJS = \
|
||||
#$ ExpandList("GENERICOBJS");
|
||||
|
||||
GENERICDEPS = \
|
||||
#$ ExpandList("GENERICDEPS");
|
||||
|
||||
GUIOBJS = \
|
||||
#$ ExpandList("GUIOBJS");
|
||||
|
||||
GUIDEPS = \
|
||||
#$ ExpandList("GUIDEPS");
|
||||
|
||||
UNIXOBJS = \
|
||||
#$ ExpandList("UNIXOBJS");
|
||||
|
||||
UNIXDEPS = \
|
||||
#$ ExpandList("UNIXDEPS");
|
||||
|
||||
HTMLOBJS = \
|
||||
#$ ExpandList("HTMLOBJS");
|
||||
|
||||
HTMLDEPS = \
|
||||
#$ ExpandList("HTMLDEPS");
|
||||
|
||||
OGLOBJS = \
|
||||
#$ ExpandList("OGLOBJS");
|
||||
|
||||
OGLDEPS = \
|
||||
#$ ExpandList("OGLDEPS");
|
||||
|
1068
src/gtk/files.lst
Normal file
1068
src/gtk/files.lst
Normal file
File diff suppressed because it is too large
Load Diff
1068
src/gtk1/files.lst
Normal file
1068
src/gtk1/files.lst
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user