~ubuntu-branches/debian/sid/gmtp/sid

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-06-14 10:12:49 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120614101249-sds3t0jzopmywdvm
Tags: 1.3.2-1
* New upstream bugfix release:
  - Correct Makefile to fix when building with GTK+-3.4.
  - Reworked pkg-config handling to respect $(PKG_CONFIG) in Makefile.
  - Add additional error checking on connection of new devices, to hopefully
    avoid seg-fault with some very problematic devices. Ubuntu bugs:
    LP: #917314 LP: #948621 LP: #968798 LP: #995503
  - Fix issue with some Android 3.2 implementations and GetStorage() MTP API
    function. (Uses cached information, rather than full item rescan in some
    instances). (Closes: #667795)
  - Correct German Translations. (Closes: #672298)
  - Fix FLAC file handling.
* Update debian/copyright.
* Bump Standards.
* Drop 0001-missing_linker_flag.patch, applied upstream.
* Enable harden'd compilation.
* Add 0002-format_security.patch to prevent build failure with the flag
  '-Werror=format-security' enabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
PKG_NAME = gmtp
4
4
PREFIX ?= /usr/local
5
 
VER = 1.3.1
 
5
VER = 1.3.2
6
6
# Note: If you update above, please update the config.h and pkginfo file as well.
7
7
 
8
8
PKG = gmtp
39
39
CFLAGS += -c -g #-O
40
40
LDFLAGS += 
41
41
LIBS +=
 
42
PKG_CONFIG ?= pkg-config
42
43
 
43
44
.SUFFIXES: .c .o .po .mo
44
45
 
45
 
GTK_CFLAGS = `pkg-config --cflags gtk+-2.0 gconf-2.0 libmtp id3tag flac vorbisfile`
46
 
GTK_LDFLAGS = `pkg-config --libs gtk+-2.0 gconf-2.0 libmtp id3tag flac vorbisfile`
47
 
 
48
46
ifeq ($(MAKECMDGOALS),gtk3)
49
 
GTK_CFLAGS = `pkg-config --cflags gtk+-3.0 gio-2.0 libmtp id3tag flac vorbisfile gthread-2.0`
50
 
GTK_LDFLAGS = `pkg-config --libs gtk+-3.0 gio-2.0 libmtp id3tag flac vorbisfile gthread-2.0`
 
47
PKGS = gtk+-3.0 gio-2.0
51
48
CFLAGS += -DGMTP_USE_GTK3
 
49
else
 
50
PKGS = gtk+-2.0 gconf-2.0
52
51
endif
53
52
 
 
53
PKGS += gthread-2.0 libmtp id3tag flac vorbisfile
 
54
 
 
55
GTK_CFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)`
 
56
GTK_LDFLAGS = `$(PKG_CONFIG) --libs $(PKGS)`
 
57
 
54
58
objects = src/main.o src/mtp.o src/interface.o src/callbacks.o src/prefs.o src/dnd.o src/metatag_info.o
55
59
headers = src/main.h src/mtp.h src/interface.h src/callbacks.h src/prefs.h src/dnd.h src/metatag_info.h src/config.h
56
60