aboutsummaryrefslogtreecommitdiff
path: root/libmm-common
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-common')
-rw-r--r--libmm-common/Makefile.am21
-rw-r--r--libmm-common/libmm-common.h34
2 files changed, 52 insertions, 3 deletions
diff --git a/libmm-common/Makefile.am b/libmm-common/Makefile.am
index 83259a9c..437fb1cf 100644
--- a/libmm-common/Makefile.am
+++ b/libmm-common/Makefile.am
@@ -1,5 +1,5 @@
-noinst_LTLIBRARIES = libmm-common.la
+lib_LTLIBRARIES = libmm-common.la
GENERATED_H = \
mm-enums-types.h \
@@ -146,18 +146,33 @@ $(mm_gdbus_bearer_generated): $(top_srcdir)/new/org.freedesktop.ModemManager1.Be
$< \
$(NULL)
+includedir = @includedir@/libmm-common
+include_HEADERS = \
+ mm-errors-types.h \
+ mm-enums-types.h \
+ mm-common-helpers.h \
+ mm-gdbus-manager.h \
+ mm-gdbus-modem.h \
+ mm-gdbus-bearer.h \
+ mm-gdbus-sim.h \
+ libmm-common.h
+
libmm_common_la_SOURCES = \
$(GENERATED_H) \
$(GENERATED_C) \
mm-errors-quarks.c \
mm-common-helpers.h \
- mm-common-helpers.c
+ mm-common-helpers.c \
+ libmm-common.h
libmm_common_la_CPPFLAGS = \
- $(MM_CFLAGS) \
+ $(LIBMM_COMMON_CFLAGS) \
-I$(top_srcdir)/include \
-Wno-unused-function \
-Wno-float-equal \
-Wno-shadow
+libmm_common_la_LIBADD = \
+ $(LIBMM_COMMON_LIBS)
+
CLEANFILES = $(GENERATED_H) $(GENERATED_C) $(GENERATED_DOC)
diff --git a/libmm-common/libmm-common.h b/libmm-common/libmm-common.h
new file mode 100644
index 00000000..10ac5871
--- /dev/null
+++ b/libmm-common/libmm-common.h
@@ -0,0 +1,34 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * libmm-common -- Common library used by libmm-glib and ModemManager
+ *
+ * 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., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA.
+ *
+ * Copyright (C) 2011 Google, Inc.
+ */
+
+#ifndef _LIBMM_COMMON_H_
+#define _LIBMM_COMMON_H_
+
+#include "mm-errors-types.h"
+#include "mm-enums-types.h"
+#include "mm-common-helpers.h"
+#include "mm-gdbus-manager.h"
+#include "mm-gdbus-modem.h"
+#include "mm-gdbus-bearer.h"
+#include "mm-gdbus-sim.h"
+
+#endif /* _LIBMM_COMMON_H_ */