1# ReZound frontend_fox/Makefile.am Written by Anthony Ventimiglia
2## Process this file with automake to create Makefile.in
3##
4##
5##   Copyright (C) 2002 - Anthony Ventimiglia
6##
7##   This file is part of ReZound, an audio editing application, but
8##   could be used for other applications which could use the PoolFile
9##   class's functionality.
10##
11##   PoolFile is free software; you can redistribute it and/or modify
12##   it under the terms of the GNU General Public License as published
13##   by the Free Software Foundation; either version 2 of the License,
14##   or (at your option) any later version.
15##
16##   PoolFile is distributed in the hope that it will be useful, but
17##   WITHOUT ANY WARRANTY; without even the implied warranty of
18##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19##   GNU General Public License for more details.
20##
21##   You should have received a copy of the GNU General Public License
22##   along with this program; if not, write to the Free Software
23##   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
24################################################################################
25
26include $(top_srcdir)/config/am_include.mk
27
28noinst_LTLIBRARIES=libfrontend.la
29libfrontend_la_SOURCES= \
30			CFOXIcons.cpp \
31			CActionMenuCommand.cpp \
32			CChannelSelectDialog.cpp \
33			CCrossfadeEdgesDialog.cpp \
34			CActionParamDialog.cpp \
35			CCueDialog.cpp \
36			CCueListDialog.cpp \
37			CMainWindow.cpp \
38			CNewSoundDialog.cpp \
39			CRecordDialog.cpp \
40			CRecordMacroDialog.cpp \
41			CMacroActionParamsDialog.cpp \
42			CPasteChannelsDialog.cpp \
43			CProgressDialog.cpp \
44			CSoundFileManager.cpp \
45			CFrontendHooks.cpp \
46			CSoundWindow.cpp \
47			CMetersWindow.cpp \
48			CStatusComm.cpp \
49			CUserNotesDialog.cpp \
50			CRezSaveParametersDialog.cpp \
51			CRawDialog.cpp \
52			CVoxDialog.cpp \
53			COggDialog.cpp \
54			CMp3Dialog.cpp \
55			CJACKPortChoiceDialog.cpp \
56			CMIDIDumpSampleIdDialog.cpp \
57			ClibaudiofileSaveParametersDialog.cpp \
58			drawPortion.cpp \
59			FileActionDialogs.cpp \
60			EditActionDialogs.cpp \
61			EffectActionDialogs.cpp \
62			FilterActionDialogs.cpp \
63			GenerateActionDialogs.cpp \
64			RemasterActionDialogs.cpp \
65			LoopingActionDialogs.cpp \
66			CAboutDialog.cpp \
67			FXConstantParamValue.cpp \
68			FXTextParamValue.cpp \
69			FXDiskEntityParamValue.cpp \
70			FXComboTextParamValue.cpp \
71			FXCheckBoxParamValue.cpp \
72			FXGraphParamValue.cpp \
73			FXLFOParamValue.cpp \
74			FXPluginRoutingParamValue.cpp \
75			FXModalDialogBox.cpp \
76			FXRezWaveView.cpp \
77			FXWaveScrollArea.cpp \
78			FXWaveCanvas.cpp \
79			CLADSPAActionDialog.cpp \
80			CKeyBindingsDialog.cpp \
81			rememberShow.cpp \
82			settings.cpp
83
84## bin_PROGRAMS is the macro that tells automake the name of the programs to
85## install in the bin directory (/usr/local/bin) by default. By setting
86## --prefix= at configure time the user can change this (eg: ./configure
87## --prefix=/usr will install ReZound under /usr/bin/ReZound )
88bin_PROGRAMS=rezound
89
90## for every name listed under bin_PROGRAMS, you have a prog_SOURCES. This lists
91## all the sources in the current directory that are used to build ReZound.
92rezound_SOURCES= main.cpp
93
94## ReZound_LDADD is a list of extras to pass at link time. All the objects
95## created by the above ReZound_SOURCES are automatically linked in, so here I
96## list object files from other directories as well as flags passed to the
97## linker. By using convienience libraries, it makes this part much easier.
98## It's up to each subdirectory's Makefile to build it's .la library.
99## notice we use $(top_builddir) for the modules. This allows building in a
100## separate directory
101_rezound_LDADD= libfrontend.la\
102	$(top_builddir)/src/backend/libbackend.la \
103	$(top_builddir)/src/backend/File/libFile.la \
104	$(top_builddir)/src/backend/Edits/libEdits.la \
105	$(top_builddir)/src/backend/Effects/libEffects.la \
106	$(top_builddir)/src/backend/Filters/libFilters.la \
107	$(top_builddir)/src/backend/Looping/libLooping.la \
108	$(top_builddir)/src/backend/Remaster/libRemaster.la \
109	$(top_builddir)/src/backend/Generate/libGenerate.la \
110	@MAYBE_LADSPA_LIB@ \
111	$(top_builddir)/src/misc/CNestedDataFile/libmiscCN.la \
112	$(top_builddir)/src/PoolFile/libPoolFile.la \
113	$(top_builddir)/src/misc/libmisc.la
114
115rezound_LDADD=$(_rezound_LDADD) @FOX_LIBS@
116
117## if I don't do this, automake leaves out @abc@ vars when creating the rezound_DEPENDENCES value
118## so changes to the LADSPA lib (that may or may not be built) don't cause a re-link
119rezound_DEPENDENCIES=$(_rezound_LDADD)
120
121
122AM_CXXFLAGS=@FOX_CFLAGS@
123
124noinst_HEADERS=\
125	CFOXIcons.h \
126	fox_compat.h \
127	CActionMenuCommand.h \
128	CChannelSelectDialog.h \
129	CCrossfadeEdgesDialog.h \
130	CActionParamDialog.h \
131	CCueDialog.h \
132	CCueListDialog.h \
133	CMainWindow.h \
134	CNewSoundDialog.h \
135	CRecordDialog.h \
136	CRecordMacroDialog.h \
137	CMacroActionParamsDialog.h \
138	CPasteChannelsDialog.h \
139	CProgressDialog.h \
140	CSoundFileManager.h \
141	CFrontendHooks.h \
142	CSoundWindow.h \
143	CMetersWindow.h \
144	CStatusComm.h \
145	CUserNotesDialog.h \
146	CRezSaveParametersDialog.h \
147	CRawDialog.h \
148	CVoxDialog.h \
149	COggDialog.h \
150	CMp3Dialog.h \
151	CJACKPortChoiceDialog.h \
152	CMIDIDumpSampleIdDialog.h \
153	ClibaudiofileSaveParametersDialog.h \
154	FileActionDialogs.h \
155	EditActionDialogs.h \
156	EffectActionDialogs.h \
157	FilterActionDialogs.h \
158	GenerateActionDialogs.h \
159	RemasterActionDialogs.h \
160	LoopingActionDialogs.h \
161	CAboutDialog.h \
162	FXConstantParamValue.h \
163	FXPluginRoutingParamValue.h \
164	FXTextParamValue.h \
165	FXDiskEntityParamValue.h \
166	FXComboTextParamValue.h \
167	FXCheckBoxParamValue.h \
168	FXGraphParamValue.h \
169	FXLFOParamValue.h \
170	FXModalDialogBox.h \
171	FXRezWaveView.h \
172	FXWaveScrollArea.h \
173	FXWaveCanvas.h \
174	CLADSPAActionDialog.h \
175	CKeyBindingsDialog.h \
176	FXPopupHint.h \
177	FXBackBufferedCanvas.h \
178	drawPortion.h \
179	rememberShow.h \
180	custom_cursors.h \
181	utils.h \
182	settings.h
183
184EXTRA_DIST=convert_images.sh
185
186
187distclean-compile:
188	-rm -f CFOXIcons.h CFOXIcons.cpp
189
190
191## Commented out with namechange
192
193## # Have some rules to manage creating and removing a soft-link
194## # called 'rezound' to the 'ReZound' binary because lower case
195## # is the norm.
196## LINK_NAME=rezound
197##
198## install-exec-local:
199## 	cd $(bindir) && rm -f $(LINK_NAME) && $(LN_S) ReZound $(LINK_NAME)
200## uninstall-local:
201## 	cd $(bindir) && rm -f $(LINK_NAME)
202##
203