13
0

fix up obj.defines for generic MIDI wscript

This commit is contained in:
Paul Davis 2014-01-23 13:38:45 -05:00
parent 9d01082243
commit d16edb530e

View File

@ -30,18 +30,16 @@ def build(bld):
midiaction.cc
'''
obj.export_includes = ['.']
obj.defines = [ 'PACKAGE="ardour_genericmidi"' ]
obj.includes = ['.', './generic_midi']
obj.defines = [ 'PACKAGE="ardour_genericmidi"' ]
obj.defines += [ 'ARDOURSURFACE_DLL_EXPORTS' ]
obj.defines += [ 'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"' ]
obj.includes = [ '.', './generic_midi']
obj.name = 'libardour_generic_midi'
obj.target = 'ardour_generic_midi'
obj.defines = [ 'ARDOURSURFACE_DLL_EXPORTS' ]
obj.uselib = 'GTKMM GTK GDK'
obj.use = 'libardour libardour_cp libgtkmm2ext libpbd'
obj.vnum = LIBARDOUR_GENERIC_MIDI_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3', 'surfaces')
obj.defines += [
'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"'
]
def shutdown():
autowaf.shutdown()