1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-06-23 17:39:35 +02:00

Remove QMake files

This commit is contained in:
Sirius Bakke
2020-02-23 23:56:08 +01:00
parent 65601660ec
commit 79d6d5cf79
50 changed files with 0 additions and 675 deletions

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = AddressRangeDialogTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += AddressRangeDialogTest.cpp \
main_AddressRangeDialogTest.cpp
HEADERS += AddressRangeDialogTest.h

View File

@@ -1,22 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = AddressTableTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp AddressTableTest.cpp
HEADERS += AddressTableTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = CustomServiceDialogTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main_CustomServiceDialogTest.cpp \
CustomServiceDialogTest.cpp
HEADERS += CustomServiceDialogTest.h

View File

@@ -1,22 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = DNSTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp DNSTest.cpp
HEADERS += DNSTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += gui network
TARGET = FWBTreeTest
SOURCES += main_FWBTreeTest.cpp \
FWBTreeTest.cpp
HEADERS += FWBTreeTest.h

View File

@@ -1,21 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = FWObjectTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp FWObjectTest.cpp
HEADERS += FWObjectTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = FWWindowTest
HEADERS += FWWindowTest.h
SOURCES += main_FWWindowTest.cpp \
FWWindowTest.cpp

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = FirewallDialogTest
SOURCES += main_FirewallDialogTest.cpp \
FirewallDialogTest.cpp
HEADERS += FirewallDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = GroupObjectDialogTest
SOURCES += main_GroupObjectDialogTest.cpp \
GroupObjectDialogTest.cpp
HEADERS += GroupObjectDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = ICMP6ServiceDialogTest
SOURCES += main_ICMP6ServiceDialogTest.cpp \
ICMP6ServiceDialogTest.cpp
HEADERS += ICMP6ServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = ICMPServiceDialogTest
SOURCES += main_ICMPServiceDialogTest.cpp \
ICMPServiceDialogTest.cpp
HEADERS += ICMPServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = IPDialogTest
SOURCES += main_IPDialogTest.cpp \
IPDialogTest.cpp
HEADERS += IPDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = IPServiceDialogTest
SOURCES += main_IPServiceDialogTest.cpp \
IPServiceDialogTest.cpp
HEADERS += IPServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += widgets printsupport
TARGET = ImporterTest
HEADERS += ImporterTest.h
SOURCES += main_ImporterTest.cpp \
ImporterTest.cpp

View File

@@ -1,21 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = Inet6AddrMaskTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp Inet6AddrMaskTest.cpp
HEADERS += Inet6AddrMaskTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,21 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = InetAddrMaskTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp InetAddrMaskTest.cpp
HEADERS += InetAddrMaskTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = InterfaceDialogTest
SOURCES += main_InterfaceDialogTest.cpp \
InterfaceDialogTest.cpp
HEADERS += InterfaceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = NetworkDialogTests
SOURCES += main_NetworkDialogTest.cpp \
NetworkDialogTest.cpp
HEADERS += NetworkDialogTest.h

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = ObjectManipulatorTest
SOURCES += main_ObjectManipulatorTest.cpp \
ObjectManipulatorTest.cpp
HEADERS += ObjectManipulatorTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,21 +0,0 @@
include(../../../qmake.inc)
QT -= core gui
TARGET = ObjectMatcherTest
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
LIBS += $$CPPUNIT_LIBS
SOURCES += main.cpp ObjectMatcherTest.cpp
HEADERS += ObjectMatcherTest.h
INCLUDEPATH += ../../.. ../../libfwbuilder/src
DEPENDPATH += ../../libfwbuilder/src
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
run_tests.commands = echo "Running tests..." && ./${TARGET}
run_tests.depends = all
clean_tests.depends = clean
build_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += widgets printsupport
TARGET = PFImporterTest
HEADERS += PFImporterTest.h
SOURCES += main_PFImporterTest.cpp \
PFImporterTest.cpp

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += widgets printsupport
TARGET = PIXImporterTest
HEADERS += PIXImporterTest.h
SOURCES += main_PIXImporterTest.cpp \
PIXImporterTest.cpp

View File

@@ -1,8 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS += RCSTest.h
SOURCES += main_RCS.cpp \
RCSTest.cpp
TARGET = RCSTest

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = RuleSetViewContextMenuTest
SOURCES += main_RuleSetViewContextMenuTest.cpp \
RuleSetViewContextMenuTest.cpp
HEADERS += RuleSetViewContextMenuTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = RuleSetViewTest
SOURCES += main_RuleSetViewTest.cpp \
RuleSetViewTest.cpp
HEADERS += RuleSetViewTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = TCPServiceDialogTest
SOURCES += main_TCPServiceDialogTest.cpp \
TCPServiceDialogTest.cpp
HEADERS += TCPServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = TagServiceDialogTest
SOURCES += main_TagServiceDialogTest.cpp \
TagServiceDialogTest.cpp
HEADERS += TagServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = UDPServiceDialogTest
SOURCES += main_UDPServiceDialogTest.cpp \
UDPServiceDialogTest.cpp
HEADERS += UDPServiceDialogTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += gui network
TARGET = UsageResolverTest
SOURCES += main_UsageResolverTest.cpp \
UsageResolverTest.cpp
HEADERS += UsageResolverTest.h

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = UserServiceDialogTest
SOURCES += main_UserServiceDialogTest.cpp \
UserServiceDialogTest.cpp
HEADERS += UserServiceDialogTest.h

View File

@@ -1,10 +0,0 @@
TEMPLATE = app
LANGUAGE = bash
CONFIG += console
CONFIG -= app_bundle
TARGET = commandLinePrintingTest
run_tests.commands = echo "Running tests..." && ./${TARGET} && echo "OK" || echo "FAILED"
run_tests.depends = build_tests
clean_tests.commands = rm -f print.pdf
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@@ -1,5 +0,0 @@
include(../tests_common.pri)
TARGET = interfacePropertiesTest
SOURCES = interfacePropertiesTest.cpp tests_main.cpp
HEADERS = interfacePropertiesTest.h

View File

@@ -1,15 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS = generatedScriptTestsIpfilter.h
SOURCES = main_generatedScriptTestsIpfilter.cpp \
generatedScriptTestsIpfilter.cpp
TARGET = generatedScriptTestsIpfilter
run_tests.commands = echo "Running tests..." && \
rm -f *.fw *.conf && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }

View File

@@ -1,15 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS = generatedScriptTestsIpfw.h
SOURCES = main_generatedScriptTestsIpfw.cpp \
generatedScriptTestsIpfw.cpp
TARGET = generatedScriptTestsIpfw
run_tests.commands = echo "Running tests..." && \
rm -f *.fw *.conf && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }

View File

@@ -1,12 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS = generatedScriptTestsLinux.h
SOURCES = main_generatedScriptTestsLinux.cpp \
generatedScriptTestsLinux.cpp
TARGET = generatedScriptTestsLinux
run_tests.commands = echo "Running tests..." && \
rm -f *.fw && \
./${TARGET}

View File

@@ -1,14 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS = generatedScriptTestsPF.h
SOURCES = main_generatedScriptTestsPF.cpp \
generatedScriptTestsPF.cpp
TARGET = generatedScriptTestsPF
run_tests.commands = echo "Running tests..." && \
rm -f *.fw *.conf tmp/*.fw tmp/*.conf && \
mkdir -p tmp && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }

View File

@@ -1,21 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS = generatedScriptTestsSecuwall.h
SOURCES = main_generatedScriptTestsSecuwall.cpp \
generatedScriptTestsSecuwall.cpp
TARGET = generatedScriptTestsSecuwall
run_tests.commands = echo "Running tests..." && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }
build_tests.commands = @tar -zxf ./ref.secuwall-1.tar.gz
clean_tests.commands = @rm -rf ./secuwall-* && \
rm -rf ./ref.secuwall-1 && \
rm -f ${TARGET}
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = genericDialogTest
SOURCES += main_genericDialogTest.cpp \
genericDialogTest.cpp
HEADERS += genericDialogTest.h

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = instDialogClusterTest
SOURCES += main_instDialogClusterTest.cpp \
instDialogClusterTest.cpp
HEADERS += instDialogClusterTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = instDialogCompileTest
SOURCES += main_instDialogCompileTest.cpp \
instDialogCompileTest.cpp
HEADERS += instDialogCompileTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = instDialogInspectTest
SOURCES += main_instDialogInspectTest.cpp \
instDialogInspectTest.cpp
HEADERS += instDialogInspectTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = instDialogInstallTest
SOURCES += main_instDialogInstallTest.cpp \
instDialogInstallTest.cpp
HEADERS += instDialogInstallTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,11 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = instDialogObjectListTest
SOURCES += main_instDialogObjectListTest.cpp \
instDialogObjectListTest.cpp
HEADERS += instDialogObjectListTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,47 +0,0 @@
# -*- mode: makefile; tab-width: 4; -*-
include(../../../qmake.inc)
OBJECTS_DIR = .obj
MOC_DIR = .moc
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
CONFIG -= release
CONFIG += debug
INCLUDEPATH += ../../.. \
../.. \
../../libfwbuilder/src \
../../libgui \
../../libgui/.ui \
../../compiler_lib \
../../common
DEPENDPATH += ../../.. \
../.. \
../../libfwbuilder/src \
../../libgui \
../../libgui/.ui \
../../compiler_lib \
../../common
QT += testlib network gui widgets printsupport
TEMPLATE = lib
CONFIG += staticlib
TARGET = test_main
INSTALLS -= target
SOURCES += main.cpp
run_tests.commands = echo ""
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = clean
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@@ -1,13 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = newClusterDialogTest
SOURCES += main_newClusterDialogTest.cpp \
newClusterDialogTest.cpp
HEADERS += newClusterDialogTest.h
run_tests.commands = cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm -f test_work.fwb

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += gui widgets printsupport network
HEADERS += parseCommandLineTest.h
SOURCES += main_parseCommandLineTest.cpp parseCommandLineTest.cpp
TARGET = parseCommandLineTest

View File

@@ -1,7 +0,0 @@
include(../tests_common.pri)
QT += testlib network gui widgets printsupport
TARGET = startTipDialogTest
HEADERS += startTipDialogTest.h
SOURCES += main_startTipDialogTest.cpp \
startTipDialogTest.cpp

View File

@@ -1,93 +0,0 @@
#-*- mode: makefile; tab-width: 4; -*-
#
include(../../qmake.inc)
QT += network
OBJECTS_DIR = .obj
MOC_DIR = .moc
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
CONFIG -= release
CONFIG += debug
INCLUDEPATH += ../../.. \
../.. \
../../common \
../../parsers \
../../import \
../../compiler_lib \
../../libgui \
../../libgui/.ui \
../../iptlib \
../../pflib \
../../cisco_lib \
../../juniper_lib \
../../libfwbuilder/src
DEPENDPATH += ../../.. \
../.. \
../../common \
../../parsers \
../../import \
../../compiler_lib \
../../libgui \
../../libgui/.ui \
../../iptlib \
../../pflib \
../../cisco_lib \
../../juniper_lib \
../../libfwbuilder/src
run_tests.commands = echo "Running tests..."; ./${TARGET}
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = clean
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
INCLUDEPATH += $$ANTLR_INCLUDEPATH
DEPENDPATH += $$ANTLR_INCLUDEPATH
DEFINES += $$ANTLR_DEFINES
DEPENDPATH = ../../common \
../../iptlib \
../../pflib \
../../cisco_lib/ \
../../juniper_lib/ \
../../compiler_lib \
../../libgui \
../../libfwbuilder/src/fwbuilder \
../../libfwbuilder/src/fwcompiler
STATIC_LIBS += \
../main/libtest_main.a \
../../libgui/libgui.a \
../../import/libimport.a \
../../common/libcommon.a \
../../iptlib/libiptlib.a \
../../pflib/libfwbpf.a \
../../cisco_lib/libfwbcisco.a \
../../juniper_lib/libfwbjuniper.a \
../../compiler_lib/libcompilerdriver.a \
../../libfwbuilder/src/fwcompiler/libfwcompiler.a \
../../libfwbuilder/src/fwbuilder/libfwbuilder.a \
../../parsers/libfwbparser.a \
$$ANTLR_LIBS \
$$CPPUNIT_LIBS
PRE_TARGETDEPS += ../../common/libcommon.a \
../main/libtest_main.a \
../../iptlib/libiptlib.a \
../../pflib/libfwbpf.a \
../../cisco_lib/libfwbcisco.a \
../../juniper_lib/libfwbjuniper.a \
../../compiler_lib/libcompilerdriver.a \
../../parsers/libfwbparser.a \
../../import/libimport.a \
../../libfwbuilder/src/fwcompiler/libfwcompiler.a \
../../libfwbuilder/src/fwbuilder/libfwbuilder.a \
$$ANTLR_LIBS
LIBS = $$STATIC_LIBS $$LIBS

View File

@@ -1,15 +0,0 @@
DOLLAR = $
libgui.target = ../libgui/libgui.a
libgui.commands = cd ../libgui && qmake -spec $$QMAKESPEC && make && cd -
build_tests.commands = ./unit_tests.sh make build_tests
run_tests.commands = ./unit_tests.sh make run_tests
clean_tests.commands = ./unit_tests.sh make clean
build_tests.depends = libgui
run_tests.depends = libgui
QMAKE_EXTRA_TARGETS += libgui run_tests clean_tests build_tests

View File

@@ -1,25 +0,0 @@
#!/bin/sh
QMAKE="${QMAKE:-qmake}"
QMAKEPARAMS="${QMAKESPEC:+ -spec $QMAKESPEC}"
set -e
build() {
local _d="$1"
shift
(
cd "$_d" && $QMAKE $QMAKEPARAMS && "$@"
)
}
build main "$@"
find . -maxdepth 1 -type d |
egrep -- '^\./[A-Za-z0-9_-]*$' |
while read _d
do
echo "======================= $_d"
build "$_d" "$@"
done