| 1 |
## -*- Mode: Makefile -*- |
| 2 |
## |
| 3 |
## Makefile.am -- process this file with automake to produce Makefile.in |
| 4 |
## |
| 5 |
## This file is part of Complexity. |
| 6 |
## Complexity Copyright (c) 1992-2011, 2014 by Bruce Korb - all rights reserved |
| 7 |
## |
| 8 |
## Complexity is free software: you can redistribute it and/or modify it |
| 9 |
## under the terms of the GNU General Public License as published by the |
| 10 |
## Free Software Foundation, either version 3 of the License, or |
| 11 |
## (at your option) any later version. |
| 12 |
## |
| 13 |
## Complexity is distributed in the hope that it will be useful, but |
| 14 |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 16 |
## See the GNU General Public License for more details. |
| 17 |
## |
| 18 |
## You should have received a copy of the GNU General Public License along |
| 19 |
## with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
|
| 21 |
bin_PROGRAMS = complexity |
| 22 |
bin_SCRIPTS = cx-vs-mc |
| 23 |
option_def = opts.def |
| 24 |
option_src = opts.c opts.h |
| 25 |
charmap_map = char-types.map |
| 26 |
charmap_src = $(charmap_map:.map=.h) |
| 27 |
gnulib = $(top_builddir)/lib/libgnu.a |
| 28 |
|
| 29 |
complexity_SOURCES = \ |
| 30 |
complexity.h complexity.c score.c tokenize.c \ |
| 31 |
$(charmap_src) $(option_src) |
| 32 |
|
| 33 |
complexity_CFLAGS = $(ao_CFLAGS) |
| 34 |
complexity_LDADD = $(ao_LIBS) $(gnulib) -lm |
| 35 |
|
| 36 |
CLEANFILES = *-stamp $(DEP_FILES) $(bin_SCRIPTS) |
| 37 |
EXTRA_DIST = $(option_def) $(charmap_map) cx-vs-mc.sh |
| 38 |
DISTCLEANFILES = $(option_src) |
| 39 |
|
| 40 |
cx-vs-mc : cx-vs-mc.sh |
| 41 |
@-rm -f $@ |
| 42 |
cp $(srcdir)/cx-vs-mc.sh $@ && chmod 555 $@ |
| 43 |
|
| 44 |
# end of Makefile.am |