1CONFIG -= qt 2 3TEMPLATE = lib 4#DEFINES += GIFLIB_LIBRARY 5 6CONFIG += c++11 7 8# The following define makes your compiler emit warnings if you use 9# any Qt feature that has been marked deprecated (the exact warnings 10# depend on your compiler). Please consult the documentation of the 11# deprecated API in order to know how to port your code away from it. 12DEFINES += QT_DEPRECATED_WARNINGS 13 14# You can also make your code fail to compile if it uses deprecated APIs. 15# In order to do so, uncomment the following line. 16# You can also select to disable deprecated APIs only up to a certain version of Qt. 17#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 18 19DESTDIR = ../../libs 20 21SOURCES += \ 22 ../../../../../../../../third_party/giflib/dgif_lib.c \ 23 ../../../../../../../../third_party/giflib/egif_lib.c \ 24 ../../../../../../../../third_party/giflib/getarg.c \ 25 ../../../../../../../../third_party/giflib/gif_err.c \ 26 ../../../../../../../../third_party/giflib/gif_font.c \ 27 ../../../../../../../../third_party/giflib/gif_hash.c \ 28 ../../../../../../../../third_party/giflib/gif2rgb.c \ 29 ../../../../../../../../third_party/giflib/gifalloc.c \ 30 ../../../../../../../../third_party/giflib/openbsd-reallocarray.c \ 31 ../../../../../../../../third_party/giflib/qprintf.c \ 32 ../../../../../../../../third_party/giflib/quantize.c 33 34HEADERS += \ 35 ../../../../../../../../third_party/giflib/getarg.h \ 36 ../../../../../../../../third_party/giflib/gif_hash.h \ 37 ../../../../../../../../third_party/giflib/gif_lib.h \ 38 ../../../../../../../../third_party/giflib/gif_lib_private.h 39 40# Default rules for deployment. 41unix { 42 target.path = /usr/lib 43} 44!isEmpty(target.path): INSTALLS += target 45