1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-01-22 02:42:33 +01:00

feat: Remove automake and qmake files

This commit is contained in:
Sirius Bakke 2018-09-12 20:21:21 +02:00
parent ea85cab17b
commit defc5c7b63
45 changed files with 0 additions and 4764 deletions

View File

@ -1,334 +0,0 @@
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
dnl ______ /usr/share/aclocal/Installed_Packages/acx_pthread.m4 ______
dnl @synopsis ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
dnl
dnl This macro figures out how to build C programs using POSIX
dnl threads. It sets the PTHREAD_LIBS output variable to the threads
dnl library and linker flags, and the PTHREAD_CFLAGS output variable
dnl to any special C compiler flags that are needed. (The user can also
dnl force certain compiler flags/libs to be tested by setting these
dnl environment variables.)
dnl
dnl Also sets PTHREAD_CC to any special C compiler that is needed for
dnl multi-threaded programs (defaults to the value of CC otherwise).
dnl (This is necessary on AIX to use the special cc_r compiler alias.)
dnl
dnl If you are only building threads programs, you may wish to
dnl use these variables in your default LIBS, CFLAGS, and CC:
dnl
dnl LIBS="$PTHREAD_LIBS $LIBS"
dnl CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
dnl CC="$PTHREAD_CC"
dnl
dnl In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
dnl constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE
dnl to that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
dnl
dnl ACTION-IF-FOUND is a list of shell commands to run if a threads
dnl library is found, and ACTION-IF-NOT-FOUND is a list of commands
dnl to run it if it is not found. If ACTION-IF-FOUND is not specified,
dnl the default action will define HAVE_PTHREAD.
dnl
dnl Please let the authors know if this macro fails on any platform,
dnl or if you have any other suggestions or comments. This macro was
dnl based on work by SGJ on autoconf scripts for FFTW (www.fftw.org)
dnl (with help from M. Frigo), as well as ac_pthread and hb_pthread
dnl macros posted by AFC to the autoconf macro repository. We are also
dnl grateful for the helpful feedback of numerous users.
dnl
dnl @version %Id: acx_pthread.m4,v 1.3 2002/12/12 23:15:12 guidod Exp %
dnl @author Steven G. Johnson <stevenj@alum.mit.edu> and Alejandro Forero Cuervo <bachue@bachue.com>
AC_DEFUN([ACX_PTHREAD], [
AC_REQUIRE([AC_CANONICAL_HOST])
AC_LANG_SAVE
AC_LANG_C
acx_pthread_ok=no
# We used to check for pthread.h first, but this fails if pthread.h
# requires special compiler flags (e.g. on True64 or Sequent).
# It gets checked for in the link test anyway.
# First of all, check if the user has set any of the PTHREAD_LIBS,
# etcetera environment variables, and if threads linking works using
# them:
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes)
AC_MSG_RESULT($acx_pthread_ok)
if test x"$acx_pthread_ok" = xno; then
PTHREAD_LIBS=""
PTHREAD_CFLAGS=""
fi
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
fi
# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).
# Create a list of thread flags to try. Items starting with a "-" are
# C compiler flags, and other items are library names, except for "none"
# which indicates that we try without any flags at all.
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow:
# pthreads: AIX (must check this before -lpthread)
# none: in case threads are in libc; should be tried before -Kthread and
# other compiler flags to prevent continual compiler warnings
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
# -pthreads: Solaris/gcc
# -mthreads: Mingw32/gcc, Lynx/gcc
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
# doesn't hurt to check since this sometimes defines pthreads too;
# also defines -D_REENTRANT)
# pthread: Linux, etcetera
# --thread-safe: KAI C++
case "${host_cpu}-${host_os}" in
*solaris*)
# On Solaris (at least, for some versions), libc contains stubbed
# (non-functional) versions of the pthreads routines, so link-based
# tests will erroneously succeed. (We need to link with -pthread or
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
# a function called by this macro, so we could check for that, but
# who knows whether they'll stub that too in a future libc.) So,
# we'll just look for -pthreads and -lpthread first:
acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
;;
esac
if test x"$acx_pthread_ok" = xno; then
for flag in $acx_pthread_flags; do
case $flag in
none)
AC_MSG_CHECKING([whether pthreads work without any flags])
;;
-*)
AC_MSG_CHECKING([whether pthreads work with $flag])
PTHREAD_CFLAGS="$flag"
;;
*)
AC_MSG_CHECKING([for the pthreads library -l$flag])
PTHREAD_LIBS="-l$flag"
;;
esac
save_LIBS="$LIBS"
save_CFLAGS="$CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Check for various functions. We must include pthread.h,
# since some functions may be macros. (On the Sequent, we
# need a special flag -Kthread to make this header compile.)
# We check for pthread_join because it is in -lpthread on IRIX
# while pthread_create is in libc. We check for pthread_attr_init
# due to DEC craziness with -lpthreads. We check for
# pthread_cleanup_push because it is one of the few pthread
# functions on Solaris that doesn't have a non-functional libc stub.
# We try pthread_create on general principles.
AC_TRY_LINK([#include <pthread.h>],
[pthread_t th; pthread_join(th, 0);
pthread_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes])
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
AC_MSG_RESULT($acx_pthread_ok)
if test "x$acx_pthread_ok" = xyes; then
break;
fi
PTHREAD_LIBS=""
PTHREAD_CFLAGS=""
done
fi
# Various other checks:
if test "x$acx_pthread_ok" = xyes; then
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Detect AIX lossage: threads are created detached by default
# and the JOINABLE attribute has a nonstandard name (UNDETACHED).
AC_MSG_CHECKING([for joinable pthread attribute])
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_JOINABLE;],
ok=PTHREAD_CREATE_JOINABLE, ok=unknown)
if test x"$ok" = xunknown; then
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_UNDETACHED;],
ok=PTHREAD_CREATE_UNDETACHED, ok=unknown)
fi
if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ok,
[Define to the necessary symbol if this constant
uses a non-standard name on your system.])
fi
AC_MSG_RESULT(${ok})
if test x"$ok" = xunknown; then
AC_MSG_WARN([we do not know how to create joinable pthreads])
fi
AC_MSG_CHECKING([if more special flags are required for pthreads])
flag=no
case "${host_cpu}-${host_os}" in
*-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
esac
AC_MSG_RESULT(${flag})
if test "x$flag" != xno; then
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
fi
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
# More AIX lossage: must compile with cc_r
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
else
PTHREAD_CC="$CC"
fi
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_CC)
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$acx_pthread_ok" = xyes; then
ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
:
else
acx_pthread_ok=no
$2
fi
AC_LANG_RESTORE
])dnl ACX_PTHREAD
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
AC_MSG_RESULT(no)
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/'`
if test "x${cppunit_major_min}" = "x" ; then
cppunit_major_min=0
fi
cppunit_minor_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
if test "x${cppunit_minor_min}" = "x" ; then
cppunit_minor_min=0
fi
cppunit_micro_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x${cppunit_micro_min}" = "x" ; then
cppunit_micro_min=0
fi
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)
])

291
acsite.m4
View File

@ -1,291 +0,0 @@
dnl
dnl $Id: acsite.m4 808 2004-09-08 05:34:53Z vkurland $
dnl
dnl Test files
define( [AC_TEST_FILES],
[
ac_file_found=yes
for f in $1; do
if test ! -f $2/$f; then
ac_file_found=no
break;
fi
done
if test "$ac_file_found" = "yes" ; then
ifelse([$3], , :,[$3])
else
ifelse([$4], , :,[$4])
fi
])
dnl Search for headers, add path to CPPFLAGS if found
define( [AC_SEARCH_HEADERS],
[
AC_MSG_CHECKING("for $1")
ac_hdr_found=no
for p in $2; do
AC_TEST_FILES($1, $p,
[
ac_hdr_found=yes
break
]
)
done
if test "$ac_hdr_found" = "yes" ; then
CPPFLAGS="$CPPFLAGS -I$p"
AC_MSG_RESULT( [($p) yes] )
ifelse([$3], , :,[$3])
else
AC_MSG_RESULT("no")
ifelse([$4], , :,[$4])
fi
])
dnl checks for ucd-snmp or netsnmp library and sets
dnl vars LIBSNMP_LIBS and HAVE_LIBSNMP
dnl
dnl call like this:
dnl AC_CHECK_LIBSNMP ( snmp )
dnl AC_CHECK_LIBSNMP ( netsnmp )
dnl
define( [AC_CHECK_LIBSNMP],
[
ac_snmplib_name="$1"
ac_snmplib_name=`echo ${ac_snmplib_name} | tr -d " "`
AC_CHECK_LIB($ac_snmplib_name, init_snmp,
[
LIBSNMP_LIBS="-l$ac_snmplib_name"
HAVE_LIBSNMP="1"
AC_DEFINE(HAVE_LIBSNMP)
],[
if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
unset ac_cv_lib_snmp_init_snmp
fi
save_LIBS="$LIBS"
LIBS="$LIBS -lcrypto"
AC_CHECK_LIB($ac_snmplib_name, init_snmp,
[
LIBS="$save_LIBS"
LIBSNMP_LIBS="-lcrypto -l$ac_snmplib_name"
HAVE_LIBSNMP="1"
AC_DEFINE(HAVE_LIBSNMP)
],[
echo
dnl if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
dnl unset ac_cv_lib_snmp_init_snmp
dnl fi
dnl
dnl save_LIBS="$LIBS"
dnl LIBS="$LIBS -ldes"
dnl AC_CHECK_LIB($ac_snmplib_name, init_snmp,
dnl [
dnl LIBS="$save_LIBS"
dnl LIBSNMP_LIBS="-ldes -l$ac_snmplib_name"
dnl HAVE_LIBSNMP="1"
dnl AC_DEFINE(HAVE_LIBSNMP)
dnl ])
])
])
dnl if test "Z$HAVE_LIBSNMP" != "Z"; then
dnl AC_CHECK_LIB($ac_snmplib_name, snprint_objid, [
dnl AC_DEFINE(HAVE_SNPRINT_OBJID)
dnl ])
dnl fi
])
define( [AC_CHECK_GETHOSTBYNAME_R],
[
ac_define_this="$1"
if test -z "$ac_define_this"; then ac_define_this="__FWB_DUMMY__"; fi
AC_MSG_CHECKING(if gethostbyname_r takes 3 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he;
struct hostent_data data;
(void) gethostbyname_r(name, he, &data);
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_3)
ac_cv_func_which_gethostname_r="3",
[
dnl ac_cv_func_which_gethostname_r=no
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyname_r takes 6 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he, *res;
char buffer[2048];
int buflen = 2048;
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_6)
ac_cv_func_which_gethostname_r="6",
[
dnl ac_cv_func_which_gethostname_r=no
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyname_r takes 5 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he;
char buffer[2048];
int buflen = 2048;
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_5)
ac_cv_func_which_gethostname_r="5",
[
AC_MSG_RESULT(no)
ac_cv_func_which_gethostname_r=no])
])
] ,ac_cv_func_which_gethostname_r=no)
])
dnl check for number of arguments to gethostbyaddr_r. it might take
dnl 5, 7, or 8 arguments.
define( [AC_CHECK_GETHOSTBYADDR_R],
[
ac_define_this="$1"
if test -z "$ac_define_this"; then ac_define_this="__FWB_DUMMY__"; fi
AC_MSG_CHECKING(if gethostbyaddr_r takes 5 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>
#include <netdb.h>
],[
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5)
ac_cv_gethostbyaddr_args=5
],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 7 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>
#include <netdb.h>
],[
char * address;
int length;
int type;
struct hostent h;
char buffer[8192];
int h_errnop;
struct hostent * hp;
hp = gethostbyaddr_r(address, length, type, &h,
buffer, 8192, &h_errnop);
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7)
ac_cv_gethostbyaddr_args=7
],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 8 arguments and first arg is (in_addr*))
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>
#include <netdb.h>
],[
struct in_addr *address;
int length;
int type;
struct hostent h;
char buffer[8192];
int h_errnop;
struct hostent * hp;
int rc;
rc = gethostbyaddr_r(address, length, type, &h,
buffer, 8192, &hp, &h_errnop);
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
AC_DEFINE(GETHOSTBYADDR_FIRST_ARG_VOIDPTR)
ac_cv_gethostbyaddr_first_arg="voidptr"
ac_cv_gethostbyaddr_args=8
],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 8 arguments and first arg is (char*))
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>
#include <netdb.h>
],[
char * address;
int length;
int type;
struct hostent h;
char buffer[8192];
int h_errnop;
struct hostent * hp;
int rc;
rc = gethostbyaddr_r(address, length, type, &h,
buffer, 8192, &hp, &h_errnop);
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
AC_DEFINE(GETHOSTBYADDR_FIRST_ARG_CHARPTR)
ac_cv_gethostbyaddr_first_arg="charptr"
ac_cv_gethostbyaddr_args=8
],[
AC_MSG_RESULT(no)
have_missing_r_funcs="$have_missing_r_funcs gethostbyaddr_r"
ac_cv_gethostbyaddr_args=no
])
])
])
])
])
])

View File

@ -1,51 +0,0 @@
#!/bin/sh
MAKE=`which gnumake 2>/dev/null`
if test ! -x "$MAKE" ; then MAKE=`which gmake` ; fi
if test ! -x "$MAKE" ; then MAKE=`which make` ; fi
HAVE_GNU_MAKE=`$MAKE --version|grep -c "Free Software Foundation"`
if test "$HAVE_GNU_MAKE" != "1"; then
echo Could not find GNU make on this system, can not proceed with build.
exit 1
else
echo Found GNU Make at $MAKE ... good.
fi
if test ! -x "`which aclocal`"
then
echo "You need aclocal and autoconf to generate configure and Makefile."
echo "Please install autoconf package."
exit 1
fi
if test -x "`which libtoolize`"
then
LIBTOOLIZE="libtoolize"
else
if test -x "`which glibtoolize`"
then
LIBTOOLIZE="glibtoolize"
else
echo "You need libtoolize to generate autoconf and libtool scripts."
echo "Please install libtool package."
exit 1
fi
fi
$LIBTOOLIZE --dry-run --install > /dev/null 2>&1 && {
LIBTOOLIZE_ARGS="--force --copy --install"
} || {
LIBTOOLIZE_ARGS="--force --copy"
}
echo This script runs configure ...
$LIBTOOLIZE $LIBTOOLIZE_ARGS
which acinclude >/dev/null 2>&1 && acinclude
which aclocal >/dev/null 2>&1 && aclocal
autoconf
test -n "$NOCONFIGURE" || ./configure ${CFGARGS} $*

View File

@ -1,136 +0,0 @@
#include "VERSION.h"
#undef BUILD_NUM
/* Define if you have the <X11/SM/SMlib.h> header file. */
#undef HAVE_X11_SM_SMLIB_H
/* Name of package */
#undef PACKAGE
/* OS */
#undef OS
/* OS */
#undef OS_CYGWIN
#undef OS_MINGW
#undef OS_MACOSX
#undef OS_SOLARIS
#undef OS_FREEBSD
#undef OS_OPENBSD
#undef OS_LINUX
#undef OS_UNKNOWN
#if defined(OS_SOLARIS) || defined(OS_FREEBSD) || defined(OS_OPENBSD) || defined(OS_LINUX) || defined(OS_MACOSX)
#define OS_UNIX 1
#endif
#if defined(_WIN32)
#define OS_WIN32 1
#endif
/* distribution (for Linux) */
#undef DISTRO
/* prefix dir */
#undef PREFIX
#define MANIFEST_MARKER "# files: "
#undef RCS_DIR
#undef RCS_FILE_NAME
#undef RCSDIFF_FILE_NAME
#undef RLOG_FILE_NAME
#undef CI_FILE_NAME
#undef CO_FILE_NAME
#undef HAVE_LOCALE_H
#undef HAVE_GETOPT_H
#undef HAVE_SETLOCALE
#undef HAVE_SETENV
#undef HAVE_PUTENV
#undef HAVE_SIGNAL
#undef HAVE_SIGNAL_H
#undef HAVE_PTY_H
#undef HAVE_LIBUTIL_H
#undef HAVE_UTIL_H
#undef HAVE_UNISTD_H
#ifdef HAVE_GETOPT_H
# define HAVE_DECL_GETOPT HAVE_GETOPT_H
#endif
#undef HAVE_STRUCT_TM_TM_ZONE
#undef TM_IN_SYS_TIME
#undef HAVE_FORKPTY
#undef HAVE_CFMAKERAW
/*
* This is needed for Solaris
*/
#undef __PRAGMA_REDEFINE_EXTNAME
#undef HAVE_CATGETS
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES
#undef HAVE_STPCPY
#undef HAVE_LIBSM
#undef HAVE_MEMPCPY
#undef HAVE_STRCHR
#undef HAVE_ANTLR_RUNTIME
#undef HAVE_QTDBUS
#undef HAVE_CPPUNIT
/*
* on some platforms (OpenBSD) the second parameter to dlopen is different
*/
#undef DLOPEN_MODE
#if 0
#ifdef __cplusplus
using namespace std;
/*
#ifndef __STD
#define __STD std
#endif
*/
#endif
#endif
#ifdef _WIN32
#define SNPRINTF _snprintf
#define VSNPRINTF _vsnprintf
#define WINVER 0x0502
#define PACKAGE_LOCALE_DIR ""
#define PACKAGE_DATA_DIR ""
#define PACKAGE_SOURCE_DIR ""
/*
* Normally this macro defines directory where system-wide QT
* translations are installed. We do not use it on win32 since
* we can't assume user has QT installed on their machine.
*/
#define QTTRANSLATIONSDIR "."
#else
#undef PACKAGE_LOCALE_DIR
#undef PACKAGE_DATA_DIR
#undef PACKAGE_SOURCE_DIR
#define SNPRINTF snprintf
#define VSNPRINTF vsnprintf
#endif

View File

@ -1,10 +0,0 @@
#include <QApplication>
#include <QtDBus/QtDBus>
#include <QtDBus/QDBusConnection>
main()
{
QApplication app();
QDBusConnection conn = QDBusConnection::systemBus();
}

View File

@ -1,10 +0,0 @@
# -*- mode: makefile; tab-width: 4; -*-
TEMPLATE = app
unix {
!macx: QT += network dbus
macx: LIBS += -framework QtDBus
}
SOURCES = qtdbus_test.cpp
TARGET = qtdbus_test

View File

@ -1,693 +0,0 @@
dnl $Id: configure.in,v 1.70 2007/06/07 02:33:53 vkurland Exp $
AC_INIT
AC_CONFIG_SRCDIR([src/gui/main.cpp])
AC_CANONICAL_TARGET
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(src/libfwbuilder/src/fwbuilder/libfwbuilder-config.h)
PACKAGE=fwbuilder
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [package])
AC_SUBST(PACKAGE)
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
dnl
dnl all version numbers are defined in the file VERSION
dnl
. ./VERSION
RELEASE_NUM=$BUILD_NUM
GENERATION_SHORT=$(echo $GENERATION | sed 's/\.//')
AC_DEFINE_UNQUOTED(BUILD_NUM, "$BUILD_NUM")
AC_SUBST(BUILD_NUM)
AC_SUBST(RELEASE_NUM)
AC_SUBST(FWB_MAJOR_VERSION)
AC_SUBST(FWB_MINOR_VERSION)
AC_SUBST(FWB_MICRO_VERSION)
AC_SUBST(FWB_VERSION)
AC_SUBST(GENERATION)
AC_SUBST(GENERATION_SHORT)
# libfwbuilder versions
dnl AC_SUBST(LIBFWBUILDER_VERSION)
AC_SUBST(FWBUILDER_XML_VERSION)
AC_DEFINE_UNQUOTED(FWBUILDER_XML_VERSION, "$FWBUILDER_XML_VERSION")
echo "Creating VERSION.h file..."
cat <<EOF > VERSION.h
#define VERSION "$VERSION"
#define GENERATION "$GENERATION"
EOF
dnl try to find QT
dnl
AC_ARG_WITH(qtdir,[ --with-qtdir=DIR Specify directory path for QT ])
if test -n "$with_qtdir"; then
AC_MSG_CHECKING(Using QT in )
QTDIR="$with_qtdir";
export QTDIR
AC_MSG_RESULT($QTDIR)
fi
# TODO: do we need to add $QTDIR/bin to PATH to find qmake?
EXTENDED_PATH="/usr/local/bin:$QTDIR/bin/:$PATH"
AC_ARG_WITH(qmake, [ --with-qmake=qmake Specify the qmake to be used (debian qmake-qt5) ])
if test -n "$with_qmake"; then
AC_PATH_PROG(QMAKE, $with_qmake, ,[$EXTENDED_PATH])
if test -z "$QMAKE"; then
AC_MSG_ERROR("Could not find qmake")
fi
else
AC_PATH_PROG(QMAKE, qmake, ,[$EXTENDED_PATH])
if test -z "$QMAKE"; then
AC_PATH_PROG(QMAKE, qmake-qt5, ,[$EXTENDED_PATH])
if test -z "$QMAKE"; then
AC_MSG_ERROR("Could not find qmake")
fi
fi
fi
AC_MSG_CHECKING(checking version of QT this qmake is part of)
qmake_version=`$QMAKE -v 2>&1 | awk '/Using Qt version/ { print $4;}'`
case $qmake_version in
5.*) AC_MSG_RESULT( $qmake_version ) ;;
*) AC_MSG_ERROR( "$qmake_version -- v5.x is required") ;;
esac
AC_ARG_WITH(templatedir, [ --with-templatedir=DIR Specify directory path for fwbuilder template files ])
AC_ARG_WITH(docdir, [ --with-docdir=DIR Specify directory path for fwbuilder
documentation files ])
AC_ARG_WITH(datadir, [ --with-datadir=DIR Specify directory path for fwbuilder
data files ])
AC_C_BIGENDIAN(AC_DEFINE(WORDS_BIGENDIAN),
AC_DEFINE(WORDS_LITTLEENDIAN),
AC_MSG_ERROR(Failed to determine endianness!!))
LIBFWBUILDER_LIBDIR='-L${libdir}'
dnl
dnl Determine init dir and add definition to config.h. Program
dnl determines prefix name of the directory it was started from
dnl and prepends it to the RES_DIR
dnl
PREFIX=$ac_default_prefix
if test "x$prefix" != "xNONE"; then
PREFIX=$prefix
fi
AC_DEFINE_UNQUOTED(PREFIX, "${PREFIX}", [prefix])
AC_SUBST(PREFIX)
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [version])
AC_SUBST(VERSION)
AC_PROG_INSTALL
AC_ISC_POSIX
AC_PROG_CC
dnl AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_CXXCPP
dnl need this for intl to compile on FreeBSD and may be other platforms
AC_CHECK_FUNCS(strchr memcpy)
dnl AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
dnl AC_CANONICAL_HOST
AC_PROG_MAKE_SET
dnl Check for GNU make
dnl
AC_MSG_CHECKING(whether make is GNU Make)
if ${MAKE-make} -q --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
if test "$host_vendor" = "sun" ; then
AC_MSG_ERROR("SUN make does not work for building Firewall Builder. Please install GNU make")
fi
fi
dnl some platform-dependent flags
dnl
dnl e.g. we need to set -I/sw/include before check for GETTEXT
dnl
GUILINKFLAGS=
case "$build_os" in
*solaris*)
GUILINKFLAGS="-export-dynamic"
;;
esac
AC_SUBST(GUILINKFLAGS)
dnl
dnl forkpty is in libutil on Linux and BSD, while on Mac it is in libc
dnl
AC_CHECK_HEADERS( [pty.h libutil.h util.h],[],[],[#include <sys/types.h>])
AC_CHECK_LIB(c,forkpty,[
AC_DEFINE_UNQUOTED(HAVE_FORKPTY, 1, [forkpty])
],[
AC_CHECK_LIB(util,forkpty,[
AC_DEFINE_UNQUOTED(HAVE_FORKPTY, 1, [forkpty])
LIBS="-lutil $LIBS"
],[
AC_MSG_RESULT(["forkpty not found, will use emulation"])
],[])
],[])
AC_CHECK_LIB(c,cfmakeraw,[
AC_DEFINE_UNQUOTED(HAVE_CFMAKERAW, 1, [cfmakeraw])
])
dnl standard LIBTOOL fragment
dnl
dnl commented out 12/20 - we now use qmake and do not need libtool
dnl
dnl AC_LIBTOOL_DLOPEN
dnl AC_PROG_LIBTOOL
dnl AC_SUBST(LIBTOOL_DEPS)
dnl AM_PROG_LIBTOOL
dnl AC_PROG_RANLIB
AC_CHECK_HEADERS([getopt.h])
AC_CHECK_HEADERS([signal.h])
AC_CHECK_HEADERS([endian.h])
AC_CHECK_FUNCS(strtok_r)
AC_CHECK_FUNCS(stat _stat signal)
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_SUBST(LIBS)
AC_LANG([C++])
AM_PATH_CPPUNIT(1.12.0, [HAVE_CPPUNIT="1"])
AC_DEFINE_UNQUOTED(HAVE_CPPUNIT, $HAVE_CPPUNIT)
AC_SUBST(HAVE_CPPUNIT)
AC_SUBST(CPPUNIT_CFLAGS)
AC_SUBST(CPPUNIT_LIBS)
dnl A check for antlr-runtime library used to be here but has been
dnl removed. We should always use antlr runtime code incuded with
dnl fwbuilder code tree because of the fixes I've done in
dnl CurcularQueue.hpp module for 64 bit systems. This problem seems to
dnl have been fixed in antlr v3 but until we convert all grammars to
dnl the new antlr, we have to use provided antlr 2.7.7 with these
dnl fixes. This means we can't use antlr runtime that comes with the
dnl OS even if it is installed.
ANTLR_INCLUDEPATH="`pwd`/src/"
ANTLR_LIBS="`pwd`/src/antlr/libantlr.a"
AC_SUBST(ANTLR_LIBS)
AC_SUBST(ANTLR_INCLUDEPATH)
dnl check for pthreads
dnl
dnl Somehow, standard macro tries -lpthreads, while pthread library really
dnl is "libpthread" on Linux. Thus only test using -pthread suceeds, but
dnl PTHREAD_LIBS macro ends up empty.
ACX_PTHREAD([
test -z "$PTHREAD_LIBS" && test "$PTHREAD_CFLAGS" = "-pthread" && PTHREAD_LIBS="-pthread"
echo "Found pthread library:"
echo "PTHREAD_CFLAGS="$PTHREAD_CFLAGS
echo "PTHREAD_LIBS="$PTHREAD_LIBS
] , [
AC_MSG_ERROR([POSIX threads library not present or not configured])
])
dnl check for XML library
AC_ARG_WITH(xml2-config,
[ --with-xml2-config=xml2-config Specify the xml2-config to be used],
[ XML2_CONFIG=$with_xml2_config ],
[ AC_PATH_PROG(XML2_CONFIG, xml2-config, ,[$EXTENDED_PATH]) ])
if test x$XML2_CONFIG = x ; then
AC_MSG_ERROR([libxml2 not present or not configured])
else
XML_CFLAGS="`$XML2_CONFIG --cflags`"
XML_LIBS="`$XML2_CONFIG --libs`"
fi
XML_CFLAGS=`echo $XML_CFLAGS | sed 's/-I\/usr\/include //'`
AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS)
SAVE_LIBS=${LIBS}
LIBS="$XML_LIBS $LIBS"
AC_CHECK_FUNCS(xmlSaveFormatFileEnc)
LIBS=${SAVE_LIBS}
dnl check for XSLT library
AC_ARG_WITH(xslt-config,
[ --with-xslt-config=xslt-config Specify the xslt-config to be used],
[ XSLT_CONFIG=$with_xslt_config ],
[ AC_PATH_PROG(XSLT_CONFIG, xslt-config, ,[$EXTENDED_PATH]) ])
if test x$XSLT_CONFIG = x ; then
AC_MSG_ERROR([libxslt not present or not configured])
else
XSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
XSLT_LIBS="`$XSLT_CONFIG --libs`"
fi
XSLT_CFLAGS=`echo $XSLT_CFLAGS | sed 's/-I\/usr\/include //'`
dnl
dnl purely aestetical: xslt-config often reports the same flags as
dnl xml2-config
dnl
ac_xslt_var=""
for w in ${XSLT_CFLAGS}; do
case " ${XML_CFLAGS} " in
*\ $w\ *) ;;
*) ac_xslt_var="$ac_xslt_var $w" ;;
esac
done
XSLT_CFLAGS=$ac_xslt_var
ac_xslt_var=""
for w in ${XSLT_LIBS}; do
case " ${XML_LIBS} " in
*\ $w\ *) ;;
*) ac_xslt_var="$ac_xslt_var $w" ;;
esac
done
XSLT_LIBS=$ac_xslt_var
AC_SUBST(XSLT_CFLAGS)
AC_SUBST(XSLT_LIBS)
dnl libXslt header libxslt/xsltconfig.h only present in newew version of libxslt
dnl for instance it is not part of 1.0.1 but present in 1.0.7.
AC_CHECK_HEADERS(libxslt/xsltconfig.h)
dnl Check for bind specific headers and libraries
dnl if they are present, use them, rather than ones
dnl coming with libc.
AC_CHECK_HEADER(bind/resolv.h, [
CPPFLAGS="$CPPFLAGS -I/usr/include/bind"
HAVE_RESOLV_H=yes
] , [ AC_CHECK_HEADER(/usr/local/bind/include/resolv.h, [
CPPFLAGS="$CPPFLAGS -I/usr/local/bind/include/"
HAVE_RESOLV_H=yes
], [
AC_CHECK_HEADERS([resolv.h], [ HAVE_RESOLV_H=yes ], [], [
#include <sys/types.h>
#include <netinet/in.h>
] )
] )
], [
#include <netinet/in.h>
] )
LIB_RESOLV=""
HAVE_RES_NQUERY=""
AC_SUBST(LIB_RESOLV)
dnl
dnl prepare equivalents of *_CFLAGS variables for qmake
dnl qmake requires these to be without "-I"
dnl
XML_CFLAGS_Q=`echo ${XML_CFLAGS} | sed 's/-I//g'`
XSLT_CFLAGS_Q=`echo ${XSLT_CFLAGS} | sed 's/-I//g'`
PTHREAD_CFLAGS_Q=`echo ${PTHREAD_CFLAGS} | sed 's/-I//g'`
LIBS_Q=`echo ${LIBS} | sed 's/-I//g'`
AC_SUBST(XML_CFLAGS_Q)
AC_SUBST(XSLT_CFLAGS_Q)
AC_SUBST(PTHREAD_CFLAGS_Q)
AC_SUBST(LIBS_Q)
dnl
dnl We also support "--with-ucdsnmp=no" and "--without-ucdsnmp"
dnl By default we assume user wants snmp support, provided script
dnl can find the library
dnl
dnl Just in case we support both --with-ucdsnmp and --with-ucd-snmp
dnl --vk
dnl
check_for_ucdsnmp=yes
if test x$with_ucdsnmp = xno ; then
check_for_ucdsnmp=no
fi
if test x$with_ucd_snmp = xno ; then
check_for_ucdsnmp=no
fi
if test $check_for_ucdsnmp = yes ; then
dnl
dnl net-snmp library includes script net-snmp-config which I use to determine cflags
dnl and libs. Unfortunately even if this script is there and is used flags,
dnl the program may still not link with the library. Currently having this problem on
dnl FreeBSD 4.7 - after upgrade of openssl, code using net-snmp stopped linking. That
dnl is why I still try to do linking test even if script is present.
dnl
dnl Testing for presence of includes and doing linking test assures that -devel
dnl package is indeed installed (primitive test program could link with libsnmp.so
dnl even if -devel package is not installed and headers are not there).
dnl
AC_PATH_PROG(NET_SNMP_CONFIG, net-snmp-config, ,[$EXTENDED_PATH])
if test x$NET_SNMP_CONFIG != x ; then
ac_LIBSNMP_LIBS="`$NET_SNMP_CONFIG --libs`"
ac_LIBSNMP_CFLAGS="`$NET_SNMP_CONFIG --cflags`"
AC_CHECK_LIB(netsnmp, init_snmp,
[
HAVE_LIBSNMP="1"
AC_DEFINE(HAVE_LIBSNMP)
NET_SNMP="1"
AC_DEFINE(NET_SNMP)
LIBSNMP_LIBS=$ac_LIBSNMP_LIBS
LIBSNMP_CFLAGS=$ac_LIBSNMP_CFLAGS
AC_CHECK_LIB(netsnmp, snprint_objid, [
AC_DEFINE(HAVE_SNPRINT_OBJID)
], ,$ac_LIBSNMP_LIBS)
], ,$ac_LIBSNMP_LIBS)
else
AC_CHECK_HEADERS([ucd-snmp/asn1.h], [
AC_CHECK_HEADER(ucd-snmp/snmp.h, [
AC_CHECK_LIBSNMP( snmp )
if test "Z$HAVE_LIBSNMP" != "Z"; then
UCD_SNMP="1"
AC_DEFINE(UCD_SNMP)
save_LIBS=$LIBS
LIBS="$LIBSNMP_LIBS $LIBS"
AC_CHECK_LIB(snmp, snprint_objid, [
AC_DEFINE(HAVE_SNPRINT_OBJID)
])
LIBS=$save_LIBS
fi
], ,[
#include <sys/types.h>
#include <ucd-snmp/asn1.h>
])
])
fi
LIBS="${LIBSNMP_LIBS} ${LIBS}"
fi
AC_SUBST(LIBSNMP_LIBS)
AC_CHECK_LIB(c, inet_net_ntop, [
AC_DEFINE_UNQUOTED(HAVE_INET_NET_NTOP, 1, [inet_net_ntop])
],[
AC_CHECK_LIB(bind, inet_net_ntop, [
AC_DEFINE_UNQUOTED(HAVE_INET_NET_NTOP, 1, [inet_net_ntop])
LIBS="-lbind $LIBS"
])
],[])
AC_CHECK_LIB(z, gzopen, [ LIBS="-lz ${LIBS}"], [
AC_MSG_ERROR([libz library not found])
])
dnl
dnl Determine init dir and add definition to config.h
dnl
PREFIX=$ac_default_prefix
if test "x$prefix" != "xNONE"; then
PREFIX=$prefix
fi
dnl ********************************************************************
if test "x$with_docdir" != "x"; then
DOCDIR="${with_docdir}"
else
DOCDIR="${PREFIX}/share/doc/fwbuilder-${VERSION}"
fi
DOCDIRPATH=`dirname ${DOCDIR}`
if test "x$with_datadir" != "x"; then
DATADIR="${with_datadir}"
else
DATADIR="${PREFIX}/share/"
fi
ICONSDIR=""
dnl do not insert spaces in these macros, even outside of []
AC_PATH_PROG(RCS_FILE_NAME,[rcs],[rcs],[$EXTENDED_PATH])
AC_PATH_PROG(RCSDIFF_FILE_NAME,[rcsdiff],[rcsdiff],[$EXTENDED_PATH])
AC_PATH_PROG(RLOG_FILE_NAME,[rlog],[rlog],[$EXTENDED_PATH])
AC_PATH_PROG(CI_FILE_NAME,[ci],[ci],[$EXTENDED_PATH])
AC_PATH_PROG(CO_FILE_NAME,[co],[co],[$EXTENDED_PATH])
AC_MSG_CHECKING(what OS this is)
case ${host} in
*-*-cygwin*)
OS=cygwin
OS_CYGWIN=1
AC_MSG_RESULT(Win32 cygwin)
DEFAULT_RES_DIR="resources"
;;
*-*-mingw32*)
OS=mingw32
OS_MINGW=1
AC_MSG_RESULT(Win32 mingw)
DEFAULT_RES_DIR="resources"
RCS_FILE_NAME="rcs.exe"
RCSDIFF_FILE_NAME="rcsdiff.exe"
RLOG_FILE_NAME="rlog.exe"
CI_FILE_NAME="ci.exe"
CO_FILE_NAME="co.exe"
;;
*-*-darwin*)
OS=MacOSX
OS_MACOSX=1
MANDIR="${PREFIX}/share/man/"
AC_MSG_RESULT(MacOSX)
DEFAULT_RES_DIR="../Resources"
;;
*-*-solaris*)
OS=Solaris
OS_SOLARIS=1
MANDIR="${PREFIX}/share/man/"
AC_MSG_RESULT(Solaris)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
;;
*-*-freebsd*)
OS=FreeBSD
OS_FREEBSD=1
MANDIR="${PREFIX}/man/"
AC_MSG_RESULT(FreeBSD)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
;;
*-*-openbsd*)
OS=OpenBSD
OS_OPENBSD=1
MANDIR="${PREFIX}/man/"
AC_MSG_RESULT(OpenBSD)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
;;
*-*-kfreebsd*)
OS=FreeBSD
OS_FREEBSD=1
if test -f /etc/debian_version ; then
DISTRO=Debian
else
DISTRO="Unknown"
fi
MANDIR="${PREFIX}/share/man/"
AC_MSG_RESULT($DISTRO GNU/kFreeBSD)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
;;
*-*-linux*)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
OS=Linux
OS_LINUX=1
if test -f /etc/debian_version ; then
DISTRO=Debian
elif test -f /etc/mandrake-release ; then
DISTRO=Mandrake
elif test -f /etc/slackware-version ; then
DISTRO=Slackware
elif test -f /etc/SuSE-release ; then
DISTRO=SuSE
elif test -f /etc/redhat-release ; then
#
# Mandrake has symlink /etc/redhat-release -> /etc/manrake-release ,
# so this check must be the last
#
DISTRO=RedHat
else
DISTRO="Unknown"
fi
MANDIR="${PREFIX}/share/man/"
ICONSDIR="${DATADIR}/icons/hicolor/"
AC_MSG_RESULT($DISTRO Linux)
;;
*)
OS=Unknown
OS_UNKNOWN=1
DISTRO=Unknown
MANDIR="${PREFIX}/share/man/"
AC_MSG_RESULT(Unknown)
DEFAULT_RES_DIR="${PREFIX}/share/fwbuilder-${VERSION}"
;;
esac
if test "x$with_templatedir" != "x"; then
RES_DIR="${with_templatedir}"
else
RES_DIR="$DEFAULT_RES_DIR"
fi
AC_DEFINE_UNQUOTED(RES_DIR, "$RES_DIR", [res_dir])
AC_SUBST(RES_DIR)
AC_DEFINE_UNQUOTED(RCS_FILE_NAME, ["$RCS_FILE_NAME"], [rcs_file_name])
AC_DEFINE_UNQUOTED(RCSDIFF_FILE_NAME, ["$RCSDIFF_FILE_NAME"], [rcsdiff_file_name])
AC_DEFINE_UNQUOTED(RLOG_FILE_NAME, ["$RLOG_FILE_NAME"], [rlog_file_name])
AC_DEFINE_UNQUOTED(CI_FILE_NAME, ["$CI_FILE_NAME"], [ci_file_name])
AC_DEFINE_UNQUOTED(CO_FILE_NAME, ["$CO_FILE_NAME"], [co_file_name])
dnl prefix has bogus value while building RPM. Since program
dnl should incrorporate full path to the templates directory into
dnl the code via config.h file, we need to keep track of
dnl this directory twice: TEMPLATE_DIR is what goes to config.h, while
dnl "install" Makefile targets will use $(prefix) to build install
dnl path
TEMPLATE_DIR=$RES_DIR
AC_DEFINE_UNQUOTED(LIBFWBUILDER_TEMPLATE_DIR, "${TEMPLATE_DIR}")
AC_SUBST(TEMPLATE_DIR)
AC_SUBST(OS)
AC_DEFINE_UNQUOTED(OS, "${OS}", [os])
test -n "$OS_CYGWIN" && AC_DEFINE_UNQUOTED(OS_CYGWIN, "${OS_CYGWIN}", [cygwin])
test -n "$OS_MINGW" && AC_DEFINE_UNQUOTED(OS_MINGW, "${OS_MINGW}", [mingw])
test -n "$OS_MACOSX" && AC_DEFINE_UNQUOTED(OS_MACOSX, "${OS_MACOSX}", [macosx])
test -n "$OS_SOLARIS" && AC_DEFINE_UNQUOTED(OS_SOLARIS,"${OS_SOLARIS}",[solaris])
test -n "$OS_FREEBSD" && AC_DEFINE_UNQUOTED(OS_FREEBSD,"${OS_FREEBSD}",[freebsd])
test -n "$OS_OPENBSD" && AC_DEFINE_UNQUOTED(OS_OPENBSD,"${OS_OPENBSD}",[openbsd])
test -n "$OS_LINUX" && AC_DEFINE_UNQUOTED(OS_LINUX, "${OS_LINUX}", [linux])
test -n "$OS_SECUWALL" && AC_DEFINE_UNQUOTED(OS_SECUWALL, "${OS_SECUWALL}", [secuwall])
test -n "$OS_UNKNOWN" && AC_DEFINE_UNQUOTED(OS_UNKNOWN,"${OS_UNKNOWN}",[unknown])
AC_SUBST(DISTRO)
AC_DEFINE_UNQUOTED(DISTRO, "${DISTRO}", [distro])
AC_SUBST(DOCDIRPATH)
AC_DEFINE_UNQUOTED(DOCDIRPATH, "${DOCDIRPATH}", [docdirpath])
AC_SUBST(DOCDIR)
AC_DEFINE_UNQUOTED(DOCDIR, "${DOCDIR}", [docdir])
AC_SUBST(DATADIR)
AC_SUBST(MANDIR)
AC_SUBST(ICONSDIR)
AC_ARG_WITH(ccache,[ --with-ccache=yes Use ccache to speed up repeated compilation])
if test -n "$with_ccache"; then
if test "x$with_ccache" != "xno"; then
AC_PATH_PROG(CCACHE, ccache, , )
AC_SUBST(CCACHE)
if test -n "$CCACHE"
then
ccache -s
fi
else
CCACHE=""
AC_SUBST(CCACHE)
fi
else
AC_PATH_PROG(CCACHE, ccache, , )
AC_SUBST(CCACHE)
if test -n "$CCACHE"
then
ccache -s
fi
fi
AC_ARG_WITH(distcc,[ --with-distcc=N Use distcc with N parallel make count])
if test -n "$with_distcc"; then
if test "x$with_distcc" != "xno"; then
AC_PATH_PROG(HAVE_DISTCC, distcc, , )
if test -n "$HAVE_DISTCC"; then
DISTCC=$HAVE_DISTCC
AC_SUBST(DISTCC)
PARALLEL_MAKE_COUNT=$with_distcc
AC_SUBST(PARALLEL_MAKE_COUNT)
fi
fi
else
AC_PATH_PROG(HAVE_DISTCC, distcc, , )
if test -n "$HAVE_DISTCC"; then
M_J=$(distcc -j 2>/dev/null)
if test -n "$M_J"; then
DISTCC=$HAVE_DISTCC
AC_SUBST(DISTCC)
PARALLEL_MAKE_COUNT=$M_J
AC_SUBST(PARALLEL_MAKE_COUNT)
fi
fi
fi
AC_CONFIG_FILES([ qmake.inc
src/res/objects_init.xml
src/res/templates.xml
src/libfwbuilder/qmake.inc
src/libfwbuilder/etc/fwbuilder.dtd
packaging/fwbuilder.control
packaging/fwbuilder.spec
packaging/fwbuilder-static-qt.spec
packaging/fwbuilder.nsi])
AC_OUTPUT
# QMAKE=$QMAKE CCACHE=$CCACHE QTDIR=$QTDIR ./runqmake.sh
QMAKE=$QMAKE QTDIR=$QTDIR ./runqmake.sh

View File

@ -1,22 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
TEMPLATE = subdirs
SUBDIRS = src doc
DOLLAR = $
build_tests.commands = ./unit_tests.sh make build_tests
build_tests.depends = all
run_tests.commands = ./unit_tests.sh make run_tests
run_tests.depends = all
tests.depends = run_tests
clean_tests.commands = ./unit_tests.sh make clean_tests
QMAKE_EXTRA_TARGETS += build_tests run_tests clean_tests tests
QT += widgets

View File

@ -1,250 +0,0 @@
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0

View File

@ -1,49 +0,0 @@
# nls.m4 serial 1 (gettext-0.12)
dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl
dnl This file can can be used in projects which are not available under
dnl the GNU General Public License or the GNU Library General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
AC_DEFUN([AM_NLS],
[
AC_MSG_CHECKING([whether NLS is requested])
dnl Default is enabled NLS
AC_ARG_ENABLE(nls,
[ --disable-nls do not use Native Language Support],
USE_NLS=$enableval, USE_NLS=yes)
AC_MSG_RESULT($USE_NLS)
AC_SUBST(USE_NLS)
])
AC_DEFUN([AM_MKINSTALLDIRS],
[
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
dnl Try to locate it.
MKINSTALLDIRS=
if test -n "$ac_aux_dir"; then
case "$ac_aux_dir" in
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
esac
fi
if test -z "$MKINSTALLDIRS"; then
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
fi
AC_SUBST(MKINSTALLDIRS)
])

426
m4/po.m4
View File

@ -1,426 +0,0 @@
# po.m4 serial 3 (gettext-0.14)
dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl
dnl This file can can be used in projects which are not available under
dnl the GNU General Public License or the GNU Library General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
dnl Checks for all prerequisites of the po subdirectory.
AC_DEFUN([AM_PO_SUBDIRS],
[
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
AC_REQUIRE([AM_NLS])dnl
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
dnl Search for GNU msgfmt in the PATH.
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
dnl The second test excludes FreeBSD msgfmt.
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
:)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
dnl Search for GNU xgettext 0.12 or newer in the PATH.
dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
dnl The second test excludes FreeBSD xgettext.
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
[$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
:)
dnl Remove leftover from FreeBSD xgettext call.
rm -f messages.po
dnl Search for GNU msgmerge 0.11 or newer in the PATH.
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
[$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU msgfmt.
if test "$GMSGFMT" != ":"; then
dnl If it is no GNU msgfmt we define it as : so that the
dnl Makefiles still can work.
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
: ;
else
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
AC_MSG_RESULT(
[found $GMSGFMT program is not GNU msgfmt; ignore it])
GMSGFMT=":"
fi
fi
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU xgettext.
if test "$XGETTEXT" != ":"; then
dnl If it is no GNU xgettext we define it as : so that the
dnl Makefiles still can work.
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
: ;
else
AC_MSG_RESULT(
[found xgettext program is not GNU xgettext; ignore it])
XGETTEXT=":"
fi
dnl Remove leftover from FreeBSD xgettext call.
rm -f messages.po
fi
AC_OUTPUT_COMMANDS([
for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
case "$ac_file" in
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
esac
# PO directories have a Makefile.in generated from Makefile.in.in.
case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
POMAKEFILEDEPS="POTFILES.in"
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
# on $ac_dir but don't depend on user-specified configuration
# parameters.
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
# The LINGUAS file contains the set of available languages.
if test -n "$OBSOLETE_ALL_LINGUAS"; then
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
# Hide the ALL_LINGUAS assigment from automake.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
else
# The set of available languages was given in configure.in.
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
fi
# Compute POFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
# Compute UPDATEPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
# Compute DUMMYPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
# Compute GMOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
case "$ac_given_srcdir" in
.) srcdirpre= ;;
*) srcdirpre='$(srcdir)/' ;;
esac
POFILES=
UPDATEPOFILES=
DUMMYPOFILES=
GMOFILES=
for lang in $ALL_LINGUAS; do
POFILES="$POFILES $srcdirpre$lang.po"
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
done
# CATALOGS depends on both $ac_dir and the user's LINGUAS
# environment variable.
INST_LINGUAS=
if test -n "$ALL_LINGUAS"; then
for presentlang in $ALL_LINGUAS; do
useit=no
if test "%UNSET%" != "$LINGUAS"; then
desiredlanguages="$LINGUAS"
else
desiredlanguages="$ALL_LINGUAS"
fi
for desiredlang in $desiredlanguages; do
# Use the presentlang catalog if desiredlang is
# a. equal to presentlang, or
# b. a variant of presentlang (because in this case,
# presentlang can be used as a fallback for messages
# which are not translated in the desiredlang catalog).
case "$desiredlang" in
"$presentlang"*) useit=yes;;
esac
done
if test $useit = yes; then
INST_LINGUAS="$INST_LINGUAS $presentlang"
fi
done
fi
CATALOGS=
if test -n "$INST_LINGUAS"; then
for lang in $INST_LINGUAS; do
CATALOGS="$CATALOGS $lang.gmo"
done
fi
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
if test -f "$f"; then
case "$f" in
*.orig | *.bak | *~) ;;
*) cat "$f" >> "$ac_dir/Makefile" ;;
esac
fi
done
fi
;;
esac
done],
[# Capture the value of obsolete ALL_LINGUAS because we need it to compute
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
# from automake.
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
# Capture the value of LINGUAS because we need it to compute CATALOGS.
LINGUAS="${LINGUAS-%UNSET%}"
])
])
dnl Postprocesses a Makefile in a directory containing PO files.
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
[
# When this code is run, in config.status, two variables have already been
# set:
# - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
# - LINGUAS is the value of the environment variable LINGUAS at configure
# time.
changequote(,)dnl
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
# Find a way to echo strings without interpreting backslash.
if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
gt_echo='echo'
else
if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
gt_echo='printf %s\n'
else
echo_func () {
cat <<EOT
$*
EOT
}
gt_echo='echo_func'
fi
fi
# A sed script that extracts the value of VARIABLE from a Makefile.
sed_x_variable='
# Test if the hold space is empty.
x
s/P/P/
x
ta
# Yes it was empty. Look if we have the expected variable definition.
/^[ ]*VARIABLE[ ]*=/{
# Seen the first line of the variable definition.
s/^[ ]*VARIABLE[ ]*=//
ba
}
bd
:a
# Here we are processing a line from the variable definition.
# Remove comment, more precisely replace it with a space.
s/#.*$/ /
# See if the line ends in a backslash.
tb
:b
s/\\$//
# Print the line, without the trailing backslash.
p
tc
# There was no trailing backslash. The end of the variable definition is
# reached. Clear the hold space.
s/^.*$//
x
bd
:c
# A trailing backslash means that the variable definition continues in the
# next line. Put a nonempty string into the hold space to indicate this.
s/^.*$/P/
x
:d
'
changequote([,])dnl
# Set POTFILES to the value of the Makefile variable POTFILES.
sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
# Compute POTFILES_DEPS as
# $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
POTFILES_DEPS=
for file in $POTFILES; do
POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
done
POMAKEFILEDEPS=""
if test -n "$OBSOLETE_ALL_LINGUAS"; then
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
# The LINGUAS file contains the set of available languages.
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
else
# Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
fi
# Hide the ALL_LINGUAS assigment from automake.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
# Compute POFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
# Compute UPDATEPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
# Compute DUMMYPOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
# Compute GMOFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
# Compute PROPERTIESFILES
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
# Compute CLASSFILES
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
# Compute QMFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
# Compute MSGFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
# Compute RESOURCESDLLFILES
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
case "$ac_given_srcdir" in
.) srcdirpre= ;;
*) srcdirpre='$(srcdir)/' ;;
esac
POFILES=
UPDATEPOFILES=
DUMMYPOFILES=
GMOFILES=
PROPERTIESFILES=
CLASSFILES=
QMFILES=
MSGFILES=
RESOURCESDLLFILES=
for lang in $ALL_LINGUAS; do
POFILES="$POFILES $srcdirpre$lang.po"
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
QMFILES="$QMFILES $srcdirpre$lang.qm"
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
frobbedlang=`echo $lang | sed -e 's/_/-/g'`
RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
done
# CATALOGS depends on both $ac_dir and the user's LINGUAS
# environment variable.
INST_LINGUAS=
if test -n "$ALL_LINGUAS"; then
for presentlang in $ALL_LINGUAS; do
useit=no
if test "%UNSET%" != "$LINGUAS"; then
desiredlanguages="$LINGUAS"
else
desiredlanguages="$ALL_LINGUAS"
fi
for desiredlang in $desiredlanguages; do
# Use the presentlang catalog if desiredlang is
# a. equal to presentlang, or
# b. a variant of presentlang (because in this case,
# presentlang can be used as a fallback for messages
# which are not translated in the desiredlang catalog).
case "$desiredlang" in
"$presentlang"*) useit=yes;;
esac
done
if test $useit = yes; then
INST_LINGUAS="$INST_LINGUAS $presentlang"
fi
done
fi
CATALOGS=
JAVACATALOGS=
QTCATALOGS=
TCLCATALOGS=
CSHARPCATALOGS=
if test -n "$INST_LINGUAS"; then
for lang in $INST_LINGUAS; do
CATALOGS="$CATALOGS $lang.gmo"
JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
QTCATALOGS="$QTCATALOGS $lang.qm"
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
frobbedlang=`echo $lang | sed -e 's/_/-/g'`
CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
done
fi
sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
# Add dependencies that cannot be formulated as a simple suffix rule.
for lang in $ALL_LINGUAS; do
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
cat >> "$ac_file.tmp" <<EOF
$frobbedlang.msg: $lang.po
@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
EOF
done
fi
if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
# Add dependencies that cannot be formulated as a simple suffix rule.
for lang in $ALL_LINGUAS; do
frobbedlang=`echo $lang | sed -e 's/_/-/g'`
cat >> "$ac_file.tmp" <<EOF
$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
EOF
done
fi
if test -n "$POMAKEFILEDEPS"; then
cat >> "$ac_file.tmp" <<EOF
Makefile: $POMAKEFILEDEPS
EOF
fi
mv "$ac_file.tmp" "$ac_file"
])

View File

@ -1,209 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
########## fwbuilder/qmake.inc.in
#
QTDIR = $$(QTDIR)
TEMPLATE = app
DEFINES += $$(DEFINES)
LANGUAGE = C++
UI_DIR = ui
MANDIR = @MANDIR@
DOCDIR = @DOCDIR@
HAVE_QTDBUS = @HAVE_QTDBUS@
HAVE_CPPUNIT = @HAVE_CPPUNIT@
CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
CPPUNIT_LIBS = @CPPUNIT_LIBS@
# CONFIG -= nostrip
# CONFIG += release
CONFIG += debug
CONFIG += c++14
unix {
PREFIX = @PREFIX@
ANTLR_INCLUDEPATH = @ANTLR_INCLUDEPATH@
ANTLR_LIBS = @ANTLR_LIBS@
QMAKE_CXX = @CCACHE@ @DISTCC@ $$QMAKE_CXX
INCLUDEPATH += .. ../..
INCLUDEPATH += @XML_CFLAGS_Q@ @XSLT_CFLAGS_Q@
LIBS += @PTHREAD_LIBS@ @XML_LIBS@ @XSLT_LIBS@ @LIBSNMP_LIBS@ @LIB_RESOLV@ @LIBS@
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
!macx {
exec_prefix = @EXEC_PREFIX@
DESTDIR =
ICONSDIR = @ICONSDIR@
target.path = $$PREFIX/bin
dtd.path = @RES_DIR@/
migration.path = @RES_DIR@/migration
doc.path = @DOCDIR@
datadir.path = @DATADIR@
res.path = @RES_DIR@
res_os.path = $$res.path/os/
res_platform.path = $$res.path/platform/
res_help_C.path = $$res.path/help/C
res_help_en_US.path = $$res.path/help/en_US
res_desktop.path = @DATADIR@/applications/
res_configlets.path = $$res.path/configlets
# INSTALLS += icns
# LIBS += @LIBS@
PKGLOCALEDIR = $$res.path/locale
CONFIG += warn_on
# DEFINES += __STDC_FORMAT_MACROS
}
}
win32 {
# Keep this as a absolute full path. For some reason, when
# I leave it is up to qmake to define this variable, and it
# makes it "xcopy /i /y /s /q", I get an error "Invalid number of parameters"
# even though command line looks correct. Chances are, there is another
# xcopy somewhere on the system that gets used, but I could not find it.
# Setting this variable using full path works.
QMAKE_COPY_DIR = C:\\Windows\\System32\\xcopy /I /Y /S /Q
PREFIX = "c:/tmp/build_root"
DOCDIR = "$$PREFIX/doc/fwbuilder"
exec_prefix = "$$PREFIX"
MANDIR = "$$PREFIX/man/"
DESTDIR = ""
doc.path = $$DOCDIR
target.path = $$PREFIX/
res.path = $$PREFIX/resources
res_os.path = $$res.path/os
res_platform.path = $$res.path/platform
res_help_C.path = $$res.path/help/C
res_help_en_US.path = $$res.path/help/en_US
res_configlets.path = $$res.path/configlets
PKGLOCALEDIR = $$res.path/locale
CONFIG += qt thread rtti stl warn_on release
CONFIG -= debug
BINARY_SUBDIR = release
DEFINES += LIBXML_STATIC LIBXSLT_STATIC
DEFINES += LIBEXSLT_STATIC XMLSEC_STATIC
DEFINES += WIN32_LEAN_AND_MEAN
INCLUDEPATH += "../.."
INCLUDEPATH += $$(TOOLCHAIN_PREFIX)/include $$(TOOLCHAIN_PREFIX)/include/libxml2 $$(TOOLCHAIN_PREFIX)/include/net-snmp /include
LIBS += -L$$(TOOLCHAIN_PREFIX)/lib -L$$(TOOLCHAIN_PREFIX)/bin
# LIBS += -l xslt -l xml2 -l iconv -l pthread -l ws2_32
#LIBS += -l xslt -l xml2 -l iconv -l pthread -l netsnmp -l ws2_32
LIBS += -lxslt -lxml2 -liconv -lpthread -lz -lws2_32
# workaround for QT += dbus not working atm
# Standard QT binary Windows distribution does not include QtDBus library
# Checked with 4.4.1 and 4.4.3 06/12/2009
# LIBS += -lQtDBus
target.path = $$PREFIX/bin
# on windows we use antlr DLL
HAVE_ANTLR_RUNTIME = 1
HAVE_EXTERNAL_ANTLR = 0
antlr.path = $$PREFIX/lib
# Qt on windows does not have DBus framework support, turn parts of .pro files off
# HAVE_QTDBUS =
ANTLR_INCLUDEPATH = ..
ANTLR_LIBS = ../antlr/release/libantlr.a
# our parsers are linked as a library (code is in src/parsers)
FWBPARSER_LIB = ../parsers/release/libfwbparser.a
# fwtransfer library for secuwall (and possibly other os/platform)
# override the name for windows
# FWTRANSFER_LIB = ../fwtransfer/release/libfwtransfer.a
}
macx {
# PREFIX = "$$DESTDIR"
DOCDIR = "$$PREFIX/doc/"
MANDIR = "$$PREFIX/share/man"
# These do not really matter because we never run make install on Mac OS X
target.path = $$PREFIX/
res.path = $$PREFIX/resources/
res_os.path = $$res.path/os
res_platform.path = $$res.path/platform
res_help_C.path = $$res.path/help/C
res_help_en_US.path = $$res.path/help/en_US
res_configlets.path = $$res.path/configlets
icns.files = fwbuilder.icns
icns.path = $$PREFIX/
PKGLOCALEDIR = $$res.path/locale
# If I build on 10.6 without these, generated binary depends on
# /usr/lib/libxml2.2.dynlib that has compatibility version 10.0.0
# which does not work on 10.5 where its compatibility version is
# 9.0.0. Chances are, the same thing may be happening with other
# dependency libraries. Building on 10.6 with deployment target 10.5
# should solve the problem
QMAKE_MACOSX_DEPLOYMENT_TARGET = $$(QMAKE_MACOSX_DEPLOYMENT_TARGET)
QMAKE_CXXFLAGS += -mmacosx-version-min=$$(QMAKE_MACOSX_DEPLOYMENT_TARGET) $$(CXXFLAGS)
QMAKE_MAC_SDK = $$(QMAKE_MAC_SDK)
CONFIG += qt thread rtti stl warn_on debug # release
# not compiling for PPC because of problems on Snow Leopard
CONFIG -= x86
CONFIG += x86_64
# See http://trolltech.com/developer/task-tracker/index_html?method=entry&id=211852
# for why ppc architecture is commented out.
# If Trolltech does not fix it by the time of release v3.0, will have
# to figure out workaround (turn off precompiled headers ?)
# CONFIG += ppc
INCLUDEPATH += $(INSTALL_ROOT)/$$PREFIX/include/
INCLUDEPATH += /usr/include/libxml2 /usr/include
INCLUDEPATH += /usr/local/opt/openssl/include
QMAKE_LIBS_QT =
QMAKE_LIBS_QT_THREAD =
# LIBS += $$LIBS_FWBUILDER
LIBS += -lxml2 -lz
LIBS += -lpthread
LIBS += -L/usr/local/opt/openssl/lib
}
FWB_SIG = $$(FWB_SIG)
if (isEmpty(FWB_SIG)) { FWB_SIG=26932 }
DEFINES += FWB_SIG=$$FWB_SIG
QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
exists(qmake2.inc) {
include(qmake2.inc)
}
INSTALLS += target

View File

@ -1,22 +0,0 @@
#!/bin/sh
test -z "${QMAKE}" && QMAKE="qmake"
C="-recursive"
test -n "$QMAKESPEC" && C="$C -spec $QMAKESPEC "
echo "QTDIR=\"$QTDIR\""
echo "Running qmake: $QMAKE $C"
oIFS=$IFS
IFS="
"
test -z "$EXTRA_CXXFLAGS" || FLAGS="QMAKE_CXXFLAGS += $EXTRA_CXXFLAGS"
if [ -z "$FLAGS" ]; then
# in case there are no FLAGS defined, we can't pass an empty "" parameter to qmake
$QMAKE $C
else
$QMAKE "$FLAGS" $C
fi

View File

@ -1,99 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = ANTLRUtil.cpp \
ASTFactory.cpp \
ASTNULLType.cpp \
ASTRefCount.cpp \
BaseAST.cpp \
BitSet.cpp \
CharBuffer.cpp \
CharScanner.cpp \
CommonAST.cpp \
CommonASTWithHiddenTokens.cpp \
CommonHiddenStreamToken.cpp \
CommonToken.cpp \
InputBuffer.cpp \
LLkParser.cpp \
MismatchedCharException.cpp \
MismatchedTokenException.cpp \
NoViableAltException.cpp \
NoViableAltForCharException.cpp \
Parser.cpp \
RecognitionException.cpp \
String.cpp \
TokenBuffer.cpp \
Token.cpp \
TokenRefCount.cpp \
TokenStreamBasicFilter.cpp \
TokenStreamHiddenTokenFilter.cpp \
TokenStreamRewriteEngine.cpp \
TokenStreamSelector.cpp \
TreeParser.cpp
# dll.cpp \
HEADERS = ANTLRException.hpp \
ANTLRUtil.hpp \
ASTArray.hpp \
ASTFactory.hpp \
AST.hpp \
ASTNULLType.hpp \
ASTPair.hpp \
ASTRefCount.hpp \
BaseAST.hpp \
BitSet.hpp \
CharBuffer.hpp \
CharInputBuffer.hpp \
CharScanner.hpp \
CharStreamException.hpp \
CharStreamIOException.hpp \
CircularQueue.hpp \
CommonAST.hpp \
CommonASTWithHiddenTokens.hpp \
CommonHiddenStreamToken.hpp \
CommonToken.hpp \
config.hpp \
InputBuffer.hpp \
IOException.hpp \
LexerSharedInputState.hpp \
LLkParser.hpp \
MismatchedCharException.hpp \
MismatchedTokenException.hpp \
NoViableAltException.hpp \
NoViableAltForCharException.hpp \
Parser.hpp \
ParserSharedInputState.hpp \
RecognitionException.hpp \
RefCount.hpp \
SemanticException.hpp \
String.hpp \
TokenBuffer.hpp \
Token.hpp \
TokenRefCount.hpp \
TokenStreamBasicFilter.hpp \
TokenStreamException.hpp \
TokenStreamHiddenTokenFilter.hpp \
TokenStream.hpp \
TokenStreamIOException.hpp \
TokenStreamRecognitionException.hpp \
TokenStreamRetryException.hpp \
TokenStreamRewriteEngine.hpp \
TokenStreamSelector.hpp \
TokenWithIndex.hpp \
TreeParser.hpp \
TreeParserSharedInputState.hpp
CONFIG += staticlib
INCLUDEPATH += $$ANTLR_INCLUDEPATH
DEPENDPATH += $$ANTLR_INCLUDEPATH
DEFINES += $$ANTLR_DEFINES
TARGET = antlr
INSTALLS -= target

View File

@ -1,123 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = PolicyCompiler_cisco.cpp \
PolicyCompiler_cisco_acls.cpp \
NamedObjectsAndGroupsSupport.cpp \
NamedObjectsManager.cpp \
NamedObjectsManagerNXOS.cpp \
NamedObjectsManagerIOS.cpp \
NamedObjectsManagerPIX.cpp \
RoutingCompiler_cisco.cpp \
RoutingCompiler_cisco_writers.cpp \
splitByNetworkZonesForRE.cpp \
specialServices.cpp \
ACL.cpp \
NamedObject.cpp \
ASA8TwiceNatLogic.cpp \
Helper.cpp \
inspectionProtocol.cpp \
InspectionClassMap.cpp \
OSConfigurator_nxos.cpp \
OSConfigurator_ios.cpp \
CompilerDriver_nxosacl.cpp \
CompilerDriver_nxosacl_run.cpp \
CompilerDriver_iosacl.cpp \
CompilerDriver_iosacl_run.cpp \
PolicyCompiler_nxosacl.cpp \
PolicyCompiler_nxosacl_writers.cpp \
PolicyCompiler_iosacl.cpp \
PolicyCompiler_iosacl_writers.cpp \
RoutingCompiler_nxosacl.cpp \
RoutingCompiler_nxosacl_writers.cpp \
RoutingCompiler_iosacl.cpp \
RoutingCompiler_iosacl_writers.cpp \
CompilerDriver_pix.cpp \
CompilerDriver_pix_run.cpp \
NATCompiler_pix.cpp \
NATCompiler_pix_find_translations.cpp \
NATCompiler_pix_writers.cpp \
NATCompiler_asa8.cpp \
NATCompiler_asa8_writers.cpp \
NATCompiler_pix_optimizers.cpp \
OSConfigurator_pix_os.cpp \
OSConfigurator_pix_os_fixups.cpp \
OSConfigurator_pix_os_inspectors.cpp \
OSConfigurator_pix_os_inspectors_pix8.cpp \
CompilerDriver_procurve_acl.cpp \
CompilerDriver_procurve_acl_run.cpp\
OSConfigurator_procurve.cpp \
PolicyCompiler_procurve_acl.cpp \
PolicyCompiler_procurve_acl_writers.cpp \
RoutingCompiler_procurve_acl.cpp \
BaseObjectGroup.cpp \
PIXObjectGroup.cpp \
ASA8ObjectGroup.cpp \
NXOSObjectGroup.cpp \
IOSObjectGroup.cpp \
PolicyCompiler_pix.cpp \
PolicyCompiler_pix_writers.cpp \
PolicyCompiler_pix_v6_acls.cpp \
PolicyCompiler_pix_replace_translations.cpp \
RoutingCompiler_pix.cpp \
RoutingCompiler_pix_writers.cpp \
AutomaticRules_cisco.cpp \
AutomaticRules_iosacl.cpp \
AutomaticRules_nxosacl.cpp
HEADERS = ../../config.h \
PortRangeConverter.h \
splitByNetworkZonesForRE.h \
specialServices.h \
ACL.h \
Helper.h \
NamedObject.h \
ASA8TwiceNatLogic.h \
NamedObjectsAndGroupsSupport.h \
NamedObjectsManager.h \
NamedObjectsManagerIOS.h \
NamedObjectsManagerPIX.h \
NamedObjectsManagerASA8.h \
inspectionProtocol.h \
InspectionClassMap.h \
PolicyCompiler_cisco.h \
RoutingCompiler_cisco.h \
CompilerDriver_nxosacl.h \
CompilerDriver_iosacl.h \
OSConfigurator_ios.h \
PolicyCompiler_iosacl.h \
CompilerDriver_pix.h \
NATCompiler_pix.h \
NATCompiler_asa8.h \
OSConfigurator_pix_os.h \
CompilerDriver_procurve_acl.h \
OSConfigurator_procurve.h \
PolicyCompiler_procurve_acl.h \
RoutingCompiler_procurve_acl.h \
BaseObjectGroup.h \
PIXObjectGroup.h \
ASA8ObjectGroup.h \
NXOSObjectGroup.h \
IOSObjectGroup.h \
PolicyCompiler_pix.h \
RoutingCompiler_pix.h \
AutomaticRules_cisco.h \
AutomaticRules_iosacl.h \
AutomaticRules_nxosacl.h
macx:LIBS += $$LIBS_FWCOMPILER
INCLUDEPATH += ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../compiler_lib ../libfwbuilder/src
win32:PRE_TARGETDEPS = ../compiler_lib/release/libcompilerdriver.a
!win32:PRE_TARGETDEPS = ../compiler_lib/libcompilerdriver.a
CONFIG += staticlib
TARGET = fwbcisco
INSTALLS -= target

View File

@ -1,24 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
# This library provides basic initialization function used in all executables,
# including the GUI and all compilers
# on QT
include(../../qmake.inc)
QT -= gui
TEMPLATE = lib
SOURCES = init.cpp init2.cpp
HEADERS = ../../config.h commoninit.h
INCLUDEPATH += ../libfwbuilder/src
DEPENDPATH += ../libfwbuilder/src
CONFIG += staticlib
TARGET = common
INSTALLS -= target
exists(qmake.inc):include( qmake.inc)

View File

@ -1,49 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
# This library is separate from fwcompiler library because it has dependency
# on QT
include(../../qmake.inc)
TEMPLATE = lib
SOURCES = CompilerDriver.cpp \
CompilerDriver_files.cpp \
CompilerDriver_compile.cpp \
CompilerDriver_generators.cpp \
Configlet.cpp \
interfaceProperties.cpp \
linux24Interfaces.cpp \
openbsdInterfaces.cpp \
freebsdInterfaces.cpp \
nxosInterfaces.cpp \
iosInterfaces.cpp \
junosInterfaces.cpp \
procurveInterfaces.cpp \
pixInterfaces.cpp \
interfacePropertiesObjectFactory.cpp \
AutomaticRules.cpp
HEADERS = ../../config.h \
CompilerDriver.h \
Configlet.h \
interfaceProperties.h \
linux24Interfaces.h \
openbsdInterfaces.h \
freebsdInterfaces.h \
nxosInterfaces.h \
iosInterfaces.h \
junosInterfaces.h \
procurveInterfaces.h \
pixInterfaces.h \
interfacePropertiesObjectFactory.h \
AutomaticRules.h
INCLUDEPATH += ../libfwbuilder/src
DEPENDPATH += ../libfwbuilder/src
CONFIG += staticlib
TARGET = compilerdriver
INSTALLS -= target

View File

@ -1,38 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
#
TEMPLATE = app
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
SOURCES = fwbedit.cpp new_object.cpp repair_tree.cpp list_object.cpp merge.cpp import.cpp
HEADERS = ../../config.h fwbedit.h upgradePredicate.h
INCLUDEPATH += ../libfwbuilder/src ../import ../compiler_lib ../libgui
DEPENDPATH += ../libfwbuilder/src ../import ../compiler_lib ../libgui
win32:INCLUDEPATH += ../libgui/ui
!win32:INCLUDEPATH += ../libgui/.ui
TARGET = fwbedit
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../import/$$BINARY_SUBDIR/libimport.a \
../parsers/$$BINARY_SUBDIR/libfwbparser.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libgui/$$BINARY_SUBDIR/libgui.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$ANTLR_LIBS $$LIBS
win32:CONFIG += console

View File

@ -1,88 +0,0 @@
# -*- mode: makefile; tab-width: 4; -*-
# $Id$
TEMPLATE = app
LANGUAGE = C++
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = fwbuilder
include(../../qmake.inc)
exists(qmake.inc):include( qmake.inc)
SOURCES += main.cpp
# Arrange static libraries before dynamic ones in the linker command
# line. libgui goes first
IMPORT_LIB = ../import/$$BINARY_SUBDIR/libimport.a
FWBPARSER_LIB = ../parsers/$$BINARY_SUBDIR/libfwbparser.a
# FWTRANSFER_LIB = ../fwtransfer/$$BINARY_SUBDIR/libfwtransfer.a
INCLUDEPATH += $$ANTLR_INCLUDEPATH
DEFINES += $$ANTLR_DEFINES
STATIC_LIBS += ../libgui/$$BINARY_SUBDIR/libgui.a \
$$IMPORT_LIB $$FWBPARSER_LIB $$ANTLR_LIBS
# fwtransfer lib. Add this before adding -lQtDBus to LIBS below
# STATIC_LIBS += $$FWTRANSFER_LIB
# contains( HAVE_QTDBUS, 1 ):unix {
# !macx:QT += network \
# dbus
# macx:STATIC_LIBS += -framework \
# QtDBus
# }
# !macx:STATIC_LIBS += -lQtDBus # workaround for QT += dbus not working with Qt < 4.4.0
INCLUDEPATH += \
../libgui \
../compiler_lib \
../libfwbuilder/src
win32:INCLUDEPATH += ../libgui/ui
!win32:INCLUDEPATH += ../libgui/.ui
DEPENDPATH += \
../libgui \
../compiler_lib \
../libfwbuilder/src
OTHER_LIBS = ../common/$$BINARY_SUBDIR/libcommon.a \
../iptlib/$$BINARY_SUBDIR/libiptlib.a \
../pflib/$$BINARY_SUBDIR/libfwbpf.a \
../cisco_lib/$$BINARY_SUBDIR/libfwbcisco.a \
../juniper_lib/$$BINARY_SUBDIR/libfwbjuniper.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a
STATIC_LIBS += $$OTHER_LIBS
PRE_TARGETDEPS = $$STATIC_LIBS
macx:STATIC_LIBS += -framework Carbon
STATIC_LIBS += $$LIBS_FWCOMPILER
LIBS = $$STATIC_LIBS $$LIBS
win32 {
RC_FILE = fwbuilder-windows.rc
win_ico.files = fwbuilder-windows.ico
win_ico.path = $$PREFIX
INSTALLS += win_ico
}
macx {
QMAKE_INFO_PLIST = FwbuilderInfo.plist
ICON = fwbuilder-macosx.icns
SOURCES += main_mac.cpp
}
# TRANSLATIONS = fwbuilder_ru.ts fwbuilder_ja.ts fwbuilder_en.ts
# ja.path = $$PKGLOCALEDIR
# ja.files = fwbuilder_ja.qm
# ru.path = $$PKGLOCALEDIR
# ru.files = fwbuilder_ru.qm
# INSTALLS += ja ru

View File

@ -1,58 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = QStringListOperators.cpp \
PreImport.cpp \
objectMaker.cpp \
objectSignature.cpp \
addressObjectMaker.cpp \
serviceObjectMaker.cpp \
getProtoByName.cpp \
getServByName.cpp \
Importer.cpp \
IOSImporter.cpp \
IOSImporterRun.cpp \
IPTImporter.cpp \
IPTImporterRun.cpp \
PIXImporter.cpp \
PIXImporterNat.cpp \
PIXImporterRun.cpp \
PFImporter.cpp \
PFImporterRun.cpp \
HEADERS = QStringListOperators.h \
PreImport.h \
objectMaker.h \
objectSignature.h \
addressObjectMaker.h \
serviceObjectMaker.h \
getProtoByName.h \
getServByName.h \
Importer.h \
IOSImporter.h \
IPTImporter.h \
PIXImporter.h \
PFImporter.h \
InterfaceSpec.h \
AddressSpec.h \
PortSpec.h \
IcmpSpec.h \
RouteSpec.h \
CONFIG += staticlib
# need to add "." for g++ on mingw
INCLUDEPATH += $$ANTLR_INCLUDEPATH ../libfwbuilder/src ../compiler_lib .
DEPENDPATH += $$ANTLR_INCLUDEPATH ../libfwbuilder/src ../compiler_lib
LIBS += $$ANTLR_LIBS
DEFINES += $$ANTLR_DEFINES
TARGET = import
INSTALLS -= target

View File

@ -1,33 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
#
# PACKAGE = fwbuilder-iosacl-$$FWB_VERSION
#
# QMAKE_CXXFLAGS_DEBUG += -DPACKAGE="\"$$PACKAGE\""
# QMAKE_CXXFLAGS_RELEASE += -DPACKAGE="\"$$PACKAGE\""
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = iosacl.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32:CONFIG += console
INCLUDEPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../cisco_lib/$$BINARY_SUBDIR/libfwbcisco.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_iosacl

View File

@ -1,30 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = ipf.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32:CONFIG += console
# unix { !macx: CONFIG -= qt }
INCLUDEPATH += ../pflib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../pflib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../pflib/$$BINARY_SUBDIR/libfwbpf.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_ipf

View File

@ -1,28 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = ipfw.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32:CONFIG += console
INCLUDEPATH += ../pflib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../pflib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../pflib/$$BINARY_SUBDIR/libfwbpf.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_ipfw

View File

@ -1,29 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = ipt.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32: CONFIG += console
INCLUDEPATH += ../iptlib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../iptlib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../iptlib/$$BINARY_SUBDIR/libiptlib.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_ipt

View File

@ -1,68 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
TEMPLATE = lib
SOURCES = CompilerDriver_ipt.cpp \
CompilerDriver_ipt_run.cpp \
CompilerDriver_ipt_policy.cpp \
CompilerDriver_ipt_nat.cpp \
MangleTableCompiler_ipt.cpp \
NATCompiler_PrintRule.cpp \
NATCompiler_PrintRuleIptRst.cpp \
NATCompiler_PrintRuleIptRstEcho.cpp \
NATCompiler_ipt.cpp \
OSConfigurator_ipcop.cpp \
OSConfigurator_linux24.cpp \
OSConfigurator_linux24_interfaces.cpp \
OSConfigurator_secuwall.cpp \
OSData.cpp \
PolicyCompiler_PrintRule.cpp \
PolicyCompiler_PrintRuleIptRst.cpp \
PolicyCompiler_PrintRuleIptRstEcho.cpp \
PolicyCompiler_ipt.cpp \
PolicyCompiler_ipt_optimizer.cpp \
PolicyCompiler_secuwall.cpp \
RoutingCompiler_ipt.cpp \
RoutingCompiler_ipt_writers.cpp \
Preprocessor_ipt.cpp \
combinedAddress.cpp \
AutomaticRules_ipt.cpp \
ipt_utils.cpp
HEADERS = ../../config.h \
CompilerDriver_ipt.h \
MangleTableCompiler_ipt.h \
NATCompiler_ipt.h \
OSConfigurator_ipcop.h \
OSConfigurator_linux24.h \
OSConfigurator_secuwall.h \
OSData.h \
PolicyCompiler_ipt.h \
PolicyCompiler_secuwall.h \
RoutingCompiler_ipt.h \
Preprocessor_ipt.h \
combinedAddress.h \
AutomaticRules_ipt.h \
ipt_utils.h
CONFIG += staticlib
INCLUDEPATH += ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../compiler_lib ../libfwbuilder/src
win32:PRE_TARGETDEPS = ../compiler_lib/release/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/release/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/release/libfwbuilder.a
!win32:PRE_TARGETDEPS = ../compiler_lib/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/libfwbuilder.a
TARGET = iptlib
INSTALLS -= target

View File

@ -1,44 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = \
CompilerDriver_junosacl.cpp \
CompilerDriver_junosacl_run.cpp \
OSConfigurator_junos.cpp \
../cisco_lib/PolicyCompiler_cisco.cpp \
../cisco_lib/Helper.cpp \
PolicyCompiler_junosacl.cpp \
PolicyCompiler_junosacl_writers.cpp \
../cisco_lib/NamedObjectsAndGroupsSupport.cpp \
../cisco_lib/NamedObject.cpp \
../cisco_lib/PolicyCompiler_cisco_acls.cpp \
../cisco_lib/BaseObjectGroup.cpp \
../cisco_lib/IOSObjectGroup.cpp \
../cisco_lib/NamedObjectsManager.cpp \
../cisco_lib/ACL.cpp \
../cisco_lib/NXOSObjectGroup.cpp \
../cisco_lib/PIXObjectGroup.cpp \
../cisco_lib/ASA8ObjectGroup.cpp
HEADERS = ../../config.h \
CompilerDriver_junosacl.h \
OSConfigurator_junos.h \
PolicyCompiler_junosacl.h \
../cisco_lib/BaseObjectGroup.h
macx:LIBS += $$LIBS_FWCOMPILER
INCLUDEPATH += ../compiler_lib ../libfwbuilder/src ..
DEPENDPATH += ../compiler_lib ../libfwbuilder/src
win32:PRE_TARGETDEPS = ../compiler_lib/release/libcompilerdriver.a
!win32:PRE_TARGETDEPS = ../compiler_lib/libcompilerdriver.a
CONFIG += staticlib
TARGET = fwbjuniper
INSTALLS -= target

View File

@ -1,34 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
#
#
# PACKAGE = fwbuilder-junosacl-$$FWB_VERSION
#
# QMAKE_CXXFLAGS_DEBUG += -DPACKAGE="\"$$PACKAGE\""
# QMAKE_CXXFLAGS_RELEASE += -DPACKAGE="\"$$PACKAGE\""
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = junosacl.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755 -s
}
win32:CONFIG += console
INCLUDEPATH += ../juniper_lib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../juniper_lib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../juniper_lib/$$BINARY_SUBDIR/libfwbjuniper.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_junosacl

View File

@ -1,22 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../qmake.inc)
TEMPLATE = aux
win32 {
CONFIG -= embed_manifest_exe
}
QMAKE_RUN_CC = @echo
QMAKE_RUN_CXX = @echo
QMAKE_LINK = @echo
QMAKE_LIB = @echo
TARGET = etc
dtd.files = fwbuilder.dtd
INSTALLS -= target
INSTALLS += dtd

View File

@ -1,20 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
TEMPLATE = subdirs
SUBDIRS = etc migration src
DOLLAR = $
build_tests.commands = ./unit_tests.sh make build_tests
build_tests.depends = all
run_tests.commands = ./unit_tests.sh make run_tests
run_tests.depends = all
clean_tests.commands = ./unit_tests.sh make clean_tests
tests.depends = run_tests
QMAKE_EXTRA_TARGETS += build_tests run_tests clean_tests tests

View File

@ -1,101 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../qmake.inc)
TEMPLATE = aux
TARGET = migration
win32 {
CONFIG -= embed_manifest_exe
}
QMAKE_RUN_CC = "@echo"
QMAKE_RUN_CXX = "@echo"
QMAKE_LINK = "@echo"
target.path = $${migration.path}
target.files = FWObjectDatabase_0.9.0.xslt \
FWObjectDatabase_0.9.1.xslt \
FWObjectDatabase_0.9.2.xslt \
FWObjectDatabase_0.9.3.xslt \
FWObjectDatabase_0.9.4.xslt \
FWObjectDatabase_0.9.5.xslt \
FWObjectDatabase_0.10.0.xslt \
FWObjectDatabase_0.10.1.xslt \
FWObjectDatabase_0.10.2.xslt \
FWObjectDatabase_0.10.3.xslt \
FWObjectDatabase_0.10.4.xslt \
FWObjectDatabase_0.10.5.xslt \
FWObjectDatabase_0.10.6.xslt \
FWObjectDatabase_0.10.7.xslt \
FWObjectDatabase_0.10.8.xslt \
FWObjectDatabase_0.10.9.xslt \
FWObjectDatabase_0.10.10.xslt \
FWObjectDatabase_0.10.11.xslt \
FWObjectDatabase_0.10.12.xslt \
FWObjectDatabase_0.10.13.xslt \
FWObjectDatabase_0.10.14.xslt \
FWObjectDatabase_1.0.0.xslt \
FWObjectDatabase_1.0.1.xslt \
FWObjectDatabase_1.0.2.xslt \
FWObjectDatabase_2.0.0.xslt \
FWObjectDatabase_2.0.1.xslt \
FWObjectDatabase_2.0.2.xslt \
FWObjectDatabase_2.0.3.xslt \
FWObjectDatabase_2.0.4.xslt \
FWObjectDatabase_2.0.5.xslt \
FWObjectDatabase_2.0.6.xslt \
FWObjectDatabase_2.0.7.xslt \
FWObjectDatabase_2.0.8.xslt \
FWObjectDatabase_2.0.9.xslt \
FWObjectDatabase_2.0.10.xslt \
FWObjectDatabase_2.0.11.xslt \
FWObjectDatabase_2.0.12.xslt \
FWObjectDatabase_2.0.99.xslt \
FWObjectDatabase_2.1.0.xslt \
FWObjectDatabase_2.1.1.xslt \
FWObjectDatabase_2.1.2.xslt \
FWObjectDatabase_2.1.3.xslt \
FWObjectDatabase_2.1.4.xslt \
FWObjectDatabase_2.1.5.xslt \
FWObjectDatabase_2.1.6.xslt \
FWObjectDatabase_2.1.7.xslt \
FWObjectDatabase_2.1.8.xslt \
FWObjectDatabase_2.1.9.xslt \
FWObjectDatabase_2.1.10.xslt \
FWObjectDatabase_2.1.11.xslt \
FWObjectDatabase_2.1.12.xslt \
FWObjectDatabase_2.1.13.xslt \
FWObjectDatabase_2.1.14.xslt \
FWObjectDatabase_2.1.15.xslt \
FWObjectDatabase_2.1.16.xslt \
FWObjectDatabase_2.1.17.xslt \
FWObjectDatabase_2.1.18.xslt \
FWObjectDatabase_2.1.19.xslt \
FWObjectDatabase_2.1.99.xslt \
FWObjectDatabase_3.xslt \
FWObjectDatabase_4.xslt \
FWObjectDatabase_5.xslt \
FWObjectDatabase_6.xslt \
FWObjectDatabase_7.xslt \
FWObjectDatabase_8.xslt \
FWObjectDatabase_9.xslt \
FWObjectDatabase_10.xslt \
FWObjectDatabase_11.xslt \
FWObjectDatabase_12.xslt \
FWObjectDatabase_13.xslt \
FWObjectDatabase_14.xslt \
FWObjectDatabase_15.xslt \
FWObjectDatabase_16.xslt \
FWObjectDatabase_17.xslt \
FWObjectDatabase_18.xslt \
FWObjectDatabase_19.xslt \
FWObjectDatabase_20.xslt \
FWObjectDatabase_21.xslt \
FWObjectDatabase_22.xslt \
FWObjectDatabase_23.xslt \

View File

@ -1,107 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
######### libfwbuilder/qmake.inc.in
#
QTDIR = $$(QTDIR)
TEMPLATE = lib
DEFINES += $$(DEFINES)
INCLUDEPATH += .. ../.. $$(INCLUDEPATH)
DEPENDPATH += .. ../..
LANGUAGE = C++
HAVE_CPPUNIT = @HAVE_CPPUNIT@
CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
CPPUNIT_LIBS = @CPPUNIT_LIBS@
CONFIG -= qt
CONFIG += c++14
QMAKE_CXXFLAGS_DEBUG += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
QMAKE_CXXFLAGS_RELEASE += -D__STDC_FORMAT_MACROS -Wall -Wextra -Werror $$(CXXFLAGS)
unix {
CONFIG += warn_on debug
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
prefix = @prefix@
QMAKE_CXX = @CCACHE@ @DISTCC@ $$QMAKE_CXX
freebsd {
# We put /usr/include into INCLUDEPATH to fix a problem compiling
# fwbuilder/snmp.cpp on freebsd.
INCLUDEPATH += /usr/include
}
INCLUDEPATH += @XML_CFLAGS_Q@ @XSLT_CFLAGS_Q@
LIBS += @PTHREAD_LIBS@ @XML_LIBS@ @XSLT_LIBS@ @LIBSNMP_LIBS@ @LIB_RESOLV@ @LIBS@
exec_prefix = @EXEC_PREFIX@
DESTDIR =
target.path = @LIBDIR@
dtd.path = @RES_DIR@/
migration.path = @RES_DIR@/migration
doc.path = @DOCDIR@
}
win32 {
prefix = "c:/tmp/build_root"
DOCDIR = "$$prefix/doc/"
exec_prefix = "$$prefix"
DESTDIR = ""
target.path = "$$prefix/lib"
dtd.path = "$$prefix/resources"
migration.path = "$$prefix/resources/migration"
doc.path = "$$prefix/doc/libfwbuilder"
CONFIG -= debug
CONFIG += thread rtti stl warn_on release
CONFIG += staticlib
DEFINES += LIBXML_STATIC LIBXSLT_STATIC
DEFINES += WIN32_LEAN_AND_MEAN
INCLUDEPATH += $$(TOOLCHAIN_PREFIX)/include $$(TOOLCHAIN_PREFIX)/include/libxml2 $$(TOOLCHAIN_PREFIX)/include/net-snmp /include
LIBS += -L$$(TOOLCHAIN_PREFIX)/lib -L$$(TOOLCHAIN_PREFIX)/bin
# LIBS += ws2_32.lib pthreadVC.lib
LIBS += pthreadVC.lib
LIBS += libxml2.lib libxslt_a.lib libz.a # zlib.lib
}
macx {
prefix = "$$prefix"
DOCDIR = "$$prefix/doc/"
exec_prefix = "$$prefix"
DESTDIR =
# these path definitions are not used since we do not run make install on Mac
# (see fwbuilder.def file where it is defined that we don't do that)
# But I need to assign these variables some value to make qmake happy.
target.path = "$$prefix/lib"
dtd.path = "$$prefix/"
migration.path = "$$prefix/migration"
doc.path = "$$prefix/doc/"
CONFIG -= x86
CONFIG += x86_64
# If I build on 10.6 without these, generated binary depends on
# /usr/lib/libxml2.2.dynlib that has compatibility version 10.0.0
# which does not work on 10.5 where its compatibility version is
# 9.0.0. Chances are, the same thing may be happening with other
# dependency libraries. Building on 10.6 with deployment target 10.5
# should solve the problem
QMAKE_MACOSX_DEPLOYMENT_TARGET = $$(QMAKE_MACOSX_DEPLOYMENT_TARGET)
QMAKE_CXXFLAGS += -mmacosx-version-min=$$(QMAKE_MACOSX_DEPLOYMENT_TARGET) $$(CXXFLAGS)
QMAKE_MAC_SDK = $$(QMAKE_MAC_SDK)
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
}
INSTALLS += target

View File

@ -1,168 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
CONFIG += staticlib
INCLUDEPATH += "../../../../"
#
SOURCES = InetAddr.cpp \
InetAddrMask.cpp \
Inet6AddrMask.cpp \
IPRoute.cpp \
Address.cpp \
AddressRange.cpp \
BackgroundOp.cpp \
Constants.cpp \
CustomService.cpp \
dns.cpp \
Firewall.cpp \
Cluster.cpp \
ClusterGroup.cpp \
FailoverClusterGroup.cpp \
StateSyncClusterGroup.cpp \
FWException.cpp \
FWIntervalReference.cpp \
FWObject.cpp \
FWObjectDatabase.cpp \
FWObjectDatabase_create_object.cpp \
FWObjectDatabase_tree_ops.cpp \
FWObjectDatabase_search.cpp \
FWObjectReference.cpp \
FWOptions.cpp \
FWReference.cpp \
FWServiceReference.cpp \
Group.cpp \
Host.cpp \
ICMPService.cpp \
ICMP6Service.cpp \
Interface.cpp \
InterfaceData.cpp \
Interval.cpp \
IntervalGroup.cpp \
IPService.cpp \
IPv4.cpp \
IPv6.cpp \
Library.cpp \
Logger.cpp \
Management.cpp \
MultiAddress.cpp \
NAT.cpp \
Network.cpp \
NetworkIPv6.cpp \
AttachedNetworks.cpp \
ObjectGroup.cpp \
DynamicGroup.cpp \
physAddress.cpp \
DNSName.cpp\
AddressTable.cpp\
Policy.cpp \
Resources.cpp \
Routing.cpp \
Rule.cpp \
RuleElement.cpp \
RuleSet.cpp \
SecuwallMgmtFile.cpp \
Service.cpp \
ServiceGroup.cpp \
snmp.cpp \
TCPService.cpp \
ThreadTools.cpp \
Tools.cpp \
TCPUDPService.cpp \
UDPService.cpp \
UserService.cpp \
TagService.cpp \
XMLTools.cpp \
ObjectMatcher.cpp \
ObjectMirror.cpp \
inet_net_ntop.c \
inet_net_pton.c \
uint128.cpp
HEADERS = inet_net.h \
uint128.h \
InetAddr.h \
InetAddrMask.h \
Inet6AddrMask.h \
Dispatch.h \
IPRoute.h \
Address.h \
AddressRange.h \
BackgroundOp.h \
Constants.h \
CustomService.h \
dns.h \
Firewall.h \
Cluster.h \
ClusterGroup.h \
FailoverClusterGroup.h \
StateSyncClusterGroup.h \
FWException.h \
FWIntervalReference.h \
FWObjectDatabase.h \
FWObject.h \
FWObjectReference.h \
FWOptions.h \
FWReference.h \
FWServiceReference.h \
Group.h \
Host.h \
ICMPService.h \
ICMP6Service.h \
Interface.h \
InterfaceData.h \
IntervalGroup.h \
Interval.h \
IPService.h \
IPv4.h \
IPv6.h \
libfwbuilder-config.h \
libfwbuilder-version.h \
Library.h \
Logger.h \
Management.h \
MultiAddress.h \
NAT.h \
Network.h \
NetworkIPv6.h \
AttachedNetworks.h \
ObjectGroup.h \
DynamicGroup.h \
physAddress.h \
DNSName.h\
AddressTable.h\
Policy.h \
Pool.h \
Resources.h \
Routing.h \
RuleElement.h \
Rule.h \
RuleSet.h \
SecuwallMgmtFile.h \
ServiceGroup.h \
Service.h \
snmp.h \
SyncQueue.h \
TCPService.h \
ThreadTools.h \
Tools.h \
TCPUDPService.h \
UDPService.h \
UserService.h \
TagService.h \
ObjectMatcher.h \
ObjectMirror.h \
XMLTools.h
TARGET = fwbuilder
# no need to install headers
#headers.files = $$HEADERS
#headers.path = "$$prefix/include/fwb-4/fwbuilder"
#INSTALLS += headers
# and no need to install .a library
INSTALLS -= target

View File

@ -1,45 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
CONFIG += staticlib
INCLUDEPATH += "../../../../"
#
SOURCES = BaseCompiler.cpp \
Compiler.cpp \
Compiler_helpers.cpp \
Compiler_ops.cpp \
Compiler_object_match.cpp \
Preprocessor.cpp \
NATCompiler.cpp \
OSConfigurator.cpp \
PolicyCompiler.cpp \
ServiceRuleProcessors.cpp \
RoutingCompiler.cpp \
GroupRegistry.cpp
HEADERS = BaseCompiler.h \
Compiler.h \
Preprocessor.h \
NATCompiler.h \
OSConfigurator.h \
PolicyCompiler.h \
RuleProcessor.h \
RoutingCompiler.h \
exceptions.h \
GroupRegistry.h
TARGET = fwcompiler
# target.path = "$$prefix/lib"
# no need to install headers in fortress
#headers.files = $$HEADERS
#headers.path = "$$prefix/include/fwb-4/fwcompiler"
#INSTALLS += headers
# and no need to install .a library
INSTALLS -= target

View File

@ -1,10 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
TEMPLATE = subdirs
CONFIG += ordered
TARGET = src
SUBDIRS = fwbuilder fwcompiler

View File

@ -1,634 +0,0 @@
# -*- mode: makefile; tab-width: 4; -*-
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
include(../../qmake.inc)
exists(qmake.inc):include( qmake.inc)
TEMPLATE = lib
CONFIG += staticlib
TARGET = gui
INSTALLS -= target
# This makes gcc compile this header file and store result in
# .obj/fwbuilder.gch/c++. Generated Makefile will also add
# "-include .obj/fwbuilder " to the command line for the compiler
# for every module. There is no need to #include file fwbuilder_ph.h
# in each module since it will be included by means of -include option.
# PRECOMPILED_HEADER = fwbuilder_ph.h
# control whether we build debug or release in ../../qmake.inc
# CONFIG += precompile_header
HEADERS += ../../config.h \
events.h \
FWWindow.h \
ProjectPanel.h \
BaseObjectDialog.h \
TextEditWidget.h \
utils.h \
utils_no_qt.h \
SSHSession.h \
SSHUnx.h \
SSHCisco.h \
SSHPIX.h \
SSHIOS.h \
SSHNXOS.h \
SSHJUNOS.h \
SSHProcurve.h \
debugDialog.h \
findDialog.h \
listOfLibrariesModel.h \
longTextDialog.h \
newGroupDialog.h \
filePropDialog.h \
DialogData.h \
SimpleTextEditor.h \
SimpleIntEditor.h \
TextFileEditor.h \
FWBSettings.h \
FWBTree.h \
RCS.h \
RCSFilePreview.h \
FWObjectClipboard.h \
platforms.h \
global.h \
printerStream.h \
PrintingProgressDialog.h \
PrintingController.h \
FWObjectPropertiesFactory.h \
ObjectManipulator.h \
ObjectEditor.h \
ObjectEditorDockWidget.h \
FWObjectDrag.h \
ObjectTreeView.h \
ObjectListView.h \
ObjectIconView.h \
ObjectTreeViewItem.h \
ObjectSelectorWidget.h \
InstallFirewallViewItem.h \
DialogFactory.h \
HostDialog.h \
FirewallDialog.h \
ClusterDialog.h \
ClusterGroupDialog.h \
InterfaceDialog.h \
AddressRangeDialog.h \
AddressTableDialog.h \
IPv4Dialog.h \
IPv6Dialog.h \
PhysicalAddressDialog.h \
AttachedNetworksDialog.h \
NetworkDialog.h \
NetworkDialogIPv6.h \
UserDialog.h \
RuleSetDialog.h \
LibraryDialog.h \
CustomServiceDialog.h \
IPServiceDialog.h \
ICMPServiceDialog.h \
TCPServiceDialog.h \
UDPServiceDialog.h \
GroupObjectDialog.h \
ObjectIconViewItem.h \
TimeDialog.h \
ColDesc.h \
FWObjectSelectionModel.h \
RuleNode.h \
RuleSetModel.h \
RuleSetView.h \
RuleSetViewDelegate.h \
iptAdvancedDialog.h \
ipcopAdvancedDialog.h \
ipfAdvancedDialog.h \
ipfwAdvancedDialog.h \
pfAdvancedDialog.h \
pixAdvancedDialog.h \
pixosAdvancedDialog.h \
iosaclAdvancedDialog.h \
iosAdvancedDialog.h \
nxosaclAdvancedDialog.h \
nxosAdvancedDialog.h \
junosaclAdvancedDialog.h \
junosAdvancedDialog.h \
ipcoposAdvancedDialog.h \
linux24AdvancedDialog.h \
linksysAdvancedDialog.h \
freebsdAdvancedDialog.h \
openbsdAdvancedDialog.h \
procurveaclAdvancedDialog.h \
solarisAdvancedDialog.h \
macosxAdvancedDialog.h \
secuwallAdvancedDialog.h \
secuwallosAdvancedDialog.h \
secuwallIfaceOptsDialog.h \
vlanOnlyIfaceOptsDialog.h \
linux24IfaceOptsDialog.h \
pixosIfaceOptsDialog.h \
bsdIfaceOptsDialog.h \
clusterMembersDialog.h \
CompilerOutputPanel.h \
CompilerDriverFactory.h \
RuleOptionsDialog.h \
RoutingRuleOptionsDialog.h \
NATRuleOptionsDialog.h \
LibExportDialog.h \
PrefsDialog.h \
instConf.h \
instDialog.h \
FirewallInstaller.h \
FirewallInstallerCisco.h \
FirewallInstallerJuniper.h \
FirewallInstallerProcurve.h \
FirewallInstallerUnx.h \
newFirewallDialog.h \
newClusterDialog.h \
newHostDialog.h \
ObjConflictResolutionDialog.h \
ColorLabelMenuItem.h \
TagServiceDialog.h \
ActionsDialog.h \
SimpleTextView.h \
BlankDialog.h \
DNSNameDialog.h \
instOptionsDialog.h \
instBatchOptionsDialog.h \
FilterDialog.h \
FindObjectWidget.h \
FWObjectDropArea.h \
CommentEditorPanel.h \
MetricEditorPanel.h \
FindWhereUsedWidget.h \
ConfirmDeleteObjectDialog.h \
FakeWizard.h \
AskLibForCopyDialog.h \
FWBAboutDialog.h \
Help.h \
StartTipDialog.h \
vrrpOptionsDialog.h \
carpOptionsDialog.h \
pixFailoverOptionsDialog.h \
conntrackOptionsDialog.h \
heartbeatOptionsDialog.h \
openaisOptionsDialog.h \
pfsyncOptionsDialog.h \
check_update_url.h \
InterfaceEditorWidget.h \
FWCmdBasic.h \
FWCmdChange.h \
FWCmdAddObject.h \
FWCmdDeleteObject.h \
FWCmdMoveObject.h \
InterfacesTabWidget.h \
FirewallSelectorWidget.h \
ClusterInterfacesSelectorWidget.h \
ClusterInterfaceWidget.h \
FWCmdRule.h \
UsageResolver.h \
IconSetter.h \
TutorialDialog.h \
MDIEventFilter.h \
FWBApplication.h \
WorkflowIcons.h \
FirewallCodeViewer.h \
networkZoneManager.h \
KeywordsDialog.h \
CommentKeywords.h \
DynamicGroupDialog.h \
FilterLineEdit.h \
\
ObjectDescriptor.h \
QThreadLogger.h \
\
importAddressListWizard/ChooseObjectsPage.h \
importAddressListWizard/CreateObjectsPage.h \
importAddressListWizard/FileNamePage.h \
importAddressListWizard/SelectLibraryPage.h \
importAddressListWizard/ImportAddressListWizard.h \
importAddressListWizard/HostsFile.h \
\
snmpNetworkDiscoveryWizard/ND_ChooseNetworksPage.h \
snmpNetworkDiscoveryWizard/ND_ChooseObjectsPage.h \
snmpNetworkDiscoveryWizard/ND_ChooseObjectTypePage.h \
snmpNetworkDiscoveryWizard/ND_CreateObjectsPage.h \
snmpNetworkDiscoveryWizard/ND_DiscoveryParametersPage.h \
snmpNetworkDiscoveryWizard/ND_ProgressPage.h \
snmpNetworkDiscoveryWizard/ND_SelectLibraryPage.h \
snmpNetworkDiscoveryWizard/ND_SetupPage.h \
snmpNetworkDiscoveryWizard/ND_SNMPParametersPage.h \
snmpNetworkDiscoveryWizard/SNMPNetworkDiscoveryWizard.h \
snmpNetworkDiscoveryWizard/SNMPCrawlerThread.h \
\
importFirewallConfigurationWizard/IC_FileNamePage.h \
importFirewallConfigurationWizard/IC_FirewallNamePage.h \
importFirewallConfigurationWizard/IC_PlatformWarningPage.h \
importFirewallConfigurationWizard/IC_ProgressPage.h \
importFirewallConfigurationWizard/IC_NetworkZonesPage.h \
importFirewallConfigurationWizard/ImportFirewallConfigurationWizard.h \
importFirewallConfigurationWizard/ImporterThread.h \
RuleSetDiffDialog.h \
RuleSetDiffDelegate.h \
RuleSetDiffModel.h \
BackgroundCompileInfoWidget.h
SOURCES += ProjectPanel.cpp \
ProjectPanel_events.cpp \
ProjectPanel_file_ops.cpp \
ProjectPanel_state_ops.cpp \
BaseObjectDialog.cpp \
FWWindow.cpp \
FWWindow_editor.cpp \
FWWindow_single_rule_compile.cpp \
FWWindow_wrappers.cpp \
FWWindowPrint.cpp \
TextEditWidget.cpp \
ObjectEditorDockWidget.cpp \
ssh_wrappers.cpp \
utils.cpp \
utils_no_qt.cpp \
SSHSession.cpp \
SSHUnx.cpp \
SSHCisco.cpp \
SSHPIX.cpp \
SSHIOS.cpp \
SSHNXOS.cpp \
SSHJUNOS.cpp \
SSHProcurve.cpp \
debugDialog.cpp \
findDialog.cpp \
listOfLibrariesModel.cpp \
longTextDialog.cpp \
newGroupDialog.cpp \
filePropDialog.cpp \
DialogData.cpp \
SimpleTextEditor.cpp \
SimpleIntEditor.cpp \
TextFileEditor.cpp \
FWBSettings.cpp \
FWBTree.cpp \
RCS.cpp \
RCSFilePreview.cpp \
FWObjectClipboard.cpp \
platforms.cpp \
printerStream.cpp \
PrintingProgressDialog.cpp \
PrintingController.cpp \
FWObjectPropertiesFactory.cpp \
ObjectManipulator.cpp \
ObjectManipulator_ops.cpp \
ObjectManipulator_tree_ops.cpp \
ObjectManipulator_create_new.cpp \
ObjectManipulator_slots.cpp \
ObjectManipulator_new_object_checks.cpp \
ObjectEditor.cpp \
FWObjectDrag.cpp \
ObjectTreeView.cpp \
ObjectListView.cpp \
ObjectIconView.cpp \
ObjectSelectorWidget.cpp \
DialogFactory.cpp \
HostDialog.cpp \
FirewallDialog.cpp \
ClusterDialog.cpp \
ClusterGroupDialog.cpp \
InterfaceDialog.cpp \
AddressRangeDialog.cpp \
AddressTableDialog.cpp \
IPv4Dialog.cpp \
IPv6Dialog.cpp \
PhysicalAddressDialog.cpp \
AttachedNetworksDialog.cpp \
NetworkDialog.cpp \
NetworkDialogIPv6.cpp \
UserDialog.cpp \
LibraryDialog.cpp \
CustomServiceDialog.cpp \
IPServiceDialog.cpp \
ICMPServiceDialog.cpp \
TCPServiceDialog.cpp \
UDPServiceDialog.cpp \
GroupObjectDialog.cpp \
TimeDialog.cpp \
RuleSetDialog.cpp \
FWObjectSelectionModel.cpp \
ColDesc.cpp \
RuleNode.cpp \
RuleSetModel.cpp \
RuleSetView.cpp \
RuleSetViewDelegate.cpp \
iptAdvancedDialog.cpp \
ipcopAdvancedDialog.cpp \
ipfAdvancedDialog.cpp \
ipfwAdvancedDialog.cpp \
pfAdvancedDialog.cpp \
pixAdvancedDialog.cpp \
pixosAdvancedDialog.cpp \
iosaclAdvancedDialog.cpp \
iosAdvancedDialog.cpp \
nxosaclAdvancedDialog.cpp \
nxosAdvancedDialog.cpp \
junosaclAdvancedDialog.cpp \
junosAdvancedDialog.cpp \
ipcoposAdvancedDialog.cpp \
linux24AdvancedDialog.cpp \
linksysAdvancedDialog.cpp \
freebsdAdvancedDialog.cpp \
openbsdAdvancedDialog.cpp \
procurveaclAdvancedDialog.cpp \
solarisAdvancedDialog.cpp \
macosxAdvancedDialog.cpp \
secuwallAdvancedDialog.cpp \
secuwallosAdvancedDialog.cpp \
secuwallIfaceOptsDialog.cpp \
vlanOnlyIfaceOptsDialog.cpp \
linux24IfaceOptsDialog.cpp \
pixosIfaceOptsDialog.cpp \
bsdIfaceOptsDialog.cpp \
clusterMembersDialog.cpp \
CompilerOutputPanel.cpp \
CompilerDriverFactory.cpp \
RuleOptionsDialog.cpp \
RoutingRuleOptionsDialog.cpp \
NATRuleOptionsDialog.cpp \
LibExportDialog.cpp \
PrefsDialog.cpp \
instConf.cpp \
instDialog.cpp \
instDialog_ui_ops.cpp \
instDialog_compile.cpp \
instDialog_installer.cpp \
FirewallInstaller.cpp \
FirewallInstallerCisco.cpp \
FirewallInstallerJuniper.cpp \
FirewallInstallerProcurve.cpp \
FirewallInstallerUnx.cpp \
newFirewallDialog.cpp \
newFirewallDialog_from_template.cpp \
newClusterDialog.cpp \
newClusterDialog_create.cpp \
newHostDialog.cpp \
ObjConflictResolutionDialog.cpp \
ColorLabelMenuItem.cpp \
TagServiceDialog.cpp \
ActionsDialog.cpp \
SimpleTextView.cpp \
BlankDialog.cpp \
DNSNameDialog.cpp \
ObjectTreeViewItem.cpp \
InstallFirewallViewItem.cpp \
instOptionsDialog.cpp \
instBatchOptionsDialog.cpp \
FilterDialog.cpp \
FindObjectWidget.cpp \
FWObjectDropArea.cpp \
CommentEditorPanel.cpp \
MetricEditorPanel.cpp \
FindWhereUsedWidget.cpp \
ConfirmDeleteObjectDialog.cpp \
FakeWizard.cpp \
AskLibForCopyDialog.cpp \
ObjectListViewItem.cpp \
Help.cpp \
StartTipDialog.cpp \
FWBAboutDialog.cpp \
vrrpOptionsDialog.cpp \
carpOptionsDialog.cpp \
pixFailoverOptionsDialog.cpp \
conntrackOptionsDialog.cpp \
pfsyncOptionsDialog.cpp \
heartbeatOptionsDialog.cpp \
openaisOptionsDialog.cpp \
InterfaceEditorWidget.cpp \
FWCmdBasic.cpp \
FWCmdChange.cpp \
FWCmdAddObject.cpp \
FWCmdDeleteObject.cpp \
FWCmdMoveObject.cpp \
InterfacesTabWidget.cpp \
FirewallSelectorWidget.cpp \
ClusterInterfacesSelectorWidget.cpp \
ClusterInterfaceWidget.cpp \
FWCmdRule.cpp \
IconSetter.cpp \
UsageResolver.cpp \
TutorialDialog.cpp \
MDIEventFilter.cpp \
FWBApplication.cpp \
WorkflowIcons.cpp \
FirewallCodeViewer.cpp \
networkZoneManager.cpp \
KeywordsDialog.cpp \
CommentKeywords.cpp \
DynamicGroupDialog.cpp \
FilterLineEdit.cpp \
\
ObjectDescriptor.cpp \
QThreadLogger.cpp \
\
importAddressListWizard/ChooseObjectsPage.cpp \
importAddressListWizard/CreateObjectsPage.cpp \
importAddressListWizard/FileNamePage.cpp \
importAddressListWizard/SelectLibraryPage.cpp \
importAddressListWizard/ImportAddressListWizard.cpp \
importAddressListWizard/HostsFile.cpp \
\
snmpNetworkDiscoveryWizard/ND_ChooseNetworksPage.cpp \
snmpNetworkDiscoveryWizard/ND_ChooseObjectsPage.cpp \
snmpNetworkDiscoveryWizard/ND_ChooseObjectTypePage.cpp \
snmpNetworkDiscoveryWizard/ND_CreateObjectsPage.cpp \
snmpNetworkDiscoveryWizard/ND_DiscoveryParametersPage.cpp \
snmpNetworkDiscoveryWizard/ND_ProgressPage.cpp \
snmpNetworkDiscoveryWizard/ND_SelectLibraryPage.cpp \
snmpNetworkDiscoveryWizard/ND_SetupPage.cpp \
snmpNetworkDiscoveryWizard/ND_SNMPParametersPage.cpp \
snmpNetworkDiscoveryWizard/SNMPNetworkDiscoveryWizard.cpp \
snmpNetworkDiscoveryWizard/SNMPCrawlerThread.cpp \
\
importFirewallConfigurationWizard/IC_FileNamePage.cpp \
importFirewallConfigurationWizard/IC_FirewallNamePage.cpp \
importFirewallConfigurationWizard/IC_PlatformWarningPage.cpp \
importFirewallConfigurationWizard/IC_ProgressPage.cpp \
importFirewallConfigurationWizard/IC_NetworkZonesPage.cpp \
importFirewallConfigurationWizard/ImportFirewallConfigurationWizard.cpp \
importFirewallConfigurationWizard/ImporterThread.cpp \
RuleSetDiffDialog.cpp \
RuleSetDiffDelegate.cpp \
RuleSetDiffModel.cpp \
BackgroundCompileInfoWidget.cpp
FORMS = FWBMainWindow_q.ui \
compileroutputpanel_q.ui \
customservicedialog_q.ui \
ipservicedialog_q.ui \
icmpservicedialog_q.ui \
tcpservicedialog_q.ui \
udpservicedialog_q.ui \
groupobjectdialog_q.ui \
librarydialog_q.ui \
ipv4dialog_q.ui \
ipv6dialog_q.ui \
rulesetdialog_q.ui \
addressrangedialog_q.ui \
addresstabledialog_q.ui \
attachednetworksdialog_q.ui \
networkdialog_q.ui \
networkdialogipv6_q.ui \
userdialog_q.ui \
hostdialog_q.ui \
firewalldialog_q.ui \
clusterdialog_q.ui \
clustergroupdialog_q.ui \
interfacedialog_q.ui \
physaddressdialog_q.ui \
timedialog_q.ui \
rcsfilepreview_q.ui \
rcsfilesavedialog_q.ui \
iptadvanceddialog_q.ui \
ipcopadvanceddialog_q.ui \
ipcoposadvanceddialog_q.ui \
objectmanipulator_q.ui \
prefsdialog_q.ui \
pixadvanceddialog_q.ui \
pixosadvanceddialog_q.ui \
iosacladvanceddialog_q.ui \
iosadvanceddialog_q.ui \
nxosacladvanceddialog_q.ui \
nxosadvanceddialog_q.ui \
junosacladvanceddialog_q.ui \
junosadvanceddialog_q.ui \
procurveacladvanceddialog_q.ui \
simpletexteditor_q.ui \
simpleinteditor_q.ui \
textfileeditor_q.ui \
aboutdialog_q.ui \
libexport_q.ui \
ruleoptionsdialog_q.ui \
routingruleoptionsdialog_q.ui \
instdialog_q.ui \
objconflictresolutiondialog_q.ui \
newfirewalldialog_q.ui \
newclusterdialog_q.ui \
finddialog_q.ui \
ipfadvanceddialog_q.ui \
ipfwadvanceddialog_q.ui \
pfadvanceddialog_q.ui \
linux24advanceddialog_q.ui \
solarisadvanceddialog_q.ui \
freebsdadvanceddialog_q.ui \
openbsdadvanceddialog_q.ui \
macosxadvanceddialog_q.ui \
secuwalladvanceddialog_q.ui \
secuwallosadvanceddialog_q.ui \
secuwallifaceoptsdialog_q.ui \
clustermembersdialog_q.ui \
bsdifaceoptsdialog_q.ui \
colorlabelmenuitem_q.ui \
debugdialog_q.ui \
filepropdialog_q.ui \
askrulenumberdialog_q.ui \
newgroupdialog_q.ui \
newhostdialog_q.ui \
longtextdialog_q.ui \
linksysadvanceddialog_q.ui \
printingprogressdialog_q.ui \
pagesetupdialog_q.ui \
blankdialog_q.ui \
dnsnamedialog_q.ui \
tagservicedialog_q.ui \
actionsdialog_q.ui \
simpletextview_q.ui \
helpview_q.ui \
filterdialog_q.ui \
natruleoptionsdialog_q.ui \
instoptionsdialog_q.ui \
findobjectwidget_q.ui \
fwobjectdroparea_q.ui \
commenteditorpanel_q.ui \
metriceditorpanel_q.ui \
findwhereusedwidget_q.ui \
confirmdeleteobjectdialog_q.ui \
projectpanel_q.ui \
asklibforcopydialog_q.ui \
starttipdialog_q.ui \
vrrpoptionsdialog_q.ui \
carpoptionsdialog_q.ui \
pixfailoveroptionsdialog_q.ui \
conntrackoptionsdialog_q.ui \
heartbeatoptionsdialog_q.ui \
openaisoptionsdialog_q.ui \
pfsyncoptionsdialog_q.ui \
vlanonlyifaceoptsdialog_q.ui \
linux24ifaceoptsdialog_q.ui \
pixosifaceoptsdialog_q.ui \
InterfaceEditorWidget.ui \
InterfacesTabWidget.ui \
ClusterInterfaceWidget.ui \
TutorialDialog.ui \
WorkflowIcons.ui \
FirewallCodeViewer.ui \
objectselectorwidget_q.ui \
keywordsdialog_q.ui \
commentkeywords_q.ui \
dynamicgroupdialog_q.ui \
\
importAddressListWizard/chooseobjectspage_q.ui \
importAddressListWizard/createobjectspage_q.ui \
importAddressListWizard/filenamepage_q.ui \
importAddressListWizard/selectlibrarypage_q.ui \
\
snmpNetworkDiscoveryWizard/nd_choosenetworkspage_q.ui \
snmpNetworkDiscoveryWizard/nd_chooseobjectspage_q.ui \
snmpNetworkDiscoveryWizard/nd_chooseobjecttypepage_q.ui \
snmpNetworkDiscoveryWizard/nd_createobjectspage_q.ui \
snmpNetworkDiscoveryWizard/nd_discoveryparameterspage_q.ui \
snmpNetworkDiscoveryWizard/nd_progresspage_q.ui \
snmpNetworkDiscoveryWizard/nd_selectlibrarypage_q.ui \
snmpNetworkDiscoveryWizard/nd_setuppage_q.ui \
snmpNetworkDiscoveryWizard/nd_snmpparameterspage_q.ui \
\
importFirewallConfigurationWizard/ic_filenamepage_q.ui \
importFirewallConfigurationWizard/ic_firewallnamepage_q.ui \
importFirewallConfigurationWizard/ic_platformwarningpage_q.ui \
importFirewallConfigurationWizard/ic_progresspage_q.ui \
importFirewallConfigurationWizard/ic_networkzonespage_q.ui \
rulesetdiffdialog_q.ui
# fwtransfer stuff.
# HEADERS += transferDialog.h
# SOURCES += transferDialog.cpp
# FORMS += transferdialog_q.ui
# !macx:LIBS += -lQtDBus # workaround for QT += dbus not working with Qt < 4.4.0
INCLUDEPATH += \
../.. \
../import \
../iptlib \
../pflib \
../cisco_lib \
../juniper_lib \
../compiler_lib \
../libfwbuilder/src
DEPENDPATH += \
../import \
../iptlib \
../pflib \
../cisco_lib/ \
../juniper_lib \
../compiler_lib \
../libfwbuilder/src
RESOURCES += MainRes.qrc
win32 {
# add "." to include path to make sure #include works when we
# compile modules in subdirectories, such as
# importAddressListWizard and other wizards. This seems to only be
# necessary on Windows
INCLUDEPATH += .
}

View File

@ -1,34 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
#
#
# PACKAGE = fwbuilder-nxosacl-$$FWB_VERSION
#
# QMAKE_CXXFLAGS_DEBUG += -DPACKAGE="\"$$PACKAGE\""
# QMAKE_CXXFLAGS_RELEASE += -DPACKAGE="\"$$PACKAGE\""
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = nxosacl.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755 -s
}
win32:CONFIG += console
INCLUDEPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../cisco_lib/$$BINARY_SUBDIR/libfwbcisco.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_nxosacl

View File

@ -1,42 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = IOSCfgLexer.cpp \
IOSCfgParser.cpp \
IPTCfgLexer.cpp \
IPTCfgParser.cpp \
PIXCfgLexer.cpp \
PIXCfgParser.cpp \
PFCfgLexer.cpp \
PFCfgParser.cpp \
HEADERS = ../../config.h \
IOSCfgLexer.hpp \
IOSCfgParser.hpp \
IOSCfgParserTokenTypes.hpp \
IPTCfgLexer.hpp \
IPTCfgParser.hpp \
IPTCfgParserTokenTypes.hpp \
PIXCfgLexer.hpp \
PIXCfgParser.hpp \
PIXCfgParserTokenTypes.hpp \
PFCfgLexer.hpp \
PFCfgParser.hpp \
PFCfgParserTokenTypes.hpp \
CONFIG += staticlib
INCLUDEPATH += $$ANTLR_INCLUDEPATH ../import ../libfwbuilder/src
DEPENDPATH += $$ANTLR_INCLUDEPATH ../import ../libfwbuilder/src
LIBS += $$ANTLR_LIBS
DEFINES += $$ANTLR_DEFINES
TARGET = fwbparser
INSTALLS -= target

View File

@ -1,29 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT -= gui
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES = pf.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32:CONFIG += console
INCLUDEPATH += ../pflib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../pflib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../pflib/$$BINARY_SUBDIR/libfwbpf.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_pf

View File

@ -1,77 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
#
TEMPLATE = lib
#
SOURCES = TableFactory.cpp \
Preprocessor_pf.cpp \
NATCompiler_ipf.cpp \
NATCompiler_ipfw.cpp \
NATCompiler_ipf_writers.cpp \
NATCompiler_ipfw_writers.cpp \
NATCompiler_pf.cpp \
NATCompiler_pf_negation.cpp \
NATCompiler_pf_writers.cpp \
OSConfigurator_bsd.cpp \
OSConfigurator_bsd_interfaces.cpp \
OSConfigurator_freebsd.cpp \
OSConfigurator_macosx.cpp \
OSConfigurator_openbsd.cpp \
OSConfigurator_solaris.cpp \
OSData.cpp \
PolicyCompiler_ipf.cpp \
PolicyCompiler_ipf_optimizer.cpp \
PolicyCompiler_ipfw.cpp \
PolicyCompiler_ipf_writers.cpp \
PolicyCompiler_ipfw_writers.cpp \
PolicyCompiler_pf.cpp \
PolicyCompiler_pf_writers.cpp \
CompilerDriver_pf.cpp \
CompilerDriver_pf_run.cpp \
CompilerDriver_ipf.cpp \
CompilerDriver_ipf_run.cpp \
CompilerDriver_ipfw.cpp \
CompilerDriver_ipfw_run.cpp \
RoutingCompiler_openbsd.cpp \
RoutingCompiler_openbsd_writers.cpp \
RoutingCompiler_freebsd.cpp \
RoutingCompiler_freebsd_writers.cpp \
AutomaticRules_pf.cpp
HEADERS = ../../config.h \
OSData.h \
TableFactory.h \
Preprocessor_pf.h \
NATCompiler_ipf.h \
NATCompiler_ipfw.h \
NATCompiler_pf.h \
OSConfigurator_bsd.h \
OSConfigurator_freebsd.h \
OSConfigurator_macosx.h \
OSConfigurator_openbsd.h \
OSConfigurator_solaris.h \
PolicyCompiler_ipf.h \
PolicyCompiler_ipfw.h \
PolicyCompiler_pf.h \
CompilerDriver_pf.h \
CompilerDriver_ipf.h \
CompilerDriver_ipfw.h \
RoutingCompiler_openbsd.h \
RoutingCompiler_freebsd.h \
AutomaticRules_pf.h
macx:LIBS += $$LIBS_FWCOMPILER
INCLUDEPATH += ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../compiler_lib ../libfwbuilder/src
win32:PRE_TARGETDEPS = ../compiler_lib/release/libcompilerdriver.a
!win32:PRE_TARGETDEPS = ../compiler_lib/libcompilerdriver.a
CONFIG += staticlib
TARGET = fwbpf
INSTALLS -= target

View File

@ -1,28 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
include(../../qmake.inc)
QT -= gui
SOURCES = pix.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755
}
win32:CONFIG += console
INCLUDEPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../cisco_lib/$$BINARY_SUBDIR/libfwbcisco.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_pix

View File

@ -1,35 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
include(../../qmake.inc)
QT -= gui
#
#
# PACKAGE = fwbuilder-procurve_acl-$$FWB_VERSION
#
# QMAKE_CXXFLAGS_DEBUG += -DPACKAGE="\"$$PACKAGE\""
# QMAKE_CXXFLAGS_RELEASE += -DPACKAGE="\"$$PACKAGE\""
SOURCES = procurve_acl.cpp
HEADERS = ../../config.h
!win32 {
QMAKE_COPY = ../../install.sh -m 0755 -s
}
win32:CONFIG += console
INCLUDEPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
DEPENDPATH += ../cisco_lib ../compiler_lib ../libfwbuilder/src
PRE_TARGETDEPS = ../common/$$BINARY_SUBDIR/libcommon.a \
../cisco_lib/$$BINARY_SUBDIR/libfwbcisco.a \
../compiler_lib/$$BINARY_SUBDIR/libcompilerdriver.a \
../libfwbuilder/src/fwcompiler/$$BINARY_SUBDIR/libfwcompiler.a \
../libfwbuilder/src/fwbuilder/$$BINARY_SUBDIR/libfwbuilder.a \
LIBS += $$PRE_TARGETDEPS $$LIBS
TARGET = fwb_procurve_acl

View File

@ -1,84 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
TEMPLATE = aux
win32 {
CONFIG -= embed_manifest_exe
CONFIG -= debug
QMAKE_RUN_CC = echo
QMAKE_RUN_CXX = echo
QMAKE_LINK = echo
}
!win32 {
QMAKE_RUN_CC = @echo > /dev/null
QMAKE_RUN_CXX = @echo > /dev/null
QMAKE_LINK = @echo > /dev/null
}
TARGET = res
win32:target.path = $$PREFIX/
unix:target.path = $$PREFIX/share/fwbuilder/
macx:target.path = $$PREFIX/
res.files = objects_init.xml templates.xml resources.xml
res_os.files = os/*.xml
res_platform.files = platform/*.xml
res_help_en_US.files = help/en_US/*.html help/en_US/*.png help/en_US/*.jpg
res_configlets.files = configlets/*
INSTALLS -= target
INSTALLS += res
INSTALLS += res_os
INSTALLS += res_platform
INSTALLS += res_help_en_US
INSTALLS += res_configlets
unix {
!macx {
res_desktop.files = fwbuilder.desktop
INSTALLS += res_desktop
!isEmpty(ICONSDIR) {
app_icon_16x16.files = Icons/16x16/fwbuilder.png
app_icon_16x16.path = $$ICONSDIR/16x16/apps
INSTALLS += app_icon_16x16
app_icon_24x24.files = Icons/24x24/fwbuilder.png
app_icon_24x24.path = $$ICONSDIR/24x24/apps
INSTALLS += app_icon_24x24
app_icon_32x32.files = Icons/32x32/fwbuilder.png
app_icon_32x32.path = $$ICONSDIR/32x32/apps
INSTALLS += app_icon_32x32
app_icon_48x48.files = Icons/48x48/fwbuilder.png
app_icon_48x48.path = $$ICONSDIR/48x48/apps
INSTALLS += app_icon_48x48
app_icon_72x72.files = Icons/72x72/fwbuilder.png
app_icon_72x72.path = $$ICONSDIR/72x72/apps
INSTALLS += app_icon_72x72
app_icon_128x128.files = Icons/128x128/fwbuilder.png
app_icon_128x128.path = $$ICONSDIR/128x128/apps
INSTALLS += app_icon_128x128
app_icon_256x256.files = Icons/256x256/fwbuilder.png
app_icon_256x256.path = $$ICONSDIR/256x256/apps
INSTALLS += app_icon_256x256
app_icon_512x512.files = Icons/512x512/fwbuilder.png
app_icon_512x512.path = $$ICONSDIR/512x512/apps
INSTALLS += app_icon_512x512
}
}
}

View File

@ -1,35 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
#
include(../qmake.inc)
TEMPLATE = subdirs
CONFIG += ordered debug
TARGET = src
SUBDIRS = libfwbuilder \
res \
antlr \
parsers \
import \
common \
compiler_lib \
iptlib \
ipt \
pflib \
pf \
ipf \
ipfw \
cisco_lib \
nxosacl \
iosacl \
pix \
procurve_acl \
juniper_lib \
junosacl \
libgui \
fwbedit \
gui \

View File

@ -1,34 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
win32 {
QMAKE_RUN_CC = @echo
QMAKE_RUN_CXX = @echo
QMAKE_LINK = @echo
}
unix {
QMAKE_RUN_CC = @true
QMAKE_RUN_CXX = @true
QMAKE_LINK = @true
}
macx {
QMAKE_RUN_CC = @true
QMAKE_RUN_CXX = @true
QMAKE_LINK = @true
}
TARGET = tools
win32:tools.path = $$target.path
unix:tools.path = $$target.path
macx:tools.path = $$target.path
tools.files = fwb_install fwb_compile_all
INSTALLS -= target
INSTALLS += tools

View File

@ -1,11 +0,0 @@
#!/bin/sh
QMAKE="${QMAKE:-qmake}"
QMAKEPARAMS="${QMAKESPEC:+ -spec $QMAKESPEC}"
set -e
find . -mindepth 1 -type d -name unit_tests | while read directory
do
echo "===> Running tests in $directory"
(cd $directory && $QMAKE $QMAKEPARAMS && "$@")
done