-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile.am
203 lines (170 loc) · 6.51 KB
/
Makefile.am
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
#*****************************************************************************
# Makefile.am (seq66)
#-----------------------------------------------------------------------------
##
# \file Makefile.am
# \library seq66
# \author Chris Ahlstrom
# \date 2018-11-11
# \updates 2022-01-04
# \version $Revision$
# \license $XPC_SUITE_GPL_LICENSE$
#
# This is the top-level project makefile for the seq66 project.
# This makefile provides the skeleton needed to build the library
# and application directories using GNU autotools. It supports a number
# of sub-projects
#
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Packing targets
#-----------------------------------------------------------------------------
AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2
MAINTAINERCLEANFILES = Makefile.in Makefile $(AUX_DIST)
MOSTLYCLEANFILES = *~
#*****************************************************************************
# Extra files in the top-level directory
#-----------------------------------------------------------------------------
EXTRA_DIST = bootstrap pack README.md VERSION INSTALL NEWS ChangeLog TODO
#*****************************************************************************
# Packaging
#-----------------------------------------------------------------------------
#
# This section is recommended for the top-level Makefile.am by the
# reference.
#
#-----------------------------------------------------------------------------
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SEQ66_API_MAJOR = @SEQ66_API_MAJOR@
SEQ66_API_MINOR = @SEQ66_API_MINOR@
SEQ66_API_PATCH = @SEQ66_API_PATCH@
SEQ66_API_VERSION = @SEQ66_API_VERSION@
SEQ66_LT_CURRENT = @SEQ66_LT_CURRENT@
SEQ66_LT_REVISION = @SEQ66_LT_REVISION@
SEQ66_LT_AGE = @SEQ66_LT_AGE@
#*****************************************************************************
# Installed directories
#-----------------------------------------------------------------------------
#
# The 'libdir' define is necessary to cause the proper subdirectory to
# be made during installation. 'seq66libdir' is defined in the
# configure.ac script. The 'libdir' define is needed for work with
# libtool. Not sure about 'pkglibdr'.
#
# pkglibdir=$(seq66libdir)
#
# Directories and macros:
#
# prefix = /usr/local
# libdir = /usr/local/lib/seq66
# datadir = /usr/local/share
# datarootdir = /usr/local/share
# seq66libdir = /usr/local/lib/seq66
# seq66docdir = /usr/local/share/doc/seq66.1
# seq66includedir = /usr/local/include/seq66.1
# localedir = /usr/local/share/locale
#
# 'localedir' is the normal system directory for installed localization
# files.
#
#-----------------------------------------------------------------------------
prefix = @prefix@
libdir = @seq66libdir@
datadir = @datadir@
datarootdir = @datarootdir@
seq66docdir = @seq66docdir@
seq66includedir = @seq66includedir@
seq66libdir = @seq66libdir@
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
# $(top_srcdir)/config.status --recheck
#-----------------------------------------------------------------------------
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
#*****************************************************************************
# 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/QT5
# RTMIDI/CLI
# PORTMIDI/WINDOWS: QT5 Windows build is done via qmake.
#
# See INSTALL.
#
#-----------------------------------------------------------------------------
SUBDIRS = m4 libseq66 resources/pixmaps
if BUILD_RTMIDI
SUBDIRS += seq_rtmidi
endif
if BUILD_PORTMIDI
SUBDIRS += seq_portmidi
endif
if BUILD_SESSIONS
SUBDIRS += libsessions
endif
if BUILD_QTMIDI
SUBDIRS += seq_qt5 Seq66qt5
endif
if BUILD_RTCLI
SUBDIRS += Seq66cli
endif
if BUILD_DOCS
SUBDIRS += doc
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
#------------------------------------------------------------------------------
showver:
@echo "PACKAGE = $(PACKAGE)"
@echo "VERSION = $(VERSION)"
@echo "SEQ66_API_MAJOR = $(SEQ66_API_MAJOR)"
@echo "SEQ66_API_MINOR = $(SEQ66_API_MINOR)"
@echo "SEQ66_API_PATCH = $(SEQ66_API_PATCH)"
@echo "SEQ66_API_VERSION = $(SEQ66_API_VERSION)"
@echo "SEQ66_LT_CURRENT = $(SEQ66_LT_CURRENT)"
@echo "SEQ66_LT_REVISION = $(SEQ66_LT_REVISION)"
@echo "SEQ66_LT_AGE = $(SEQ66_LT_AGE)"
#****************************************************************************
# Makefile.am (seq66 top-level)
#----------------------------------------------------------------------------
# vim: ts=3 sw=3 ft=automake
#----------------------------------------------------------------------------