include ( ../../config.mak )
include ( ../../settings.pro )

INCLUDEPATH += ../../libs/libmythui ../../libs/libmyth
DEPENDPATH += ../../libs/libmythui ../../libs/libmyth

LIBS += -L../../libs/libmythui -lmythui-$$LIBVERSION
isEmpty(QMAKE_EXTENSION_SHLIB) {
  QMAKE_EXTENSION_SHLIB=so
}
isEmpty(QMAKE_EXTENSION_LIB) {
  QMAKE_EXTENSION_LIB=a
}
TARGETDEPS += ../../libs/libmythui/libmythui-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}

macx {
    # OS X complains about indirectly linked libraries
    LIBS += -L../../libs/libmyth -lmyth-$$LIBVERSION
    
    # Duplication of source with libmyth (e.g. oldsettings.cpp)
    # means that the linker complains, so we have to ignore duplicates 
    QMAKE_LFLAGS += -multiply_defined suppress
}


TEMPLATE = app
TARGET = mythuitest
CONFIG += thread opengl

# Input
HEADERS = test1.h

SOURCES = main.cpp test1.cpp

