Merge branch 'master' of github.com:gergelypolonkai/swe-glib

This commit is contained in:
Gergely Polonkai 2013-09-11 01:08:55 +02:00
commit e11eca2bb0
5 changed files with 20 additions and 15 deletions

View File

@ -3,18 +3,6 @@ SUBDIRS = swe swe/src swe/doc src po docs/reference/swe-glib data
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = swe-glib.pc $(NULL)
headerdir = $(includedir)/swe-glib
header_DATA = \
src/swe-glib.h \
src/gswe-types.h \
src/gswe-enumtypes.h \
src/gswe-moment.h \
src/gswe-timestamp.h \
$(NULL)
intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
EXTRA_DIST = $(intltool_extra) $(header_DATA) autogen.sh

View File

@ -48,6 +48,6 @@ AC_CONFIG_FILES([
data/Makefile
po/Makefile.in
docs/reference/swe-glib/Makefile
swe-glib.pc
data/swe-glib.pc
])
AC_OUTPUT

View File

@ -1,3 +1,6 @@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = swe-glib.pc $(NULL)
swephdir = $(pkgdatadir)
sweph_DATA = \
sweph-data/seas_00.se1 \

View File

@ -11,10 +11,14 @@ INST_H_SRC_FILES = \
INST_H_BUILT_FILES = \
gswe-enumtypes.h
libswe_glib_sources = swe-glib.c gswe-moment.c gswe-timestamp.c gswe-enumtypes.c
gswe_headers = gswe-timestamp.h gswe-types.h
libswe_glib_1_0_la_SOURCES = $(libswe_glib_sources)
libswe_glib_1_0_la_SOURCES = \
swe-glib.c \
gswe-moment.c \
gswe-timestamp.c \
gswe-enumtypes.c \
$(NULL)
libswe_glib_1_0_la_CFLAGS = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) -Wall
libswe_glib_1_0_la_LIBADD = $(GLIB_LIBS) $(GOBJECT_LIBS) $(LIBSWE_LIBS)
@ -50,6 +54,16 @@ gir_DATA = SweGlib-$(SWE_GLIB_API_VERSION).gir
typelibsdir = $(libdir)/girepository-1.0
typelibs_DATA = SweGlib-$(SWE_GLIB_API_VERSION).typelib
headerdir = $(includedir)/swe-glib
header_DATA = \
swe-glib.h \
gswe-types.h \
gswe-enumtypes.h \
gswe-moment.h \
gswe-timestamp.h \
$(NULL)
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif