~ubuntu-branches/ubuntu/vivid/bc/vivid-proposed

« back to all changes in this revision

Viewing changes to bc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 12:24:03 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071205122403-rv1a7x90ktu1wl95
Tags: 1.06.94-3ubuntu1
* Merge with Debian; remaining changes:
  - Make bc/dc notice read and write errors on its input and output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
## Process this file with automake to produce Makefile.in
2
2
bin_PROGRAMS = bc
3
3
 
4
 
bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
 
4
bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c \
 
5
             warranty.c
5
6
 
6
7
EXTRA_DIST = bc.h bcdefs.h const.h fix-libmath_h global.h libmath.b proto.h \
7
8
             sbc.y
9
10
 
10
11
DISTCLEANFILES = sbc sbc.c sbc.h
11
12
 
12
 
MAINTAINERCLEANFILES = Makefile.in libmath.h bc.c bc.h scan.c
 
13
MAINTAINERCLEANFILES = Makefile.in libmath.h bc.c bc.h scan.c \
 
14
        bc.y bcdefs.h const.h execute.c fix-libmath_h \
 
15
        global.c global.h libmath.b load.c main.c \
 
16
        proto.h scan.l storage.c util.c
13
17
 
14
18
INCLUDES = -I$(srcdir) -I$(srcdir)/../h
15
19
LIBBC = ../lib/libbc.a
18
22
 
19
23
AM_YFLAGS = -d
20
24
 
21
 
AM_CFLAGS = @CFLAGS@ -Wall -funsigned-char
 
25
AM_CFLAGS = @CFLAGS@
22
26
 
23
27
$(PROGRAMS): $(LIBBC)
24
28
 
30
34
        $(MAKE) fbc
31
35
        ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h
32
36
        $(srcdir)/fix-libmath_h
33
 
        rm -f ./fbc
 
37
        rm -f ./fbc ./global.o
34
38
 
35
 
fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o
 
39
fbcOBJ = main.o bc.o scan.o execute.o global.o load.o storage.o util.o \
 
40
         warranty.o
36
41
fbc: $(fbcOBJ)
37
42
        $(LINK) $(fbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)
38
43
 
39
 
sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o
 
44
sbcOBJ = main.o sbc.o scan.o execute.o global.o load.o storage.o util.o \
 
45
         warranty.o
40
46
sbc.o: sbc.c
41
47
sbc: $(sbcOBJ)
42
48
        $(LINK) $(sbcOBJ) $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS)