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

TEMPLATE        = lib
LANGUAGE        = C++

HEADERS += library.h interface.h \
  ../jhead.h

SOURCES += library.cpp \
  ../exif.c ../gpsinfo.c ../iptc.c ../jhead.c ../jpgfile.c ../makernote.c 

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

theLibrary.path  = $${WHICH_PREFIX}/share/qdvdauthor/
theLibrary.files = libjhead.so*

DESTDIR    = ./lib
TARGET     = jhead

INSTALLS   = theLibrary

VERSION    = 1.0
DEFINES += PLUGIN_VERSION=$${VERSION}
CONFIG  += qt warn_on debug
#CONFIG += qt warn_on release

