File: Makefile-libgsystem.am

package info (click to toggle)
libgsystem 2015.2+deb-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 656 kB
  • ctags: 502
  • sloc: ansic: 5,031; sh: 494; makefile: 36
file content (64 lines) | stat: -rw-r--r-- 2,450 bytes parent folder | download
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
57
58
59
60
61
62
63
64
# Copyright (C) 2012,2014 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.

lib_LTLIBRARIES += libgsystem.la

libgsystemheaderdir = $(includedir)/libgsystem
libgsystemheader_HEADERS = \
	src/gsystem-local-alloc.h \
	src/gsystem-console.h \
	src/gsystem-file-utils.h \
	src/gsystem-glib-compat.h \
	src/gsystem-shutil.h \
	src/gsystem-log.h \
	src/gsystem-errors.h \
	src/gsystem-subprocess-context.h \
	src/gsystem-subprocess.h \
	src/libgsystem.h \
	$(NULL)

libgsystem_la_SOURCES = \
	src/gsystem-local-alloc.c \
	src/gsystem-console.c \
	src/gsystem-file-utils.c \
	src/gsystem-shutil.c \
	src/gsystem-errors.c \
	src/gsystem-log.c \
	src/gsystem-subprocess-context-private.h \
	src/gsystem-subprocess-context.c \
	src/gsystem-subprocess.c \
	$(NULL)

libgsystem_la_CFLAGS = $(AM_CFLAGS) $(BUILDDEP_GIO_UNIX_CFLAGS) $(BUILDDEP_SYSTEMD_JOURNAL_CFLAGS) -I$(srcdir)/src -I$(srcdir)/libglnx -DGSYSTEM_CONFIG_XATTRS
libgsystem_la_LDFLAGS = -version-info 0:0:0 -Bsymbolic-functions -export-symbols-regex "^gs_" -no-undefined -export-dynamic
libgsystem_la_LIBADD = $(BUILDDEP_GIO_UNIX_LIBS) $(BUILDDEP_SYSTEMD_JOURNAL_LIBS) libglnx.la

pkgconfig_DATA += src/libgsystem.pc

if BUILDOPT_INTROSPECTION
GSystem-1.0.gir: libgsystem.la Makefile
GSystem_1_0_gir_EXPORT_PACKAGES = libgsystem
GSystem_1_0_gir_INCLUDES = Gio-2.0
GSystem_1_0_gir_CFLAGS = $(libgsystem_la_CFLAGS)
GSystem_1_0_gir_LIBS = libgsystem.la
GSystem_1_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=GS --symbol-prefix=gs
GSystem_1_0_gir_FILES = $(libgsystemheader_HEADERS) $(filter-out %-private.h,$(libgsystem_la_SOURCES))
INTROSPECTION_GIRS += GSystem-1.0.gir
gir_DATA += GSystem-1.0.gir
typelib_DATA += GSystem-1.0.typelib
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif