Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- moved C++ examples to subdir

  • Loading branch information...
commit 4fcc8d8f865787545c8b3014a45565d923db32fa 1 parent 237b893
@aschnell aschnell authored
View
3  configure.ac
@@ -123,7 +123,8 @@ AC_OUTPUT(
Makefile
snapper/Makefile
examples/Makefile
- examples/C/Makefile
+ examples/c/Makefile
+ examples/c++-lib/Makefile
dbus/Makefile
server/Makefile
client/Makefile
View
20 examples/Makefile.am
@@ -2,23 +2,5 @@
# Makefile.am for snapper/examples
#
-SUBDIRS = C
-
-INCLUDES = -I$(top_srcdir)
-
-LDADD = ../snapper/libsnapper.la
-
-noinst_PROGRAMS = List ListAll Create CmpDirs CreateTimeline SnapTest
-
-List_SOURCES = List.cc
-
-ListAll_SOURCES = ListAll.cc
-
-Create_SOURCES = Create.cc
-
-CmpDirs_SOURCES = CmpDirs.cc
-
-CreateTimeline_SOURCES = CreateTimeline.cc
-
-SnapTest_SOURCES = SnapTest.cc
+SUBDIRS = c c++-lib
View
0  examples/.gitignore → examples/c++-lib/.gitignore
File renamed without changes
View
0  examples/CmpDirs.cc → examples/c++-lib/CmpDirs.cc
File renamed without changes
View
0  examples/Create.cc → examples/c++-lib/Create.cc
File renamed without changes
View
0  examples/CreateTimeline.cc → examples/c++-lib/CreateTimeline.cc
File renamed without changes
View
0  examples/List.cc → examples/c++-lib/List.cc
File renamed without changes
View
0  examples/ListAll.cc → examples/c++-lib/ListAll.cc
File renamed without changes
View
22 examples/c++-lib/Makefile.am
@@ -0,0 +1,22 @@
+#
+# Makefile.am for snapper/examples/c++-lib
+#
+
+INCLUDES = -I$(top_srcdir)
+
+LDADD = ../../snapper/libsnapper.la
+
+noinst_PROGRAMS = List ListAll Create CmpDirs CreateTimeline SnapTest
+
+List_SOURCES = List.cc
+
+ListAll_SOURCES = ListAll.cc
+
+Create_SOURCES = Create.cc
+
+CmpDirs_SOURCES = CmpDirs.cc
+
+CreateTimeline_SOURCES = CreateTimeline.cc
+
+SnapTest_SOURCES = SnapTest.cc
+
View
0  examples/SnapTest.cc → examples/c++-lib/SnapTest.cc
File renamed without changes
View
0  examples/C/.gitignore → examples/c/.gitignore
File renamed without changes
View
2  examples/C/Makefile.am → examples/c/Makefile.am
@@ -1,5 +1,5 @@
#
-# Makefile.am for snapper/examples/C
+# Makefile.am for snapper/examples/c
#
INCLUDES = -I$(top_srcdir) $(DBUS_CFLAGS)
View
0  examples/C/snapper_dbus_cli.c → examples/c/snapper_dbus_cli.c
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.