summaryrefslogtreecommitdiff
path: root/Makefile-libglnx.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-02-14 11:19:08 -0500
committerColin Walters <walters@verbum.org>2015-02-14 13:41:51 -0500
commit5ac3f4a119eefa8d240bc5b35c6e447497f59d11 (patch)
tree168aef22ca56e663d7db73c266acc310a327ca55 /Makefile-libglnx.am
downloadlibglnx-5ac3f4a119eefa8d240bc5b35c6e447497f59d11.tar.gz
Initial commit; backport of GLib autoptr code
This module is a new successor to libgsystem. It currently contains a backport of the GLib cleanup macros, but soon more Linux-specific code will be added.
Diffstat (limited to 'Makefile-libglnx.am')
-rw-r--r--Makefile-libglnx.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile-libglnx.am b/Makefile-libglnx.am
new file mode 100644
index 0000000..6340063
--- /dev/null
+++ b/Makefile-libglnx.am
@@ -0,0 +1,28 @@
+# Copyright (C) 2015 Colin Walters <walters@verbum.org>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+EXTRA_DIST += $(libglnx_srcpath)/README $(libglnx_srcpath)/COPYING
+
+libglnx_la_SOURCES = \
+ $(libglnx_srcpath)/glnx-backport-autocleanups.h \
+ $(libglnx_srcpath)/glnx-backport-autoptr.h \
+ $(libglnx_srcpath)/libglnx.h \
+ $(NULL)
+
+libglnx_la_CFLAGS = $(AM_CFLAGS) $(libglnx_cflags)
+libglnx_la_LDFLAGS = -avoid-version -Bsymbolic-functions -export-symbols-regex "^glnx_" -no-undefined -export-dynamic
+libglnx_la_LIBADD = $(libglnx_libs)