gnome-chess/lib/Makefile.am
Michael Catanzaro 17f0005f34 Split several files off into an internal library
This will be a static convenience library, so we don't have to recompile
all of these files for each test binary.
2014-04-08 21:50:59 -05:00

39 lines
644 B
Makefile

noinst_LTLIBRARIES = libchess.la
libchess_la_SOURCES = \
chess-bitboard.vala \
chess-clock.vala \
chess-game.vala \
chess-move.vala \
chess-pgn.vala \
chess-piece.vala \
chess-player.vala \
chess-state.vala
libchess_la_CFLAGS = \
-w
libchess_la_CPPFLAGS = \
$(LIBCHESS_CFLAGS)
libchess_la_LIBADD = \
$(LIBCHESS_LIBS)
libchess_la_VALAFLAGS = \
--pkg glib-2.0 \
--pkg gio-2.0 \
--pkg posix \
--header=libchess.h \
--vapi=libchess.vapi
EXTRA_DIST = libchess.h
CLEANFILES = \
$(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \
*_vala.stamp \
*.log \
*.trs \
libchess.vapi \
libchess.h
-include $(top_srcdir)/git.mk