1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Description: Build system for shared library.
Author: Scott Howard <showard@debian.org>
Index: dxflib-3.7.5/Makefile.am
===================================================================
--- /dev/null
+++ dxflib-3.7.5/Makefile.am
@@ -0,0 +1,33 @@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = dxflib.pc
+
+BASE_DIR = ./src
+
+BASE_SRC = \
+ $(BASE_DIR)/dl_dxf.cpp \
+ $(BASE_DIR)/dl_writer_ascii.cpp
+
+BASE_INS = \
+ $(BASE_DIR)/dl_attributes.h \
+ $(BASE_DIR)/dl_codes.h \
+ $(BASE_DIR)/dl_creationadapter.h \
+ $(BASE_DIR)/dl_creationinterface.h \
+ $(BASE_DIR)/dl_dxf.h \
+ $(BASE_DIR)/dl_entities.h \
+ $(BASE_DIR)/dl_exception.h \
+ $(BASE_DIR)/dl_extrusion.h \
+ $(BASE_DIR)/dl_global.h \
+ $(BASE_DIR)/dl_writer.h \
+ $(BASE_DIR)/dl_writer_ascii.h
+
+lib_LTLIBRARIES = libdxflib.la
+libdxflib_la_SOURCES = $(BASE_SRC)
+libdxflib_la_includedir=$(includedir)/dxflib
+libdxflib_la_include_HEADERS = $(BASE_INS)
+libdxflib_la_LDFLAGS = -version-number 3:12:2
+
+testing:
+ (cd ./test ; make)
+
+docu:
+ -(doxygen ./doxygen.cfg)
Index: dxflib-3.7.5/dxflib.pc.in
===================================================================
--- /dev/null
+++ dxflib-3.7.5/dxflib.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/dxflib
+
+Name: dxflib
+Description: Library for reading dxf files
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -ldxflib
+Cflags: -I${includedir}
|