1 ## Note: starting comments with ## means they don't end up in Makefile
3 AUTOMAKE_OPTIONS = 1.5 foreign
5 ## Put these files in $prefix/share/splint/imports
6 importsdir = $(pkgdatadir)/imports
9 assert.lcl ctype.lcl errno.lcl \
10 limits.lcl locale.lcl math.lcl \
11 setjmp.lcl signal.lcl stdarg.lcl \
12 stdlib.lcl stdio.lcl string.lcl \
16 assert.lcs ctype.lcs errno.lcs \
17 limits.lcs locale.lcs math.lcs \
18 setjmp.lcs signal.lcs stdarg.lcs \
19 stdlib.lcs stdio.lcs string.lcs \
23 imports_DATA = $(LCLFILES) $(LCSFILES)
25 ## Include them in the distribution
26 EXTRA_DIST = $(LCLFILES)
28 ##get rid of lcs files if the user does a make clean
29 CLEANFILES = $(LCSFILES)
31 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
32 LCSGEN = @if $(AM_V_P); then set -x; else echo " GEN $@"; fi; \
33 rm -f $(builddir)/$@; \
34 LARCH_PATH="$(top_builddir)/lib:$(top_srcdir)/lib" \
35 LCLIMPORTDIR="$(builddir)" \
36 $(SPLINT) +quiet $^ && mv $(srcdir)/$@ $(builddir)/$@
39 @$(MAKE) -C $(top_builddir)/src