~ubuntu-branches/debian/squeeze/redland-bindings/squeeze

« back to all changes in this revision

Viewing changes to ruby/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Dave Beckett
  • Date: 2009-04-07 00:24:21 UTC
  • mfrom: (0.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090407002421-dce2r4otm5vqtheg
Tags: 1.0.8.1-2
* Use new sections ruby, php for librdf-ruby and php5-librdf respectively.
* Merge features from ubuntu packaging.  Thanks to Matthias Klose
  (not taking linker -Wl,--as-needed since that makes dyloading fail
  to pull in raptor symbols):
  debian/rules:
  - get python lib dir from distutils
  - make dh_pycentral use symlinks
  debian/python-librdf.examples:
  - add data/dc.rdf to examples dir and adjust example.py
    to point to it (Closes: #402612)
* Patch python/Makefile.in so it can allow the include dir to be
  overridden by the particular python version build in debian/rules
  using PYTHON_INCLUDES

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.10 from Makefile.am.
 
1
# Makefile.in generated by automake 1.10.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6
6
# This Makefile.in is free software; the Free Software Foundation
7
7
# gives unlimited permission to copy and/or distribute it,
8
8
# with or without modifications, as long as this notice is preserved.
18
18
#
19
19
# Makefile.am - automake file for Ruby interface to Redland
20
20
#
21
 
# $Id$
22
 
#
23
 
# Copyright (C) 2000-2005 David Beckett - http://purl.org/net/dajobe/
 
21
# Copyright (C) 2000-2005 David Beckett - http://www.dajobe.org/
24
22
# Copyright (C) 2000-2005 University of Bristol - http://www.bristol.ac.uk/
25
23
26
24
# This package is Free Software or Open Source available under the
101
99
CYGPATH_W = @CYGPATH_W@
102
100
DEFS = @DEFS@
103
101
DEPDIR = @DEPDIR@
 
102
DSYMUTIL = @DSYMUTIL@
104
103
ECHO = @ECHO@
105
104
ECHO_C = @ECHO_C@
106
105
ECHO_N = @ECHO_N@
117
116
LIBOBJS = @LIBOBJS@
118
117
LIBRDF_CPPFLAGS = @LIBRDF_CPPFLAGS@
119
118
LIBRDF_LDFLAGS = @LIBRDF_LDFLAGS@
120
 
LIBRDF_LIBTOOLLIBS = @LIBRDF_LIBTOOLLIBS@
121
119
LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@
122
120
LIBS = @LIBS@
123
121
LIBTOOL = @LIBTOOL@
128
126
MEM = @MEM@
129
127
MEM_LIBS = @MEM_LIBS@
130
128
MKDIR_P = @MKDIR_P@
 
129
NMEDIT = @NMEDIT@
131
130
OBJEXT = @OBJEXT@
132
131
PACKAGE = @PACKAGE@
133
132
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
154
153
PYTHON_INCLUDES = @PYTHON_INCLUDES@
155
154
PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
156
155
PYTHON_LIB = @PYTHON_LIB@
 
156
PYTHON_LIBEXT = @PYTHON_LIBEXT@
157
157
PYTHON_VERSION = @PYTHON_VERSION@
158
158
RANLIB = @RANLIB@
159
159
REDLAND_CONFIG = @REDLAND_CONFIG@
160
 
REDLAND_MIN_VERSION = @REDLAND_MIN_VERSION@
161
160
REDLAND_RUN = @REDLAND_RUN@
162
161
REDLAND_SWIG = @REDLAND_SWIG@
163
162
REDLAND_VERSION = @REDLAND_VERSION@
229
228
RELEASE = @VERSION_RELEASE@
230
229
AM_CPPFLAGS = @CPPFLAGS@ @LIBRDF_CPPFLAGS@  @RUBY_INCLUDES@
231
230
AM_CFLAGS = @CFLAGS@ @LIBRDF_CPPFLAGS@ $(MEM)
 
231
AM_LDFLAGS = @LIBRDF_LDFLAGS@ $(MEM_LIBS)
232
232
RUBY_PACKAGE = redland
233
233
SWIG_OUTPUTS = $(RUBY_PACKAGE)_wrap.c
234
234
SWIG_CRUFT = 
364
364
        unique=`for i in $$list; do \
365
365
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
366
366
          done | \
367
 
          $(AWK) '    { files[$$0] = 1; } \
368
 
               END { for (i in files) print i; }'`; \
 
367
          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
 
368
              END { if (nonempty) { for (i in files) print i; }; }'`; \
369
369
        mkid -fID $$unique
370
370
tags: TAGS
371
371
 
390
390
        unique=`for i in $$list; do \
391
391
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
392
392
          done | \
393
 
          $(AWK) '    { files[$$0] = 1; } \
394
 
               END { for (i in files) print i; }'`; \
 
393
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
394
              END { if (nonempty) { for (i in files) print i; }; }'`; \
395
395
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
396
396
          test -n "$$unique" || unique=$$empty_fix; \
397
397
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
401
401
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
402
402
                $(TAGS_FILES) $(LISP)
403
403
        tags=; \
404
 
        here=`pwd`; \
405
404
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
406
405
        unique=`for i in $$list; do \
407
406
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
408
407
          done | \
409
 
          $(AWK) '    { files[$$0] = 1; } \
410
 
               END { for (i in files) print i; }'`; \
 
408
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
409
              END { if (nonempty) { for (i in files) print i; }; }'`; \
411
410
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
412
411
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
413
412
             $$tags $$unique
584
583
        else \
585
584
          args=" -shared"; \
586
585
        fi; \
587
 
        echo $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) $$args $(RUBY_PACKAGE)_wrap.so $(LIBRUBYARG_SHARED) `@REDLAND_CONFIG@ --libs` -o $(RUBY_PACKAGE).so; \
588
 
        $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) $$args $(RUBY_PACKAGE)_wrap.so $(LIBRUBYARG_SHARED) `@REDLAND_CONFIG@ --libs` -o $(RUBY_PACKAGE).so
 
586
        echo $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) $$args $(RUBY_PACKAGE)_wrap.so $(LIBRUBYARG_SHARED) -o $(RUBY_PACKAGE).so; \
 
587
        $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) $$args $(RUBY_PACKAGE)_wrap.so $(LIBRUBYARG_SHARED) -o $(RUBY_PACKAGE).so
589
588
        if test `uname` = Darwin; then \
590
589
          $(INSTALL_PROGRAM) $(RUBY_PACKAGE).so $(RUBY_PACKAGE).bundle; \
591
590
        fi