Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
mobject-store
Commits
f3ac6fd0
Commit
f3ac6fd0
authored
Oct 17, 2017
by
Shane Snyder
Browse files
more autotools fiddling + simple initial test
parent
75905650
Changes
7
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
f3ac6fd0
AUTOMAKE_OPTIONS
=
foreign
ACLOCAL_AMFLAGS
=
"-Im4"
check_PROGRAMS
=
TESTS
=
EXTRA_DIST
=
prepare.sh
AM_CPPFLAGS
=
-I
$(top_srcdir)
/include
AM_CFLAGS
=
AM_CXXFLAGS
=
$(AM_CFLAGS)
lib_LTLIBRARIES
=
libmobject-store.la
libmobject_store_la_SOURCES
=
src/libmobject-store.c
\
include/mobject-store.h
include_HEADERS
=
include/mobject-store.h
include_HEADERS
=
include/libmobject-store.h
libmobject_la_CPPFLAGS
=
-I
${srcdir}
/include
lib_LTLIBRARIES
=
src/libmobject-store.la
src_libmobject_store_la_SOURCES
=
include
Make.rules
include
$(top_srcdir)/src/Makefile.subdir
include
$(top_srcdir)/tests/Makefile.subdir
configure.ac
View file @
f3ac6fd0
...
...
@@ -3,8 +3,8 @@ AC_INIT([mobject], [0.1], [ssio-services@lists.mcs.anl.gov])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects silent-rules])
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([include/mobject-store.h])
AC_CONFIG_HEADER([
include
/mobject-conf.h])
AC_CONFIG_SRCDIR([include/
lib
mobject-store.h])
AC_CONFIG_HEADER([
src
/mobject-
store-
conf
ig
.h])
LT_PREREQ([2.2])
AM_PROG_AR
LT_INIT([dlopen])
...
...
include/mobject-store.h
→
include/
lib
mobject-store.h
View file @
f3ac6fd0
File moved
src/Makefile.subdir
0 → 100644
View file @
f3ac6fd0
src_libmobject_store_la_SOURCES
+=
\
src/libmobject-store.c
\
include/libmobject-store.h
src/libmobject-store.c
View file @
f3ac6fd0
...
...
@@ -4,7 +4,7 @@
* See COPYRIGHT in top-level directory.
*/
#include "mobject-conf.h"
#include "mobject-
store-
conf
ig
.h"
#include <stdio.h>
#include <assert.h>
...
...
@@ -12,7 +12,7 @@
#include <margo.h>
#include <ssg.h>
#include "mobject-store.h"
#include "
lib
mobject-store.h"
struct
mobject_store_handle
{
...
...
tests/Makefile.subdir
0 → 100644
View file @
f3ac6fd0
check_PROGRAMS
+=
\
tests/mobject-connect-test
TESTS
+=
\
tests/connect-test.sh
tests_mobject_connect_test_SOURCES
=
\
tests/mobject-connect-test.c
tests_mobject_connect_test_LDADD
=
\
src/libmobject-store.la
tests/mobject-connect-test.c
0 → 100644
View file @
f3ac6fd0
/*
* (C) 2017 The University of Chicago
*
* See COPYRIGHT in top-level directory.
*/
#include "mobject-store-config.h"
#include <stdio.h>
#include <assert.h>
#ifdef USE_LIBRADOS
#include <librados.h>
#else
#include <libmobject-store.h>
#endif
int
main
(
int
argc
,
char
*
argv
[])
{
rados_t
cluster
;
int
ret
;
ret
=
rados_create
(
&
cluster
,
"admin"
);
assert
(
ret
==
0
);
rados_shutdown
(
cluster
);
return
(
0
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment