1# 2# Copyright 2020 Northern.tech AS 3# 4# This file is part of CFEngine 3 - written and maintained by Northern.tech AS. 5# 6# This program is free software; you can redistribute it and/or modify it 7# under the terms of the GNU General Public License as published by the 8# Free Software Foundation; version 3. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software 17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 18# 19# To the extent this program is licensed as part of the Enterprise 20# versions of CFEngine, the applicable Commercial Open Source License 21# (COSL) may apply to this file if you as a licensee so wish it. See 22# included file COSL.txt. 23# 24noinst_LTLIBRARIES = libcf-testd.la 25 26AM_CPPFLAGS = -I$(srcdir)/../libpromises -I$(srcdir)/../libntech/libutils \ 27 -I$(srcdir)/../libcfnet \ 28 -I$(srcdir)/../libenv \ 29 -I$(srcdir)/../cf-serverd \ 30 $(OPENSSL_CPPFLAGS) \ 31 $(PCRE_CPPFLAGS) \ 32 $(ENTERPRISE_CPPFLAGS) 33 34AM_CFLAGS = \ 35 $(OPENSSL_CFLAGS) \ 36 $(ENTERPRISE_CFLAGS) 37 38libcf_testd_la_LIBADD = \ 39 ../libpromises/libpromises.la \ 40 ../cf-serverd/libcf-serverd.la 41 42libcf_testd_la_SOURCES = \ 43 cf-testd.c 44 45if !BUILTIN_EXTENSIONS 46noinst_PROGRAMS = cf-testd 47# Workaround for automake madness (try removing it if you want to know why). 48cf_testd_CFLAGS = $(AM_CFLAGS) 49cf_testd_LDADD = libcf-testd.la 50endif 51 52CLEANFILES = *.gcno *.gcda 53 54# 55# Some basic clean ups 56# 57MOSTLYCLEANFILES = *~ *.orig *.rej 58