git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
|
|
lib_LTLIBRARIES=libJtReader.la JtReader.la
|
|
|
|
BUILT_SOURCES=\
|
|
FreeCADpov.h
|
|
|
|
libJtReader_la_SOURCES=\
|
|
PreCompiled.cpp \
|
|
PreCompiled.h \
|
|
|
|
|
|
FreeCADpov.h: FreeCADpov
|
|
$(PYTHON) $(top_srcdir)/src/Tools/PythonToCPP.py $< $@
|
|
|
|
|
|
# the library search path.
|
|
libJtReader_la_LDFLAGS = -L../../../Base -L../../../App -L../../Part/App -L/usr/X11R6/lib -L$(OCC_LIB) \
|
|
$(all_libraries) -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
|
|
libJtReader_la_CPPFLAGS = -DAppPartExport= -DAppJtReaderExport= -DFeatureRayExportPov=
|
|
|
|
libJtReader_la_LIBADD = \
|
|
-lxerces-c \
|
|
-l@PYTHON_LIB@ \
|
|
-lFreeCADBase \
|
|
-lFreeCADApp
|
|
|
|
#--------------------------------------------------------------------------------------
|
|
# Loader of libJtReader
|
|
|
|
JtReader_la_SOURCES=\
|
|
AppJtReader.cpp
|
|
|
|
# the library search path.
|
|
JtReader_la_LDFLAGS = $(libJtReader_la_LDFLAGS) -module -avoid-version
|
|
JtReader_la_CPPFLAGS = $(libJtReader_la_CPPFLAGS)
|
|
|
|
JtReader_la_LIBADD = \
|
|
$(libJtReader_la_LIBADD) \
|
|
-lJtReader
|
|
|
|
#--------------------------------------------------------------------------------------
|
|
|
|
# set the include path found by configure
|
|
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(all_includes)
|
|
|
|
|
|
libdir = $(prefix)/Mod/JtReader
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = \
|
|
CMakeLists.txt
|