2007-04-26 23:38:42 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2007-04-25 04:03:02 +02:00
|
|
|
EXTRA_DIST = res.rc $(srcdir)/*.h beautify
|
2007-04-26 23:38:42 +02:00
|
|
|
|
2006-03-25 17:14:24 +01:00
|
|
|
SUFFIXES = .c .cpp .rc
|
|
|
|
|
2007-04-26 23:38:42 +02:00
|
|
|
SUBDIRS = bitmaps posix
|
2006-03-25 17:14:24 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS = aegisub
|
|
|
|
|
2007-05-07 18:44:26 +02:00
|
|
|
SVNREV := $(shell svnversion | sed 's/[^0-9].*//')
|
2006-05-07 16:29:45 +02:00
|
|
|
DARCSREV := $(strip $(shell head -n 1 ../_darcs/inventory 2>/dev/null))
|
|
|
|
REVISION := $(if $(SVNREV),-DBUILD_SVN_REVISION=$(SVNREV)) $(if $(DARCSREV),-DBUILD_DARCS)
|
|
|
|
BUILDINFO := -DBUILD_CREDIT="\"$(shell whoami)\"" $(REVISION)
|
|
|
|
|
2008-01-19 18:39:50 +01:00
|
|
|
AM_CPPFLAGS = -DAEGISUB -Iposix -include posix/defines.h -include posix/config.h $(BUILDINFO)
|
2007-06-08 02:30:37 +02:00
|
|
|
aegisub_LDADD = posix/libposix.a ../csri/lib/.libs/libcsri.a
|
2007-04-25 00:29:27 +02:00
|
|
|
aegisub_LDFLAGS =
|
2007-01-30 23:13:26 +01:00
|
|
|
|
2007-04-04 21:40:06 +02:00
|
|
|
if USE_LIBASS
|
|
|
|
LIBASS=subtitles_provider_libass.cpp
|
|
|
|
else
|
|
|
|
LIBASS=
|
|
|
|
endif
|
|
|
|
|
2007-04-22 23:59:35 +02:00
|
|
|
AUDIO_PLAYER=audio_player.cpp
|
2007-04-22 09:04:31 +02:00
|
|
|
if HAVE_PORTAUDIO
|
2007-04-23 04:30:27 +02:00
|
|
|
AUDIO_PLAYER += audio_player_portaudio.cpp
|
2007-04-22 23:59:35 +02:00
|
|
|
endif
|
|
|
|
if HAVE_ALSA
|
2007-04-23 04:30:27 +02:00
|
|
|
AUDIO_PLAYER += audio_player_alsa.cpp
|
2007-04-22 09:04:31 +02:00
|
|
|
endif
|
2007-04-23 04:30:27 +02:00
|
|
|
if HAVE_PULSEAUDIO
|
|
|
|
AUDIO_PLAYER += audio_player_pulse.cpp
|
|
|
|
endif
|
2007-04-22 09:04:31 +02:00
|
|
|
|
2007-05-03 19:57:21 +02:00
|
|
|
AUTOMATION = auto4_base.cpp
|
|
|
|
if WITH_AUTO4_LUA
|
|
|
|
AUTOMATION += auto4_lua.cpp auto4_lua_assfile.cpp auto4_lua_dialog.cpp auto4_lua_scriptreader.cpp
|
|
|
|
aegisub_LDADD += ../lua51/src/liblua.a
|
|
|
|
endif
|
|
|
|
if WITH_AUTO3
|
|
|
|
AUTOMATION += auto4_auto3.cpp
|
2007-05-07 18:44:26 +02:00
|
|
|
aegisub_LDADD += ../auto3/libaegisub-auto3.la
|
2007-05-03 19:57:21 +02:00
|
|
|
endif
|
|
|
|
if WITH_AUTO4_RUBY
|
|
|
|
AUTOMATION += auto4_ruby_assfile.cpp auto4_ruby.cpp auto4_ruby_dialog.cpp
|
2007-05-07 16:22:18 +02:00
|
|
|
AM_CPPFLAGS += $(shell ruby -r rbconfig -e "p '-I' + Config::CONFIG['rubylibdir'] + '/' + Config::CONFIG['arch'] ") $(AM_CPPFLAGST)
|
2007-04-23 00:20:53 +02:00
|
|
|
endif
|
2008-01-24 18:20:47 +01:00
|
|
|
if WITH_AUTO4_PERL
|
|
|
|
AUTOMATION += auto4_perl.cpp auto4_perl_script.cpp auto4_perl_dialogs.cpp auto4_perl_ass.cpp auto4_perl_console.cpp
|
|
|
|
AM_CPPFLAGS += $(shell perl -MExtUtils::Embed -eccflags -eperl_inc)
|
|
|
|
aegisub_LDFLAGS += $(shell perl -MExtUtils::Embed -eldopts)
|
|
|
|
endif
|
2007-01-30 23:13:26 +01:00
|
|
|
|
2007-04-22 17:45:29 +02:00
|
|
|
if HAVE_HUNSPELL
|
|
|
|
HUNSPELL=spellchecker_hunspell.cpp
|
|
|
|
else
|
|
|
|
HUNSPELL=
|
2007-04-22 23:59:35 +02:00
|
|
|
endif
|
2007-04-22 17:45:29 +02:00
|
|
|
|
2007-04-24 02:52:49 +02:00
|
|
|
if HAVE_FFMPEG
|
2007-10-29 19:48:02 +01:00
|
|
|
FFMPEG=audio_provider_lavc.cpp lavc_file.cpp video_provider_lavc.cpp lavc_keyframes.cpp
|
2007-04-24 02:52:49 +02:00
|
|
|
else
|
|
|
|
FFMPEG=
|
|
|
|
endif
|
|
|
|
|
2007-04-25 00:29:27 +02:00
|
|
|
|
|
|
|
## These aren't built, but are listed here so 'make dist' can always find all the sources
|
2007-04-25 04:03:02 +02:00
|
|
|
## This should also list all Win32 specific files
|
2007-04-25 00:29:27 +02:00
|
|
|
EXTRA_aegisub_SOURCES = \
|
|
|
|
audio_player_alsa.cpp \
|
|
|
|
audio_player_dsound.cpp \
|
2007-04-25 04:03:02 +02:00
|
|
|
audio_player_portaudio.cpp \
|
|
|
|
audio_player_pulse.cpp \
|
|
|
|
audio_provider_avs.cpp \
|
2007-04-25 00:29:27 +02:00
|
|
|
audio_provider_lavc.cpp \
|
2007-05-03 19:57:21 +02:00
|
|
|
auto4_lua.cpp \
|
|
|
|
auto4_lua_assfile.cpp \
|
|
|
|
auto4_lua_dialog.cpp \
|
|
|
|
auto4_lua_scriptreader.cpp \
|
|
|
|
auto4_auto3.cpp \
|
2007-04-25 04:03:02 +02:00
|
|
|
auto4_ruby.cpp \
|
|
|
|
auto4_ruby_assfile.cpp \
|
|
|
|
auto4_ruby_dialog.cpp \
|
|
|
|
avisynth.h \
|
|
|
|
avisynth_wrap.cpp \
|
|
|
|
dialog_associations.cpp \
|
|
|
|
factory.h \
|
2007-04-25 00:29:27 +02:00
|
|
|
lavc_file.cpp \
|
2007-10-29 19:48:02 +01:00
|
|
|
lavc_keyframes.cpp \
|
2007-04-25 04:03:02 +02:00
|
|
|
setup.cpp \
|
|
|
|
spellchecker_hunspell.cpp \
|
|
|
|
stdwx.cpp \
|
|
|
|
stdwx.h \
|
|
|
|
subtitle_format_prs.cpp \
|
|
|
|
subtitles_provider_libass.cpp \
|
|
|
|
video_provider_avs.cpp \
|
|
|
|
video_provider_dshow.cpp \
|
2007-04-26 23:38:42 +02:00
|
|
|
video_provider_lavc.cpp \
|
|
|
|
boost/*.hpp \
|
|
|
|
csri/*.h \
|
|
|
|
gl/*.h \
|
|
|
|
win32/stdint.h
|
2007-04-25 00:29:27 +02:00
|
|
|
|
2007-01-01 20:45:32 +01:00
|
|
|
aegisub_SOURCES = \
|
2007-04-24 02:52:49 +02:00
|
|
|
$(AUDIO_PLAYER) \
|
2007-05-03 19:57:21 +02:00
|
|
|
$(AUTOMATION) \
|
2007-04-24 02:52:49 +02:00
|
|
|
$(HUNSPELL) \
|
|
|
|
$(LIBASS) \
|
|
|
|
$(FFMPEG) \
|
2006-03-25 17:14:24 +01:00
|
|
|
aegisublocale.cpp \
|
2006-07-08 00:48:10 +02:00
|
|
|
ass_attachment.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
ass_dialogue.cpp \
|
|
|
|
ass_entry.cpp \
|
|
|
|
ass_export_filter.cpp \
|
|
|
|
ass_exporter.cpp \
|
|
|
|
ass_file.cpp \
|
2007-06-23 02:36:07 +02:00
|
|
|
ass_karaoke.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
ass_override.cpp \
|
|
|
|
ass_style.cpp \
|
|
|
|
ass_style_storage.cpp \
|
|
|
|
ass_time.cpp \
|
|
|
|
audio_box.cpp \
|
|
|
|
audio_display.cpp \
|
|
|
|
audio_karaoke.cpp \
|
|
|
|
audio_provider.cpp \
|
2008-01-19 03:18:08 +01:00
|
|
|
audio_provider_convert.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
audio_provider_hd.cpp \
|
|
|
|
audio_provider_ram.cpp \
|
2007-08-22 22:58:53 +02:00
|
|
|
audio_provider_pcm.cpp \
|
2006-07-08 00:48:10 +02:00
|
|
|
audio_provider_stream.cpp \
|
2007-01-10 02:36:05 +01:00
|
|
|
audio_spectrum.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
avisynth_wrap.cpp \
|
|
|
|
base_grid.cpp \
|
2007-04-18 01:03:08 +02:00
|
|
|
browse_button.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
colorspace.cpp \
|
2007-01-11 04:52:17 +01:00
|
|
|
colour_button.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
dialog_about.cpp \
|
2006-07-08 00:48:10 +02:00
|
|
|
dialog_attachments.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
dialog_automation.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_colorpicker.cpp \
|
2007-01-30 23:13:26 +01:00
|
|
|
dialog_detached_video.cpp \
|
2007-04-02 20:28:09 +02:00
|
|
|
dialog_dummy_video.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_export.cpp \
|
2007-01-03 22:18:19 +01:00
|
|
|
dialog_fonts_collector.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_jumpto.cpp \
|
2007-01-30 23:13:26 +01:00
|
|
|
dialog_kanji_timer.cpp \
|
2006-07-08 00:48:10 +02:00
|
|
|
dialog_options.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
dialog_paste_over.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_progress.cpp \
|
|
|
|
dialog_properties.cpp \
|
|
|
|
dialog_resample.cpp \
|
|
|
|
dialog_search_replace.cpp \
|
|
|
|
dialog_selection.cpp \
|
|
|
|
dialog_shift_times.cpp \
|
2007-04-18 21:44:45 +02:00
|
|
|
dialog_spellchecker.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
dialog_splash.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_style_editor.cpp \
|
|
|
|
dialog_style_manager.cpp \
|
|
|
|
dialog_styling_assistant.cpp \
|
2007-07-16 05:22:11 +02:00
|
|
|
dialog_text_import.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_timing_processor.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
dialog_tip.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
dialog_translation.cpp \
|
2007-01-08 22:11:06 +01:00
|
|
|
dialog_version_check.cpp \
|
2007-08-20 00:21:41 +02:00
|
|
|
dialog_video_details.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
drop.cpp \
|
|
|
|
export_clean_info.cpp \
|
|
|
|
export_fixstyle.cpp \
|
|
|
|
export_framerate.cpp \
|
2007-01-09 02:52:30 +01:00
|
|
|
export_visible_lines.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
fft.cpp \
|
2007-06-20 07:18:47 +02:00
|
|
|
font_file_lister.cpp \
|
2007-07-29 03:21:28 +02:00
|
|
|
font_file_lister_fontconfig.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
frame_main.cpp \
|
|
|
|
frame_main_events.cpp \
|
2007-04-18 21:44:45 +02:00
|
|
|
gl_text.cpp \
|
2007-01-24 04:03:16 +01:00
|
|
|
gl_wrap.cpp \
|
2007-08-18 04:00:20 +02:00
|
|
|
help_button.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
hilimod_textctrl.cpp \
|
|
|
|
hotkeys.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
idle_field_event.cpp \
|
2007-01-30 23:13:26 +01:00
|
|
|
kana_table.cpp \
|
2007-08-26 02:00:37 +02:00
|
|
|
keyframe.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
main.cpp \
|
2006-04-08 21:33:43 +02:00
|
|
|
md5.c \
|
2006-03-25 17:14:24 +01:00
|
|
|
mkv_wrap.cpp \
|
2007-01-03 22:18:19 +01:00
|
|
|
mythes.cxx \
|
2006-03-25 17:14:24 +01:00
|
|
|
options.cpp \
|
2007-06-23 01:43:21 +02:00
|
|
|
scintilla_text_ctrl.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
spellchecker.cpp \
|
2007-07-05 04:01:12 +02:00
|
|
|
spline.cpp \
|
2007-07-07 07:51:18 +02:00
|
|
|
spline_curve.cpp \
|
2007-06-20 23:26:39 +02:00
|
|
|
standard_paths.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
static_bmp.cpp \
|
|
|
|
string_codec.cpp \
|
|
|
|
subs_edit_box.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
subs_edit_ctrl.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
subs_grid.cpp \
|
2007-04-16 06:26:42 +02:00
|
|
|
subs_preview.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
subtitle_format.cpp \
|
|
|
|
subtitle_format_ass.cpp \
|
2008-01-21 04:58:14 +01:00
|
|
|
subtitle_format_dvd.cpp \
|
2007-06-19 07:04:15 +02:00
|
|
|
subtitle_format_encore.cpp \
|
2007-06-18 20:27:27 +02:00
|
|
|
subtitle_format_microdvd.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
subtitle_format_mkv.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
subtitle_format_srt.cpp \
|
|
|
|
subtitle_format_txt.cpp \
|
2007-06-18 20:27:27 +02:00
|
|
|
subtitle_format_ttxt.cpp \
|
2007-01-24 04:03:16 +01:00
|
|
|
subtitles_provider.cpp \
|
|
|
|
subtitles_provider_csri.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
text_file_reader.cpp \
|
|
|
|
text_file_writer.cpp \
|
2007-01-01 20:45:32 +01:00
|
|
|
thesaurus.cpp \
|
|
|
|
thesaurus_myspell.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
timeedit_ctrl.cpp \
|
|
|
|
toggle_bitmap.cpp \
|
2007-06-30 22:32:02 +02:00
|
|
|
tooltip_manager.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
utils.cpp \
|
|
|
|
validators.cpp \
|
|
|
|
variable_data.cpp \
|
2007-07-05 15:53:10 +02:00
|
|
|
vector2d.cpp \
|
2006-04-08 21:33:43 +02:00
|
|
|
version.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
vfr.cpp \
|
|
|
|
video_box.cpp \
|
2007-01-24 04:03:16 +01:00
|
|
|
video_context.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
video_display.cpp \
|
2007-01-24 04:03:16 +01:00
|
|
|
video_frame.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
video_provider.cpp \
|
2007-04-02 00:06:00 +02:00
|
|
|
video_provider_dummy.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
video_slider.cpp \
|
2007-07-01 02:19:55 +02:00
|
|
|
visual_feature.cpp \
|
|
|
|
visual_tool.cpp \
|
2007-07-01 05:36:17 +02:00
|
|
|
visual_tool_clip.cpp \
|
2007-07-01 02:19:55 +02:00
|
|
|
visual_tool_cross.cpp \
|
2007-07-01 05:36:17 +02:00
|
|
|
visual_tool_drag.cpp \
|
2007-07-01 04:46:12 +02:00
|
|
|
visual_tool_rotatexy.cpp \
|
2007-07-01 04:23:57 +02:00
|
|
|
visual_tool_rotatez.cpp \
|
2007-07-01 05:17:56 +02:00
|
|
|
visual_tool_scale.cpp \
|
2007-07-05 06:32:46 +02:00
|
|
|
visual_tool_vector_clip.cpp \
|
2006-03-25 17:14:24 +01:00
|
|
|
MatroskaParser.c
|
|
|
|
|
2007-04-04 20:50:43 +02:00
|
|
|
noinst_HEADERS = \
|
|
|
|
boost/assert.hpp \
|
|
|
|
boost/checked_delete.hpp \
|
|
|
|
boost/shared_count.hpp \
|
|
|
|
boost/shared_ptr.hpp \
|
|
|
|
boost/throw_exception.hpp \
|
|
|
|
boost/workaround.hpp \
|
|
|
|
gl/glext.h \
|
|
|
|
csri/csri.h \
|
|
|
|
csri/logging.h \
|
|
|
|
csri/openerr.h \
|
|
|
|
mythes.hxx
|