solvespace/exposed/Makefile.am
Daniel Richard G fd9dc19a34 Added the exposed/ library and demo program to the Autotools build
The libslvs library and CDemo program can now be built by Autotools. A few
code changes were needed for this: C++ comments in C code had to be
converted, constraint.cpp required some massaging, and fltkutil.cpp needed
a stub for InitHeaps().
2013-12-02 04:27:33 -05:00

37 lines
586 B
Makefile

## exposed/Makefile.am
AM_CPPFLAGS = -DLIBRARY -I$(top_srcdir)/src
AM_LDFLAGS = -L.
noinst_PROGRAMS = CDemo
noinst_LIBRARIES = libslvs.a
CDemo_SOURCES = CDemo.c
libslvs_a_SOURCES = \
slvs.h \
lib.cpp \
../src/util.cpp \
../src/entity.cpp \
../src/expr.cpp \
../src/constraint.cpp \
../src/constrainteq.cpp \
../src/system.cpp
if HAVE_FLTK
CDemo_SOURCES += ../src/fltk/fltkutil.cpp
endif
if WIN32
CDemo_SOURCES += ../src/win32/w32util.cpp
endif
CDemo_LDADD = -lslvs $(FLTK_LDSTATICFLAGS)
EXTRA_DIST = \
DOC.txt \
Makefile.msvc \
VbDemo.vb
## end exposed/Makefile.am