forked from ahlstromcj/sequencer64
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
243 lines (209 loc) · 8.12 KB
/
Makefile.am
File metadata and controls
243 lines (209 loc) · 8.12 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#*****************************************************************************
# Makefile.am (sequencer64)
#-----------------------------------------------------------------------------
##
# \file Makefile.am
# \library sequencer64
# \author Chris Ahlstrom
# \date 2015-09-11
# \updates 2018-09-26
# \version $Revision$
# \license $XPC_SUITE_GPL_LICENSE$
#
# This is the top-level project makefile for the sequencer64 project.
#
# This makefile provides the skeleton needed to build the library
# and application directories using GNU autotools. It supports the
# following sub-projects, depending on configuration options:
#
# resources/pixmaps
# libseq64
# seq_alsamidi
# seq_gtkmm2
# Sequencer64
# Seq64portmidi
# Seq64rtmidi
# Seq64cli
# Midiclocker64
# man
#
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Packing targets
#-----------------------------------------------------------------------------
AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2 subdir-objects
MAINTAINERCLEANFILES = Makefile.in Makefile $(AUX_DIST)
MOSTLYCLEANFILES = *~
#*****************************************************************************
# Extra files in the top-level directory
#-----------------------------------------------------------------------------
EXTRA_DIST = bootstrap pack README VERSION COPYING AUTHORS INSTALL NEWS ChangeLog
#*****************************************************************************
# Packaging
#-----------------------------------------------------------------------------
#
# This section is recommended for the top-level Makefile.am by the
# reference.
#
#-----------------------------------------------------------------------------
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SEQ64_API_MAJOR = @SEQ64_API_MAJOR@
SEQ64_API_MINOR = @SEQ64_API_MINOR@
SEQ64_API_PATCH = @SEQ64_API_PATCH@
SEQ64_API_VERSION = @SEQ64_API_VERSION@
SEQ64_LT_CURRENT = @SEQ64_LT_CURRENT@
SEQ64_LT_REVISION = @SEQ64_LT_REVISION@
SEQ64_LT_AGE = @SEQ64_LT_AGE@
#*****************************************************************************
# Installed directories
#-----------------------------------------------------------------------------
#
# The 'libdir' define is necessary to cause the proper subdirectory to
# be made during installation. 'sequencer64libdir' is defined in the
# configure.ac script. The 'libdir' define is needed for work with
# libtool. Not sure about 'pkglibdr'.
#
# pkglibdir=$(sequencer64libdir)
#
# Directories and macros:
#
# prefix = /usr/local
# libdir = /usr/local/lib/sequencer64
# datadir = /usr/local/share
# datarootdir = /usr/local/share
# sequencer64libdir = /usr/local/lib/sequencer64
# sequencer64docdir = /usr/local/share/doc/sequencer64.1
# sequencer64doxygendir = doc
# sequencer64includedir = /usr/local/include/sequencer64.1
# localedir = /usr/local/share/locale
#
# 'localedir' is the normal system directory for installed localization
# files.
#
#-----------------------------------------------------------------------------
prefix = @prefix@
libdir = @sequencer64libdir@
datadir = @datadir@
datarootdir = @datarootdir@
sequencer64docdir = @sequencer64docdir@
sequencer64doxygendir = @sequencer64doxygendir@
sequencer64includedir = @sequencer64includedir@
sequencer64libdir = @sequencer64libdir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
#******************************************************************************
# Local project directories
#------------------------------------------------------------------------------
#
# top_srcdir = ../../.. [XPC Basic directory]
# builddir = /home/ahlstrom/ca/mls/git/XPC Basic-1.1/debug
#
#------------------------------------------------------------------------------
top_srcdir = @top_srcdir@
builddir = @abs_top_builddir@
#******************************************************************************
# aclocal support
#------------------------------------------------------------------------------
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
#*****************************************************************************
# libtool
#-----------------------------------------------------------------------------
# ${SHELL} $(top_srcdir)/config.status --recheck
#-----------------------------------------------------------------------------
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(top_srcdir)/config.status --recheck
#*****************************************************************************
# SUBDIRS
#-----------------------------------------------------------------------------
#
# We decided to build the Doxygen documentation only manually, and have
# commented it out.
#
# # doc/dox
#
# Note the order of these tests is important to handling the mixing and
# matching of MIDI engine versus user-interface.
#
# RTMIDI/GTKMM
# RTMIDI/QT5
# PORTMIDI/GTKMM
# Legacy ALSA/GTKMM
# RTMIDI/CLI
# PORTMIDI/WINDOWS/CLI build: QT5 Windows build is done via qmake.
#
# See INSTALL.
#
#-----------------------------------------------------------------------------
SUBDIRS = resources/pixmaps libseq64
if BUILD_ALSAMIDI
SUBDIRS += seq_alsamidi seq_gtkmm2 Sequencer64
endif
if BUILD_PORTMIDI
SUBDIRS += seq_portmidi seq_gtkmm2 Seq64portmidi
endif
if BUILD_QTMIDI
SUBDIRS += seq_rtmidi seq_qt5 Seq64qt5
endif
if BUILD_RTCLI
SUBDIRS += seq_rtmidi Seq64cli
endif
if BUILD_RTMIDI
SUBDIRS += seq_rtmidi seq_gtkmm2 Seq64rtmidi Midiclocker64
endif
# Not supported. Use the Qt project file and qmake+mingw to build the
# Windows version. See the INSTALL file, section "Qmake-based Install".
#
# if BUILD_WINDOWS
# SUBDIRS += Seq64cli
# endif
SUBDIRS += man data
#*****************************************************************************
# DIST_SUBDIRS
#-----------------------------------------------------------------------------
DIST_SUBDIRS = $(SUBDIRS)
#*****************************************************************************
# all-local
#-----------------------------------------------------------------------------
all-local:
@echo "Top source-directory 'top_srcdir' is $(top_srcdir)"
@echo "* * * * * All build items completed * * * * *"
#******************************************************************************
# Debugging targets
#------------------------------------------------------------------------------
show:
@echo "Install directories:"
@echo
@echo "prefix = $(prefix)"
@echo "datadir = $(datadir)"
@echo "datarootdir = $(datarootdir)"
@echo "libdir = $(libdir)"
@echo "sequencer64libdir = $(sequencer64libdir)"
@echo "sequencer64datadir = $(sequencer64datadir)"
@echo "sequencer64docdir = $(sequencer64docdir)"
@echo "sequencer64doxygendir = $(sequencer64doxygendir)"
@echo "sequencer64includedir = $(sequencer64includedir)"
@echo "localedir = $(localedir)"
@echo
@echo "Local directories:"
@echo
@echo "top_srcdir = $(top_srcdir) [project root directory]"
@echo "srcdir = $(srcdir)"
@echo "top_builddir = $(top_builddir)"
@echo "builddir = $(builddir)"
showver:
@echo "PACKAGE = $(PACKAGE)"
@echo "VERSION = $(VERSION)"
@echo "SEQ64_API_MAJOR = $(SEQ64_API_MAJOR)"
@echo "SEQ64_API_MINOR = $(SEQ64_API_MINOR)"
@echo "SEQ64_API_PATCH = $(SEQ64_API_PATCH)"
@echo "SEQ64_API_VERSION = $(SEQ64_API_VERSION)"
@echo "SEQ64_LT_CURRENT = $(SEQ64_LT_CURRENT)"
@echo "SEQ64_LT_REVISION = $(SEQ64_LT_REVISION)"
@echo "SEQ64_LT_AGE = $(SEQ64_LT_AGE)"
#****************************************************************************
# Makefile.am (sequencer64 top-level)
#----------------------------------------------------------------------------
# vim: ts=3 sw=3 ft=automake
#----------------------------------------------------------------------------