limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / tools / bioawk / Makefile
blob9bf0b44ee4b44369a5a3bc2d7a2820396176a9db
1 # /****************************************************************
2 # Copyright (C) Lucent Technologies 1997
3 # All Rights Reserved
4 #
5 # Permission to use, copy, modify, and distribute this software and
6 # its documentation for any purpose and without fee is hereby
7 # granted, provided that the above copyright notice appear in all
8 # copies and that both that the copyright notice and this
9 # permission notice and warranty disclaimer appear in supporting
10 # documentation, and that the name Lucent Technologies or any of
11 # its entities not be used in advertising or publicity pertaining
12 # to distribution of the software without specific, written prior
13 # permission.
15 # LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
17 # IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
18 # SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
20 # IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22 # THIS SOFTWARE.
23 # ****************************************************************/
25 CFLAGS = -g -Wall -O2
27 CC = gcc
29 YACC = bison -y
30 YACC = yacc
31 YFLAGS = -d
33 OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o addon.o
35 SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
36 maketab.c parse.c lib.c run.c tran.c proctab.c addon.c
38 LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
39 lib.c run.c tran.c addon.c
41 SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile \
42 awk.1
44 bioawk:ytab.o $(OFILES)
45 $(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC) -o $@ -lm -lz
47 $(OFILES): awk.h ytab.h proto.h addon.h
49 ytab.o: awk.h proto.h awkgram.y
50 $(YACC) $(YFLAGS) awkgram.y
51 mv y.tab.c ytab.c
52 mv y.tab.h ytab.h
53 $(CC) $(CFLAGS) -c ytab.c
55 proctab.c: maketab
56 ./maketab >proctab.c
58 maketab: ytab.h maketab.c
59 $(CC) $(CFLAGS) maketab.c -o maketab
61 names:
62 @echo $(LISTING)
64 clean:
65 rm -fr a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda awk ytab.* proctab.c *.dSYM