2013-11-18 07:31:23 +00:00
|
|
|
## exposed/Makefile.am
|
|
|
|
|
2014-04-10 16:44:36 +00:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
|
2015-03-02 18:06:59 +00:00
|
|
|
AM_CPPFLAGS = -DLIBRARY -I$(top_srcdir)/src -I$(top_srcdir)/include
|
2013-11-18 07:31:23 +00:00
|
|
|
|
|
|
|
AM_LDFLAGS = -L.
|
|
|
|
|
|
|
|
noinst_PROGRAMS = CDemo
|
|
|
|
noinst_LIBRARIES = libslvs.a
|
|
|
|
|
|
|
|
CDemo_SOURCES = CDemo.c
|
|
|
|
|
2015-03-01 14:46:36 +00:00
|
|
|
# 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)
|
|
|
|
|
2013-11-18 07:31:23 +00:00
|
|
|
libslvs_a_SOURCES = \
|
|
|
|
lib.cpp \
|
|
|
|
../src/util.cpp \
|
|
|
|
../src/entity.cpp \
|
|
|
|
../src/expr.cpp \
|
|
|
|
../src/constraint.cpp \
|
|
|
|
../src/constrainteq.cpp \
|
|
|
|
../src/system.cpp
|
|
|
|
|
2015-02-26 03:47:35 +00:00
|
|
|
CDemo_LDADD =
|
|
|
|
|
2013-11-18 07:31:23 +00:00
|
|
|
if HAVE_FLTK
|
|
|
|
CDemo_SOURCES += ../src/fltk/fltkutil.cpp
|
2015-02-26 03:47:35 +00:00
|
|
|
CDemo_LDADD += $(FLTK_LDFLAGS) -lX11 -lGL -lGLU $(LIBSPNAV_LIBS)
|
2013-11-18 07:31:23 +00:00
|
|
|
endif
|
|
|
|
if WIN32
|
|
|
|
CDemo_SOURCES += ../src/win32/w32util.cpp
|
|
|
|
endif
|
|
|
|
|
2015-02-26 03:47:35 +00:00
|
|
|
CDemo_LDADD += -lslvs
|
2013-11-18 07:31:23 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
DOC.txt \
|
|
|
|
Makefile.msvc \
|
|
|
|
VbDemo.vb
|
|
|
|
|
|
|
|
## end exposed/Makefile.am
|