1# Makefile for cipher modules 2# Copyright (C) 2008 Free Software Foundation, Inc. 3# 4# This file is part of Libgcrypt. 5# 6# Libgcrypt is free software; you can redistribute it and/or modify 7# it under the terms of the GNU Lesser General Public License as 8# published by the Free Software Foundation; either version 2.1 of 9# the License, or (at your option) any later version. 10# 11# Libgcrypt 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 Lesser General Public License for more details. 15# 16# You should have received a copy of the GNU Lesser General Public 17# License along with this program; if not, see <http://www.gnu.org/licenses/>. 18 19# Process this file with automake to produce Makefile.in 20 21# Need to include ../src in addition to top_srcdir because gcrypt.h is 22# a built header. 23AM_CPPFLAGS = -I../src -I$(top_srcdir)/src 24AM_CFLAGS = $(GPG_ERROR_CFLAGS) 25 26noinst_LTLIBRARIES = librandom.la 27 28GCRYPT_MODULES = @GCRYPT_RANDOM@ 29 30librandom_la_DEPENDENCIES = $(GCRYPT_MODULES) 31librandom_la_LIBADD = $(GCRYPT_MODULES) 32 33librandom_la_SOURCES = \ 34random.c random.h \ 35rand-internal.h \ 36random-csprng.c \ 37random-fips.c \ 38rndhw.c 39 40if USE_RANDOM_DAEMON 41librandom_la_SOURCES += random-daemon.c 42endif USE_RANDOM_DAEMON 43 44 45EXTRA_librandom_la_SOURCES = \ 46rndlinux.c \ 47rndegd.c \ 48rndunix.c \ 49rndw32.c \ 50rndw32ce.c 51