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