mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 09:47:20 +01:00
minor clean up
This commit is contained in:
parent
a95ea92b96
commit
225cc320b7
22
configure.in
22
configure.in
@ -157,12 +157,12 @@ 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)
|
||||
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
|
||||
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
|
||||
@ -174,18 +174,6 @@ case "$build_os" in
|
||||
*solaris*)
|
||||
GUILINKFLAGS="-export-dynamic"
|
||||
;;
|
||||
*darwin*)
|
||||
if test -d /sw/include; then
|
||||
CXXFLAGS="-I/sw/include"
|
||||
CPPFLAGS="-I/sw/include"
|
||||
CFLAGS="-I/sw/include"
|
||||
LDFLAGS="-flat_namespace"
|
||||
fi
|
||||
LIBS="$LIBS -L/sw/lib"
|
||||
AC_CHECK_LIB(poll, poll, [LIBS="$LIBS -lpoll"],[
|
||||
AC_MSG_ERROR([Could not link with libpoll: library is not installed on this system])
|
||||
])
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(GUILINKFLAGS)
|
||||
|
||||
|
||||
@ -66,9 +66,6 @@ macx:LIBS += $$LIBS_FWCOMPILER
|
||||
|
||||
INCLUDEPATH += ../compiler_lib ../libfwbuilder/src
|
||||
|
||||
# win32:LIBS += ../compiler_lib/release/compilerdriver.lib
|
||||
# !win32:LIBS += ../compiler_lib/libcompilerdriver.a
|
||||
|
||||
win32:PRE_TARGETDEPS = ../compiler_lib/release/compilerdriver.lib
|
||||
!win32:PRE_TARGETDEPS = ../compiler_lib/libcompilerdriver.a
|
||||
|
||||
|
||||
@ -5,7 +5,6 @@ include(../../qmake.inc)
|
||||
TEMPLATE = lib
|
||||
CONFIG += staticlib
|
||||
|
||||
VERSION = $$SO_VERSION
|
||||
#
|
||||
SOURCES = BaseCompiler.cpp \
|
||||
Compiler.cpp \
|
||||
@ -27,10 +26,6 @@ HEADERS = BaseCompiler.h \
|
||||
RuleProcessor.h \
|
||||
RoutingCompiler.h
|
||||
|
||||
unix {
|
||||
LIBS += -L../fwbuilder -lfwbuilder
|
||||
}
|
||||
|
||||
TARGET = fwcompiler
|
||||
# target.path = "$$prefix/lib"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user