~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Source/DOH/Doh/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Landschoff
  • Date: 2002-03-29 01:56:07 UTC
  • Revision ID: james.westby@ubuntu.com-20020329015607-c0wt03xu8oy9ioj7
Tags: upstream-1.3.11
ImportĀ upstreamĀ versionĀ 1.3.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#######################################################################
 
2
# $Header: /cvs/projects/SWIG/Source/DOH/Doh/Makefile.in,v 1.10.4.1 2001/07/30 08:17:20 mkoeppe Exp $
 
3
# DOH
 
4
#######################################################################
 
5
 
 
6
srcdir = @srcdir@
 
7
VPATH  = @srcdir@
 
8
 
 
9
#.KEEP_STATE:
 
10
 
 
11
# Set your C++ compiler here.   g++ works on most machines,
 
12
# but you might have to change it depending on your installation.
 
13
#
 
14
CC      = @CC@
 
15
prefix     = @prefix@
 
16
 
 
17
# Comment out the following line if you're on an SGI or don't have ranlib!
 
18
RANLIB  = @RANLIB@
 
19
AR      = @AR@
 
20
 
 
21
DOHOPT  =
 
22
 
 
23
########################################################################
 
24
# Normally, you shouldn't have to change anything below this point     #
 
25
########################################################################
 
26
 
 
27
LIBOBJS = void.o fio.o memory.o base.o file.o list.o hash.o string.o
 
28
 
 
29
LIBSRCS = void.c fio.c memory.c base.c file.c list.c hash.c string.c
 
30
 
 
31
LIBHEADERS = $(srcdir)/../Include/doh.h
 
32
LIB      = libdoh.a
 
33
INCLUDE  = -I$(srcdir)/../Include
 
34
CFLAGS   = @CFLAGS@
 
35
SHELL  = /bin/sh
 
36
 
 
37
#
 
38
# Rules for creation of a .o file from .c
 
39
.SUFFIXES: .c
 
40
.c.o:
 
41
        $(CC) $(DOHOPT) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
 
42
 
 
43
all: $(LIB)
 
44
 
 
45
$(LIB): $(LIBOBJS)
 
46
        @echo "Building library"
 
47
        $(AR) cr $(LIB) $(LIBOBJS)
 
48
        $(RANLIB) $(LIB)
 
49
        cp -f $(LIB) ..
 
50
 
 
51
clean::
 
52
        rm -f *.o $(LIB) ../$(LIB)
 
53
nuke::
 
54
        rm -f Makefile *~ #* core a.out