Aegisub/aegisub/reporter/Makefile.am

52 lines
1 KiB
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = foreign
AM_CXXFLAGS =
DISTCLEANFILES =
bin_PROGRAMS = reporter-2.2
if PRECOMPILED_HEADER
BUILT_SOURCES = r_pre.h.gch
AM_CXXFLAGS += -include r_pre.h -Winvalid-pch -fpch-deps -fpch-preprocess
nodist_reporter_2_2_SOURCES = r_prec.h.gch
endif
reporter_2_2_CPPFLAGS = -Iinclude @LIBCURL_CFLAGS@ @WX_CPPFLAGS@
reporter_2_2_LDFLAGS = @WX_LIBS@ @LIBCURL_LIBS@
if PRECOMPILED_HEADER
# This doesn't depend on Makefile on purpose, you should already know what you're doing when using this.
r_pre.h.gch: r_pre.h
@CXX@ @WX_CPPFLAGS@ @CXXFLAGS@ @DEBUG_FLAGS@ r_pre.h
DISTCLEANFILES += r_pre.h.gch
endif
reporter_2_2_SOURCES = \
aegisub.cpp \
main.cpp \
name_map.cpp \
platform.cpp \
platform_unix.cpp \
progress.cpp \
report.cpp \
upload.cpp \
view.cpp
if BUILD_BSD
reporter_2_2_SOURCES += platform_unix_bsd.cpp
endif
if BUILD_LINUX
reporter_2_2_SOURCES += platform_unix_linux.cpp
endif
if BUILD_DARWIN
reporter_2_2_SOURCES += platform_unix_osx.cpp
endif
reporter_2_2_SOURCES += \
*.h \
include/*.h