~ubuntu-branches/ubuntu/lucid/libmtp/lucid

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Savvas Radevic, Savvas Radevic, Flávio Martins
  • Date: 2009-04-18 19:58:14 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090418195814-lbizx2w4c0mgknc8
Tags: 0.3.7-3ubuntu1
[ Savvas Radevic ]
* Merge from debian unstable, remaining changes:
  + debian/control: Add Breaks to ensure the right udev version gets used.
  + debian/libmtp.install.in, debian/libmtp.preinst.in, 
    debian/libmtp.postinst.in: Clean up the mess where files were still 
    going into the wrong directory.
* debian/libmtp.preinst.in: Dropped check on unsupported 0.2.5-1 (hardy has 
  0.2.6.1-2ubuntu1)

[ Flávio Martins ]
* debian/rules: Append proper prefix 45- to libmtp rules in UDEV variable
* debian/libmtp.install.in: ../../45-libmtp@SOVERSION@.rules lib/udev/rules.d

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
lib_LTLIBRARIES=libmtp.la
2
 
libmtp_la_SOURCES=libmtp.c unicode.c unicode.h util.c util.h \
 
2
libmtp_la_SOURCES=libmtp.c unicode.c unicode.h util.c util.h playlist-spl.c \
3
3
        libusb-glue.c libusb-glue.h \
4
4
        gphoto2-endian.h libptp-stdint.h ptp.c ptp.h \
5
 
        music-players.h device-flags.h
 
5
        music-players.h device-flags.h playlist-spl.h
6
6
include_HEADERS=libmtp.h
7
7
EXTRA_DIST=libmtp.h.in libmtp.sym ptp-pack.c
8
8
 
28
28
#  increment AGE, Otherwise AGE is reset to 0. If CURRENT has changed, 
29
29
#  REVISION is set to 0, otherwise REVISION is incremented.
30
30
# ---------------------------------------------------------------------------
31
 
CURRENT=8
32
 
AGE=0
33
 
REVISION=0
 
31
CURRENT=10
 
32
AGE=2
 
33
REVISION=2
34
34
SOVERSION=$(CURRENT):$(REVISION):$(AGE)
35
35
 
36
36
if COMPILE_MINGW32
37
37
noinst_DATA=libmtp.lib
38
 
W32LF=-export-dynamic -no-undefined -export-symbols libmtp.sym
 
38
W32LF=-export-dynamic -liconv -ws2_32
39
39
libmtp.def: libmtp.sym
40
40
        echo "LIBRARY \"@PACKAGE@\"" > libmtp.def
41
41
        echo "DESCRIPTION \"Media Transfer Protocol (MTP) library\"" >> libmtp.def
50
50
        $(INSTALL) libmtp.lib $(DESTDIR)$(libdir)
51
51
endif
52
52
 
53
 
libmtp_la_LDFLAGS=@LDFLAGS@ -version-info $(SOVERSION) $(W32LF)
 
53
libmtp_la_LDFLAGS=@LDFLAGS@ -no-undefined -export-symbols libmtp.sym -version-info $(SOVERSION) $(W32LF)
 
54
libmtp_la_DEPENDENCIES=libmtp.sym
 
55
 
 
56
DISTCLEANFILES = _stdint.h