Aegisub/aegisub/src/libresrc/Makefile.am
Amar Takhar c3c14b0815 Change how libresrc is built:
* Instead of putting code into the .(c|h) files place it into two new files libresrc.(c|h)
 * Bitmaps now go into bitmaps.(c|h)
 * Default configs into default_config.(c|h)

With this approach we can easily embed any resources by simply calling it with common-respack and not having to do anything else.

Originally committed to SVN as r4169.
2010-03-03 00:44:17 +00:00

21 lines
622 B
Makefile

noinst_LIBRARIES = libresrc.a
libresrc_a_SOURCES = libresrc.cpp libresrc.h
nodist_libresrc_a_SOURCES = bitmap.cpp bitmap.h default_config.cpp default_config.h
libresrc_a_CPPFLAGS = @WX_CPPFLAGS@
BUILT_SOURCES = bitmap.cpp default_config.cpp
bitmap.cpp: ../../tools/common-respack
../../tools/common-respack bitmap.cpp ../bitmaps/16 ../bitmaps/24 ../bitmaps/misc/splash.png ../bitmaps/misc/wxicon.png
default_config.cpp: ../../tools/common-respack
../../tools/common-respack default_config.cpp ./default_mru.json
EXTRA_DIST = mru.json
CLEANFILES= \
bitmap.cpp \
bitmap.h \
default_config.cpp \
default_config.h