• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Makefile for the adhoc-tests subdirectory of GNU libtextstyle.
2## Copyright (C) 2019 Free Software Foundation, Inc.
3##
4## This program is free software: you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 3 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program.  If not, see <https://www.gnu.org/licenses/>.
16
17## Process this file with automake to produce Makefile.in.
18
19AUTOMAKE_OPTIONS = 1.13 gnits
20EXTRA_DIST =
21MOSTLYCLEANFILES = core *.stackdump
22CLEANFILES =
23DISTCLEANFILES =
24
25RM = rm -f
26
27# The list of programs that are built.
28noinst_PROGRAMS = hello
29
30# The source files of each program.
31hello_SOURCES = hello.c
32
33# Define the styles.
34noinst_DATA = hello-default.css
35
36AM_CPPFLAGS = \
37  -I. -I$(srcdir) \
38  -I.. \
39  -I../lib -I$(srcdir)/../lib \
40  -DSRCDIR=\"$(srcdir)/\"
41
42# Link dependencies.
43LDADD = ../lib/libtextstyle.la
44
45# Additional files to be distributed.
46EXTRA_DIST += $(noinst_DATA)
47
48
49# Remove .deps directories created by 'configure'.
50# I would say that this left-over is an Automake 1.16.1 bug.
51distclean-local:
52	rm -rf $(DEPDIR) */$(DEPDIR)
53