1 |
AM_CPPFLAGS = $(GTKMM_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.m |
12 |
mac_ld = -framework Foundation |
13 |
else |
14 |
mac_src = |
15 |
mac_ld = |
16 |
endif |
17 |
|
18 |
pkglib_LTLIBRARIES = libgigedit.la |
19 |
libgigedit_la_SOURCES = \ |
20 |
global.h \ |
21 |
compat.cpp compat.h \ |
22 |
gigedit.cpp gigedit.h \ |
23 |
mainwindow.cpp mainwindow.h \ |
24 |
regionchooser.cpp regionchooser.h \ |
25 |
dimregionchooser.cpp dimregionchooser.h \ |
26 |
dimregionedit.cpp dimregionedit.h \ |
27 |
paramedit.cpp paramedit.h \ |
28 |
dimensionmanager.cpp dimensionmanager.h \ |
29 |
CombineInstrumentsDialog.cpp CombineInstrumentsDialog.h \ |
30 |
midirules.cpp midirules.h \ |
31 |
Settings.cpp Settings.h \ |
32 |
scripteditor.cpp scripteditor.h \ |
33 |
scriptslots.cpp scriptslots.h \ |
34 |
ReferencesView.cpp ReferencesView.h \ |
35 |
$(wraplabel) $(mac_src) |
36 |
libgigedit_la_LIBADD = \ |
37 |
$(GTKMM_LIBS) $(GIG_LIBS) $(SNDFILE_LIBS) |
38 |
libgigedit_la_CXXFLAGS = \ |
39 |
$(SNDFILE_CFLAGS) |
40 |
libgigedit_la_LDFLAGS = \ |
41 |
-version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ -no-undefined \ |
42 |
$(mac_ld) |
43 |
|
44 |
bin_PROGRAMS = gigedit |
45 |
gigedit_SOURCES = main.cpp |
46 |
gigedit_LDADD = libgigedit.la $(SIGC_LIBS) |
47 |
if WINDOWS |
48 |
gigedit_LDFLAGS = -mwindows |
49 |
endif |