~ubuntu-branches/ubuntu/lucid/gauche-c-wrapper/lucid

« back to all changes in this revision

Viewing changes to objc/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2008-04-07 09:15:03 UTC
  • Revision ID: james.westby@ubuntu.com-20080407091503-wu0h414koe95kj4i
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# $Id: Makefile.in 360 2006-12-21 15:30:12Z naoki $
 
3
#
 
4
 
 
5
# General info
 
6
SHELL       = @SHELL@
 
7
prefix      = @prefix@
 
8
exec_prefix = @exec_prefix@
 
9
bindir      = @bindir@
 
10
libdir      = @libdir@
 
11
datadir     = @datadir@
 
12
srcdir      = @srcdir@
 
13
VPATH       = $(srcdir)
 
14
 
 
15
# These may be overridden by make invocators
 
16
DESTDIR        =
 
17
GOSH           = @GOSH@
 
18
GAUCHE_CONFIG  = @GAUCHE_CONFIG@
 
19
GAUCHE_PACKAGE = @GAUCHE_PACKAGE@
 
20
INSTALL        = @GAUCHE_INSTALL@
 
21
 
 
22
CPPFLAGS       = -DGAUCHE_API_0_8_8 @CPPFLAGS@
 
23
LDFLAGS        = @LDFLAGS@
 
24
LIBS           = @LIBS@
 
25
 
 
26
# Other parameters
 
27
SOEXT  = @SOEXT@
 
28
OBJEXT = @OBJEXT@
 
29
EXEEXT = @EXEEXT@
 
30
 
 
31
# Module-specific stuff
 
32
ARCHFILES = 
 
33
@OBJC_ENABLE_TRUE@ARCHFILES += objc-ffilib.$(SOEXT)
 
34
SCMFILES  = 
 
35
@OBJC_ENABLE_TRUE@SCMFILES  += objc-wrapper.scm c-wrapper/objc-ffi.scm
 
36
HEADERS   = 
 
37
 
 
38
TARGET    = $(ARCHFILES)
 
39
GENERATED = 
 
40
@OBJC_ENABLE_TRUE@GENERATED += objc-ffilib.stub objc-ffilib_head.c objc-ffilib_tail.c
 
41
CONFIG_GENERATED = Makefile
 
42
 
 
43
GAUCHE_PKGINCDIR  = @GAUCHE_PKGINCDIR@
 
44
GAUCHE_PKGLIBDIR  = @GAUCHE_PKGLIBDIR@
 
45
GAUCHE_PKGARCHDIR = @GAUCHE_PKGARCHDIR@
 
46
 
 
47
all : $(TARGET)
 
48
 
 
49
objc-ffilib.$(SOEXT): ./c-wrapper/objc-ffi.scm
 
50
        $(GOSH) -I../lib -I../src cwcompile --verbose $^
 
51
 
 
52
install : all
 
53
        $(INSTALL) -m 444 -T $(DESTDIR)$(GAUCHE_PKGINCDIR) $(HEADERS)
 
54
        $(INSTALL) -m 555 -T $(DESTDIR)$(GAUCHE_PKGARCHDIR) $(ARCHFILES)
 
55
        $(INSTALL) -m 444 -T $(DESTDIR)$(GAUCHE_PKGLIBDIR) $(SCMFILES) 
 
56
 
 
57
uninstall :
 
58
        $(INSTALL) -U $(DESTDIR)$(GAUCHE_PKGINCDIR) $(HEADERS)
 
59
        $(INSTALL) -U $(DESTDIR)$(GAUCHE_PKGARCHDIR) $(ARCHFILES)
 
60
        $(INSTALL) -U $(DESTDIR)$(GAUCHE_PKGLIBDIR) $(SCMFILES) 
 
61
 
 
62
clean :
 
63
        rm -rf core $(TARGET) $(GENERATED) *.o *~ so_locations
 
64
 
 
65
distclean : clean
 
66
        rm -rf $(CONFIG_GENERATED)
 
67
 
 
68
maintainer-clean : clean
 
69
        rm -rf $(CONFIG_GENERATED)
 
70