~ubuntu-branches/ubuntu/vivid/rawstudio/vivid

« back to all changes in this revision

Viewing changes to plugins/resample/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2011-07-28 17:36:32 UTC
  • mfrom: (2.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110728173632-5czluz9ye3c83zc5
Tags: 2.0-1
* [3750b2cf] Merge commit 'upstream/2.0'
* [63637468] Removing Patch, not necessary anymore.
* [2fb580dc] Add new build-dependencies.
* [c57d953b] Run dh_autoreconf due to patches in configure.in
* [13febe39] Add patch to remove the libssl requirement.
* [5ae773fe] Replace libjpeg62-dev by libjpeg8-dev :)
* [1969d755] Don't build static libraries.
* [7cfe0a2e] Add a patch to fix the plugin directory path.
  As plugins are shared libraries, they need to go into /usr/lib,
  not into /usr/share.
  Thanks to Andrew McMillan
* [c1d0d9dd] Don't install .la files for all plugins and libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plugindir = $(libdir)/rawstudio/plugins
 
2
 
 
3
AM_CFLAGS =\
 
4
        -Wall\
 
5
        -O4
 
6
 
 
7
AM_CXXFLAGS = $(AM_CFLAGS)
 
8
 
 
9
INCLUDES = \
 
10
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 
11
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 
12
        @PACKAGE_CFLAGS@ \
 
13
        -I$(top_srcdir)/librawstudio/ \
 
14
        -I$(top_srcdir)/
 
15
 
 
16
lib_LTLIBRARIES = resample.la
 
17
 
 
18
libdir = $(datadir)/rawstudio/plugins/
 
19
 
 
20
resample_la_LIBADD = @PACKAGE_LIBS@ resample-sse2.lo resample-c.lo
 
21
resample_la_LDFLAGS = -module -avoid-version
 
22
resample_la_SOURCES =
 
23
 
 
24
EXTRA_DIST = resample-sse2.c resample.c
 
25
 
 
26
resample-c.lo: resample.c
 
27
        $(LTCOMPILE) -o resample-c.o -c $(top_srcdir)/plugins/resample/resample.c
 
28
 
 
29
resample-sse2.lo: resample-sse2.c
 
30
if CAN_COMPILE_SSE2
 
31
SSE_FLAG=-msse2
 
32
else
 
33
SSE_FLAG=
 
34
endif
 
35
        $(LTCOMPILE) $(SSE_FLAG) -c $(top_srcdir)/plugins/resample/resample-sse2.c
 
36