Skip to content
Extraits de code Groupes Projets
Valider e65fdf1f rédigé par Amar Takhar's avatar Amar Takhar
Parcourir les fichiers

The source files for universalcharset support can be compiled with or without

actual support.  If they're compiled without then we don't need the fake
library, if they are, then include them into a library so we can send the proper
CFLAGS.

Originally committed to SVN as r1944.
parent 8c7eb8f4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -100,9 +100,11 @@ endif ...@@ -100,9 +100,11 @@ endif
if HAVE_UNIVCHARDET if HAVE_UNIVCHARDET
noinst_LIBRARIES += libmisc_universalchardet.a noinst_LIBRARIES += libmisc_universalchardet.a
libmisc_universalchardet_a_SOURCES = charset_detect.cpp libmisc_universalchardet_a_SOURCES = charset_detect.cpp text_file_reader.cpp
libmisc_universalchardet_a_CPPFLAGS = -D_X86_ -DTEXT_READER_USE_STDIO libmisc_universalchardet_a_CPPFLAGS = -D_X86_ -DTEXT_READER_USE_STDIO
aegisub_LDADD += libmisc_universalchardet.a ../universalchardet/libuniversalchardet.a aegisub_LDADD += libmisc_universalchardet.a ../universalchardet/libuniversalchardet.a
else
UNIVCHARSET = charset_detect.cpp text_file_reader.cpp
endif endif
...@@ -147,6 +149,7 @@ aegisub_SOURCES = \ ...@@ -147,6 +149,7 @@ aegisub_SOURCES = \
$(LIBASS) \ $(LIBASS) \
$(FFMPEG) \ $(FFMPEG) \
$(AUTO3_LUA) \ $(AUTO3_LUA) \
$(UNIVCHARSET) \
auto4_base.cpp \ auto4_base.cpp \
audio_player.cpp \ audio_player.cpp \
aegisublocale.cpp \ aegisublocale.cpp \
...@@ -250,7 +253,6 @@ aegisub_SOURCES = \ ...@@ -250,7 +253,6 @@ aegisub_SOURCES = \
subtitle_format_ttxt.cpp \ subtitle_format_ttxt.cpp \
subtitles_provider.cpp \ subtitles_provider.cpp \
subtitles_provider_csri.cpp \ subtitles_provider_csri.cpp \
text_file_reader.cpp \
text_file_writer.cpp \ text_file_writer.cpp \
thesaurus.cpp \ thesaurus.cpp \
thesaurus_myspell.cpp \ thesaurus_myspell.cpp \
...@@ -289,6 +291,7 @@ noinst_HEADERS = \ ...@@ -289,6 +291,7 @@ noinst_HEADERS = \
boost/throw_exception.hpp \ boost/throw_exception.hpp \
boost/workaround.hpp \ boost/workaround.hpp \
gl/glext.h \ gl/glext.h \
mythes.hxx mythes.hxx \
auto4_perldata.inc
EXTRA_DIST = $(srcdir)/*.h beautify EXTRA_DIST = $(srcdir)/*.h beautify
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter