summaryrefslogtreecommitdiffstats
path: root/src/crush/Makefile.am
diff options
context:
space:
mode:
authorRoald J. van Loon <roaldvanloon@gmail.com>2013-08-27 11:08:37 +0200
committerRoald J. van Loon <roaldvanloon@gmail.com>2013-09-08 00:11:09 +0200
commit6949d221ada12e6be4b5ebf94b58edd17288fb16 (patch)
tree5d7aea5200a3e5ae5c7062d70af953af7ae3d4bc /src/crush/Makefile.am
parentMerge remote-tracking branch 'gh/next' (diff)
downloadceph-6949d221ada12e6be4b5ebf94b58edd17288fb16.tar.xz
ceph-6949d221ada12e6be4b5ebf94b58edd17288fb16.zip
automake cleanup: implementing non-recursive make
- Enabling subdir objects - Created a Makefile-env.am with basic automake init - Created .am files per subdir, included from src/Makefile.am Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
Diffstat (limited to 'src/crush/Makefile.am')
-rw-r--r--src/crush/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/crush/Makefile.am b/src/crush/Makefile.am
new file mode 100644
index 00000000000..3d2f45b80e6
--- /dev/null
+++ b/src/crush/Makefile.am
@@ -0,0 +1,30 @@
+libcrush_la_SOURCES = \
+ crush/builder.c \
+ crush/mapper.c \
+ crush/crush.c \
+ crush/hash.c \
+ crush/CrushWrapper.cc \
+ crush/CrushCompiler.cc \
+ crush/CrushTester.cc
+noinst_LTLIBRARIES += libcrush.la
+
+noinst_HEADERS += \
+ crush/CrushCompiler.h \
+ crush/CrushTester.h \
+ crush/CrushWrapper.h \
+ crush/CrushWrapper.i \
+ crush/builder.h \
+ crush/crush.h \
+ crush/grammar.h \
+ crush/hash.h \
+ crush/mapper.h \
+ crush/sample.txt \
+ crush/types.h
+
+#crush_includedir = $(includedir)/crush
+#crush_include_DATA = \
+# $(srcdir)/crush/hash.h \
+# $(srcdir)/crush/crush.h \
+# $(srcdir)/crush/mapper.h \
+# $(srcdir)/crush/types.h
+