Control libslvs compilation from src/Makefile.am
parent
413ab5f578
commit
ae37fb783e
|
@ -2,28 +2,14 @@
|
|||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
|
||||
AM_CPPFLAGS = -DLIBRARY -I$(top_srcdir)/src -I$(top_srcdir)/include
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
|
||||
AM_LDFLAGS = -L.
|
||||
AM_LDFLAGS = -L../src
|
||||
|
||||
noinst_PROGRAMS = CDemo
|
||||
noinst_LIBRARIES = libslvs.a
|
||||
|
||||
CDemo_SOURCES = CDemo.c
|
||||
|
||||
# Set explicit CPPFLAGS to force renaming of the object files.
|
||||
# Otherwise, the object files for the GUI application will be overwritten.
|
||||
libslvs_a_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
libslvs_a_SOURCES = \
|
||||
lib.cpp \
|
||||
../src/util.cpp \
|
||||
../src/entity.cpp \
|
||||
../src/expr.cpp \
|
||||
../src/constraint.cpp \
|
||||
../src/constrainteq.cpp \
|
||||
../src/system.cpp
|
||||
|
||||
CDemo_LDADD =
|
||||
|
||||
if HAVE_FLTK
|
||||
|
|
|
@ -2,6 +2,18 @@
|
|||
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
|
||||
noinst_LIBRARIES = libslvs.a
|
||||
|
||||
libslvs_a_SOURCES = \
|
||||
../exposed/lib.cpp \
|
||||
util.cpp \
|
||||
entity.cpp \
|
||||
expr.cpp \
|
||||
constraint.cpp \
|
||||
constrainteq.cpp \
|
||||
system.cpp
|
||||
libslvs_a_CPPFLAGS = -DLIBRARY -I$(top_srcdir)/include
|
||||
|
||||
AM_CPPFLAGS = $(FLTK_CXXFLAGS) $(LIBSPNAV_CPPFLAGS)
|
||||
|
||||
if WIN32
|
||||
|
|
Loading…
Reference in New Issue