Blame lang/cl/Makefile.am

Packit fc043f
# Makefile.am for libgpg-error.
Packit fc043f
# Copyright (C) 2003, 2006 g10 Code GmbH
Packit fc043f
# 
Packit fc043f
# This file is part of libgpg-error.
Packit fc043f
# 
Packit fc043f
# libgpg-error is free software; you can redistribute it and/or modify
Packit fc043f
# it under the terms of the GNU Lesser General Public License as
Packit fc043f
# published by the Free Software Foundation; either version 2.1 of the
Packit fc043f
# License, or (at your option) any later version.
Packit fc043f
# 
Packit fc043f
# libgpg-error is distributed in the hope that it will be useful,
Packit fc043f
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit fc043f
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit fc043f
# GNU Lesser General Public License for more details.
Packit fc043f
# 
Packit fc043f
# You should have received a copy of the GNU Lesser General Public
Packit fc043f
# License along with this program; if not, write to the Free Software
Packit fc043f
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Packit fc043f
Packit fc043f
distributed_clfiles = gpg-error.asd \
Packit fc043f
	gpg-error-package.lisp gpg-error.lisp
Packit fc043f
Packit fc043f
generated_clfiles = gpg-error-codes.lisp
Packit fc043f
Packit fc043f
clfiles = $(distributed_clfiles) $(generated_clfiles)
Packit fc043f
Packit fc043f
# FIXME: Should be configurable.
Packit fc043f
clfilesdir = $(datadir)/common-lisp/source/gpg-error
Packit fc043f
dist_clfiles_DATA = $(distributed_clfiles)
Packit fc043f
nodist_clfiles_DATA = $(generated_clfiles)
Packit fc043f
Packit fc043f
EXTRA_DIST = README mkerrcodes.awk
Packit fc043f
CLEANFILES = gpg-error-codes.lisp
Packit fc043f
Packit fc043f
codes_file = $(top_srcdir)/src/err-codes.h.in
Packit fc043f
errno_file = $(top_srcdir)/src/errnos.in
Packit fc043f
Packit fc043f
gpg-error-codes.lisp: Makefile mkerrcodes.awk $(codes_file) $(errno_file)
Packit fc043f
	echo '@errnos@' | cat $(codes_file) - $(errno_file) \
Packit fc043f
	| $(AWK) -f $(srcdir)/mkerrcodes.awk >$@