Menu

[e85c93]: / Makefile.am  Maximize  Restore  History

Download this file

150 lines (124 with data), 4.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
## Process this file with automake to produce Makefile.in
## Copyright (c) 2001-2018 Philip Kendall
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License along
## with this program; if not, write to the Free Software Foundation, Inc.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##
## Author contact information:
##
## E-mail: philip-fuse@shadowmagic.org.uk
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libspectrum.la
libspectrum_la_SOURCES = bzip2.c \
buffer.c \
creator.c \
crypto.c \
csw.c \
dck.c \
ide.c \
libspectrum.c \
memory.c \
microdrive.c \
mmc.c \
plusd.c \
pzx_read.c \
rzx.c \
sna.c \
snp.c \
dsnap.c \
snapshot.c \
snap_accessors.c \
sp.c \
symbol_table.c \
szx.c \
tap.c \
tape.c \
tape_accessors.c \
tape_block.c \
tape_set.c \
timings.c \
tzx_read.c \
tzx_write.c \
utilities.c \
warajevo_read.c \
wav.c \
windres.rc \
z80.c \
z80em.c \
zxs.c
if HAVE_ZLIB
libspectrum_la_SOURCES += zip.c \
zlib.c
endif
## The version info is made of three components: current, revision and age
## We update the version when we release according to the guide at
## https://autotools.io/libtool/version.html
## The rules of thumb, when dealing with these values are:
## * Increase the current value whenever an interface has been added, removed or
## changed.
## * Always increase the revision value.
## * Increase the age value only if the changes made to the ABI are backward
## compatible.
libspectrum_la_LDFLAGS = -version-info 17:15:8 -no-undefined @WINDRES_LDFLAGS@
libspectrum_la_LIBADD = @AUDIOFILE_LIBS@ @GLIB_LIBS@ -lm
libspectrum_la_DEPENDENCIES = @WINDRES_OBJ@
BUILT_SOURCES = libspectrum.h snap_accessors.c tape_accessors.c tape_set.c
nodist_include_HEADERS = libspectrum.h
noinst_HEADERS = internals.h \
zip.h
noinst_PROGRAMS =
noinst_DATA =
# Install the pkg-config file; the directory is set using
# PKG_INSTALLDIR in configure.ac.
pkgconfig_DATA = libspectrum.pc
AM_CFLAGS = -DLIBSPECTRUM_EXPORTS -fvisibility=hidden
make-perl$(EXEEXT): $(srcdir)/make-perl.c config.h
$(AM_V_CC)$(CC_FOR_BUILD) -I. -o $@ $<
libspectrum.h: libspectrum.h.in generate.pl snap_accessors.txt tape_accessors.txt config.h
$(AM_V_GEN)$(PERL) -p generate.pl $(srcdir) $(srcdir)/libspectrum.h.in > $@.tmp && mv $@.tmp $@
generate.pl: make-perl$(EXEEXT) generate.pl.in
$(AM_V_GEN)./make-perl$(EXEEXT) > $@
$(AM_V_at)cat $(srcdir)/generate.pl.in >> $@
snap_accessors.c: accessor.pl snap_accessors.txt
$(AM_V_GEN)$(PERL) $(srcdir)/accessor.pl $(srcdir)/snap_accessors.txt > $@.tmp && mv $@.tmp $@
tape_accessors.c: tape_accessors.pl tape_accessors.txt
$(AM_V_GEN)$(PERL) $(srcdir)/tape_accessors.pl $(srcdir)/tape_accessors.txt > $@.tmp && mv $@.tmp $@
tape_set.c: tape_set.pl tape_accessors.txt
$(AM_V_GEN)$(PERL) $(srcdir)/tape_set.pl $(srcdir)/tape_accessors.txt > $@.tmp && mv $@.tmp $@
windres.o: windres.rc
$(AM_V_GEN)$(WINDRES) -I. $(srcdir)/windres.rc windres.o
AM_CPPFLAGS = @GLIB_CFLAGS@ @AUDIOFILE_CFLAGS@
EXTRA_DIST = accessor.pl \
buffer_license.txt \
dll.c \
generate.pl.in \
m4/audiofile.m4 \
m4/ax_create_stdint_h.m4 \
m4/pkg.m4 \
make-perl.c \
tape_accessors.pl \
tape_accessors.txt \
tape_block.h \
tape_set.pl \
libspectrum.h.in \
snap_accessors.txt
CLEANFILES = libspectrum.h \
snap_accessors.c \
tape_accessors.c \
tape_set.c \
generate.pl \
make-perl$(EXEEXT)
include doc/Makefile.am
include myglib/Makefile.am
include test/Makefile.am
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.