Skip to content

Commit

Permalink
Added Jansson as submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
troky committed Jul 2, 2014
1 parent ecdb8ac commit 66ec621
Show file tree
Hide file tree
Showing 43 changed files with 501 additions and 5,735 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "jansson"]
path = submodules/jansson
url = https://github.com/akheron/jansson.git

4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

ACLOCAL_AMFLAGS = -I m4

JANSSON_CPPFLAGS= -I$(top_builddir)/compat/jansson-2.5/src -I$(top_srcdir)/compat/jansson-2.5/src
JANSSON_CPPFLAGS= -I$(top_builddir)/submodules/jansson/src -I$(top_srcdir)/submodules/jansson/src

EXTRA_DIST = example.conf m4/gnulib-cache.m4 \
ADL_SDK/readme.txt api-example.php miner.php \
API.class API.java api-example.c hexdump.c \
doc/API doc/FAQ doc/GPU doc/SCRYPT doc/windows-build.txt

SUBDIRS = lib compat ccan sph
SUBDIRS = lib submodules ccan sph

bin_PROGRAMS = sgminer

Expand Down
2 changes: 1 addition & 1 deletion api-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

/* Compile:
* gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o sgminer-api
* gcc api-example.c -Isubmodules/jansson -Icompat/libusb-1.0/libusb -o sgminer-api
*/

#include "config.h"
Expand Down
3 changes: 0 additions & 3 deletions compat/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions compat/Makefile.am

This file was deleted.

Loading

2 comments on commit 66ec621

@Bllacky
Copy link
Contributor

@Bllacky Bllacky commented on 66ec621 Jul 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed you moved the platform to v100 from v110.
Can the project be upgraded to v110 ?

@troky
Copy link
Contributor Author

@troky troky commented on 66ec621 Jul 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v110 slipped in through some recent commit by mistake.

Migration to VS2012 (v110) is planned for v5.1

Please sign in to comment.