CONFIG += @QT_CONFIG_OPTS@
 
INCLUDEPATH += @abs_top_builddir@ @abs_top_builddir@/uim \
               @abs_top_srcdir@ @abs_top_srcdir@/uim \
               @abs_top_srcdir@/replace
QMAKE_LIBDIR += @abs_top_builddir@/uim @abs_top_builddir@/replace \
                @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs
LIBS += -lreplace -luim -luim-scm
!win32:!embedded:!mac {
    LIBS += -luim-x-util
}

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += widgets
}
 
QMAKE_CC                = @CC@
QMAKE_CFLAGS_DEBUG     += @CFLAGS@   @CPPFLAGS@ @X_CFLAGS@
QMAKE_CFLAGS_RELEASE   += @CFLAGS@   @CPPFLAGS@ @X_CFLAGS@
QMAKE_CXX               = @CXX@
QMAKE_CXXFLAGS_DEBUG   += @CXXFLAGS@ @CPPFLAGS@ @X_CFLAGS@
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @CPPFLAGS@ @X_CFLAGS@
# Remove "-Wconversion" from CXXFLAGS to avoid lots of warnings
# from Qt4 header files
QMAKE_CXXFLAGS_DEBUG    = $$replace(QMAKE_CXXFLAGS_DEBUG, "-Wconversion", "")
QMAKE_CXXFLAGS_RELEASE  = $$replace(QMAKE_CXXFLAGS_RELEASE, "-Wconversion", "")
QMAKE_LINK              = @CXX@
QMAKE_LFLAGS            = @LDFLAGS@
QMAKE_STRIP             =
 
INSTALLS    += target
