2010-12-05 20:12:42 +01:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
PROGRAM = reporter-3.0
|
|
|
|
PROGRAM_INSTALL = yes
|
|
|
|
PRECOMPILED_HEADER_NAME=r_pre.h
|
|
|
|
|
2011-01-03 13:00:12 +01:00
|
|
|
CXXFLAGS += -Iinclude $(CFLAGS_WX) -I../libaegisub/include
|
2011-12-22 22:24:40 +01:00
|
|
|
LIBS += $(LIBS_WX) $(LIBS_LIBCURL) -L../libaegisub -laegisub-3.0 $(LIBS_UCHARDET) $(LIBS_GL)
|
|
|
|
LDFLAGS += -Wl,-rpath ../libaegisub
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
# File-specific flags
|
|
|
|
upload.o: CXXFLAGS += $(CFLAGS_CURL)
|
|
|
|
|
|
|
|
SRC = \
|
|
|
|
aegisub.cpp \
|
|
|
|
main.cpp \
|
|
|
|
platform.cpp \
|
|
|
|
platform_unix.cpp \
|
|
|
|
progress.cpp \
|
|
|
|
report.cpp \
|
|
|
|
upload.cpp \
|
2011-01-08 20:14:02 +01:00
|
|
|
util.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
view.cpp
|
|
|
|
|
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_BSD))
|
|
|
|
SRC += platform_unix_bsd.cpp
|
2012-01-14 19:46:43 +01:00
|
|
|
else
|
|
|
|
EXTRA_DIST += platform_unix_bsd.cpp
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_LINUX))
|
|
|
|
SRC += platform_unix_linux.cpp
|
2012-01-14 19:46:43 +01:00
|
|
|
else
|
|
|
|
EXTRA_DIST += platform_unix_linux.cpp
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
|
|
SRC += platform_unix_osx.cpp
|
2012-01-14 19:46:43 +01:00
|
|
|
else
|
|
|
|
EXTRA_DIST += platform_unix_osx.cpp
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
HEADER = \
|
|
|
|
*.h \
|
|
|
|
include/*.h
|
|
|
|
|
|
|
|
include ../Makefile.target
|
2011-01-10 22:27:39 +01:00
|
|
|
-include *.d
|