1 |
AM_CPPFLAGS = $(GTKMM_CFLAGS) $(GTK_CFLAGS) $(GIG_CFLAGS) |
2 |
DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ |
3 |
|
4 |
if HAVE_GTK3 |
5 |
wraplabel = |
6 |
else |
7 |
wraplabel = wrapLabel.cc wrapLabel.hh |
8 |
endif |
9 |
|
10 |
if MAC |
11 |
mac_src = MacHelper.h MacHelper.mm |
12 |
mac_ld = -framework Foundation -framework AppKit |
13 |
else |
14 |
mac_src = |
15 |
mac_ld = |
16 |
endif |
17 |
|
18 |
SUBDIRS = gfx |
19 |
|
20 |
pkglib_LTLIBRARIES = libgigedit.la |
21 |
libgigedit_la_SOURCES = \ |
22 |
global.h \ |
23 |
Settings.cpp Settings.h \ |
24 |
compat.cpp compat.h \ |
25 |
gigedit.cpp gigedit.h \ |
26 |
mainwindow.cpp mainwindow.h \ |
27 |
regionchooser.cpp regionchooser.h \ |
28 |
dimregionchooser.cpp dimregionchooser.h \ |
29 |
dimregionedit.cpp dimregionedit.h \ |
30 |
paramedit.cpp paramedit.h \ |
31 |
dimensionmanager.cpp dimensionmanager.h \ |
32 |
CombineInstrumentsDialog.cpp CombineInstrumentsDialog.h \ |
33 |
midirules.cpp midirules.h \ |
34 |
scripteditor.cpp scripteditor.h \ |
35 |
ScriptPatchVars.cpp ScriptPatchVars.h \ |
36 |
scriptslots.cpp scriptslots.h \ |
37 |
ReferencesView.cpp ReferencesView.h \ |
38 |
MacroEditor.cpp MacroEditor.h \ |
39 |
MacrosSetup.cpp MacrosSetup.h \ |
40 |
ManagedWindow.cpp ManagedWindow.h \ |
41 |
$(wraplabel) $(mac_src) |
42 |
libgigedit_la_LIBADD = \ |
43 |
$(GTKMM_LIBS) $(GTK_LIBS) $(GIG_LIBS) $(SNDFILE_LIBS) gfx/libgigeditgfx.la |
44 |
libgigedit_la_CXXFLAGS = \ |
45 |
$(SNDFILE_CFLAGS) |
46 |
libgigedit_la_LDFLAGS = \ |
47 |
-version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ -no-undefined \ |
48 |
$(mac_ld) |
49 |
|
50 |
bin_PROGRAMS = gigedit |
51 |
gigedit_SOURCES = main.cpp |
52 |
gigedit_LDADD = libgigedit.la $(SIGC_LIBS) $(GTK_LIBS) $(GTKMM_LIBS) |
53 |
if WINDOWS |
54 |
gigedit_LDFLAGS = -mwindows |
55 |
endif |