"Fossies" - the Fresh Open Source Software Archive

Member "bc-1.06.95/bc/Makefile.am" (28 Mar 2006, 1246 Bytes) of package /linux/misc/old/bc-1.06.95.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Makefile.am": 1.07_vs_1.07.1.

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