~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to examples/box-dynamic/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2006-11-09 03:11:16 UTC
  • Revision ID: james.westby@ubuntu.com-20061109031116-hu0q1jxqg12y6yeg
Tags: upstream-1.8.1+1
ImportĀ upstreamĀ versionĀ 1.8.1+1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with Automake to create Makefile.in
 
2
##
 
3
##   Copyright (C) 2001, 2006 Free Software Foundation, Inc.
 
4
##
 
5
##   This file is part of GUILE.
 
6
##   
 
7
##   GUILE is free software; you can redistribute it and/or modify
 
8
##   it under the terms of the GNU General Public License as
 
9
##   published by the Free Software Foundation; either version 2, or
 
10
##   (at your option) any later version.
 
11
##   
 
12
##   GUILE is distributed in the hope that it will be useful, but
 
13
##   WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
##   GNU General Public License for more details.
 
16
##   
 
17
##   You should have received a copy of the GNU General Public
 
18
##   License along with GUILE; see the file COPYING.  If not, write
 
19
##   to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 
20
##   Floor, Boston, MA 02110-1301 USA
 
21
 
 
22
EXTRA_DIST = README box.c check.test
 
23
 
 
24
CFLAGS=`$(bindir)/guile-config compile`
 
25
LIBS=`$(bindir)/guile-config link`
 
26
 
 
27
libbox: box.lo
 
28
        sh ../../libtool --mode=link $(CC) $< $(LIBS) -rpath $(libdir) -o libbox.la
 
29
 
 
30
box.lo: box.c
 
31
        sh ../../libtool --mode=compile $(CC) $(CFLAGS) -c $< 
 
32
 
 
33
installcheck: libbox
 
34
        LTDL_LIBRARY_PATH=.libs GUILE_LOAD_PATH=$(top_srcdir):$(srcdir) $(srcdir)/check.test
 
35
 
 
36
CLEANFILES=libbox.la box.lo box.o