Makefile.am 1.51 KB
Newer Older
1
#
Keith Packard's avatar
Keith Packard committed
2
# $Id $
3
#
Keith Packard's avatar
Keith Packard committed
4
# Copyright © 2003 Keith Packard
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Keith Packard not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission.  Keith Packard makes no
# representations about the suitability of this software for any purpose.  It
# is provided "as is" without express or implied warranty.
#
# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#

25
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
26

Keith Packard's avatar
Keith Packard committed
27
TMPL=fclang.tmpl.h
28
STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
Keith Packard's avatar
Keith Packard committed
29
TARG=fclang.h
30

Keith Packard's avatar
Keith Packard committed
31
noinst_PROGRAMS=fc-lang
32

Keith Packard's avatar
Keith Packard committed
33
noinst_HEADERS=$(TARG)
34

35 36
noinst_MANS=fc-lang.man

Keith Packard's avatar
Keith Packard committed
37
ORTH=@ORTH_FILES@
38

39 40
EXTRA_DIST=$(TMPL) $(ORTH)

41
$(TARG):$(ORTH) fc-lang $(STMPL)
Keith Packard's avatar
Keith Packard committed
42
	rm -f $(TARG)
43 44
	./fc-lang -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)

45
CLEANFILES=$(TARG)