1 |
# This file is part of GNU cflow |
2 |
# Copyright (C) 2005 Free Software Foundation, Inc. |
3 |
# |
4 |
# Written by Sergey Poznyakoff |
5 |
# |
6 |
# This program is free software; you can redistribute it and/or modify |
7 |
# it under the terms of the GNU General Public License as published by |
8 |
# the Free Software Foundation; either version 2 of the License, or |
9 |
# (at your option) any later version. |
10 |
# |
11 |
# This program is distributed in the hope that it will be useful, |
12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
# GNU General Public License for more details. |
15 |
# |
16 |
# You should have received a copy of the GNU General Public License |
17 |
# along with this program; if not, write to the Free Software Foundation, |
18 |
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
|
20 |
INCLUDES = -I$(top_srcdir)/lib -I../ -I../lib |
21 |
|
22 |
bin_PROGRAMS = cflow |
23 |
cflow_SOURCES = \ |
24 |
main.c\ |
25 |
rc.c\ |
26 |
parser.c\ |
27 |
c.l\ |
28 |
output.c\ |
29 |
symbol.c\ |
30 |
cflow.h\ |
31 |
parser.h\ |
32 |
gnu.c\ |
33 |
posix.c |
34 |
|
35 |
cflow_LDADD=../lib/libcflow.a |
36 |
AM_LFLAGS=-dvp |
37 |
EXTRA_DIST=cflow.rc |
38 |
|
39 |
FLOWCHART_FILES=\ |
40 |
main.c\ |
41 |
rc.c\ |
42 |
parser.c\ |
43 |
c.c\ |
44 |
output.c\ |
45 |
symbol.c\ |
46 |
gnu.c\ |
47 |
posix.c |
48 |
|
49 |
chart.cflow: cflow $(FLOWCHART_FILES) cflow.rc Makefile |
50 |
CFLOWRC=$(top_srcdir)/src/cflow.rc \ |
51 |
cflow -o$@ -i^s $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
52 |
$(CPPFLAGS) $(FLOWCHART_FILES) |