unix {
  UI_DIR      = .ui
  MOC_DIR     = .moc
  OBJECTS_DIR = .obj
}

TEMPLATE	= lib
LANGUAGE	= C++

HEADERS += simpledvd.h \
	   ../interface.h

SOURCES += simpledvd.cpp

#The following line was changed from FORMS to FORMS3 by qt3to4
FORMS3	 = uisimpledvd.ui

WHICH_PREFIX = $$(PREFIX)
isEmpty( WHICH_PREFIX ) {
        WHICH_PREFIX =/usr
}

#TRANSLATIONS    = ../../i18n/simpledvd_ru.ts

thePlugin.path  = $${WHICH_PREFIX}/share/qdvdauthor/plugins
thePlugin.files = ../plugins/libsimpledvd.so*

support.path  = $${WHICH_PREFIX}/share/qdvdauthor/plugins/simpledvd
support.files = background.jpg main.png prev.png next.png

DESTDIR	   =../plugins

INSTALLS   = thePlugin support

LIBS    += -L/usr/lib
VERSION  = 1.4
DEFINES += PLUGIN_VERSION=$${VERSION}
CONFIG	+= qt warn_on release

#QMAKE_POST_LINK = qmake -o Makefile

#The following line was inserted by qt3to4
QT +=  qt3support 
#The following line was inserted by qt3to4
CONFIG += uic3

