* refactor configure.ac to have distinct sections to configure each subsystem. * Dedicated LUMIERA_<subsys>_CFLAGS|_LIBS vars * Fix Makefile.am's to use them, remove unnecessary dependencies Stray dependencies to be refacored: * tests/Makefile.am has dependencies on proc and backend - should be moved to tests/library/Makefile.am etc anyways * tests/lib/Makefile.am has dependency on GUI left * src/tool/Makefile.am links GUI stuff generally, thats ok * one threading test is broken, we don't care, merging new threadpool in next.
35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
# Copyright (C) Lumiera.org
|
|
# 2008, Christian Thaeter <ct@pipapo.org>
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License as
|
|
# published by the Free Software Foundation; either version 2 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
lumiera_srcdir = $(top_srcdir)/src/lumiera
|
|
|
|
bin_PROGRAMS += lumiera
|
|
lumiera_CPPFLAGS = $(AM_CPPFLAGS)
|
|
lumiera_CFLAGS = $(AM_CFLAGS) $(LUMIERA_CFLAGS) -std=gnu99 -Wall -Wextra -Werror
|
|
lumiera_CXXFLAGS = $(AM_CXXFLAGS) $(LUMIERA_CFLAGS) -Wall -Wextra
|
|
|
|
lumiera_LDADD = \
|
|
$(LUMIERA_LIBS) \
|
|
liblumieracommon.la \
|
|
liblumierabackend.la \
|
|
liblumieraproc.la \
|
|
liblumiera.la
|
|
|
|
lumiera_SOURCES = \
|
|
$(lumiera_srcdir)/main.cpp
|
|
|
|
|