Skip to content

Commit

Permalink
Merge pull request #1019 from hintjens/master
Browse files Browse the repository at this point in the history
Fixes to project packaging
  • Loading branch information
jemc committed Jun 2, 2015
2 parents b01b103 + bfdf17d commit 101f69e
Show file tree
Hide file tree
Showing 21 changed files with 96 additions and 192 deletions.
29 changes: 4 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ src/*.o
src/mtrace.txt
src/outbin
src/czmq_selftest
doc/*.1
doc/*.3
doc/*.7
doc/*.xml
Expand Down Expand Up @@ -94,38 +95,16 @@ examples/zpubsub/zprototest/*.bnf
examples/zpubsub/zprototest/test_publisher
examples/zpubsub/zprototest/test_subscriber
src/test_zgossip
labs/.deps/
labs/.libs/
labs/*.o
labs/*.lo
labs/*.pc

.deps
.libs
.cproject
.project
.dirstamp
*~
labs/*.lo
labs/*.o
labs/.deps/
labs/.libs/
labs/Makefile
labs/Makefile.in
labs/core
labs/czmq_labs.la
labs/czmq_labs_selftest
labs/czmq_labs_selftest.log
labs/czmq_labs_selftest.trs
labs/libczmq_labs.pc
labs/malloc.txt
labs/mtrace.txt
labs/outbin
labs/test-suite.log
ChangeLog
.libs/
czmq_labs_selftest*
czmq_selftest*
makecert
test-suite.log
addons/.dirstamp
labs/.dirstamp
src/.dirstamp
*.pyc
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ set (czmq_headers
src/zgossip_engine.inc
src/zhash_primes.inc
src/zclass_example.xml
src/foreign/sha1/sha1.inc_c
src/foreign/sha1/sha1.h
src/foreign/slre/slre.inc_c
src/foreign/slre/slre.h
src/foreign/slre/readme.txt
)
source_group ("Header Files" FILES ${czmq_headers})
install(FILES ${czmq_headers} DESTINATION include)
Expand Down
10 changes: 9 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ project_libs = \
${zmq_LIBS}

SUBDIRS =
DIST_SUBDIRS =
SUBDIRS += doc
DIST_SUBDIRS += doc

DIST_SUBDIRS =
lib_LTLIBRARIES =
bin_PROGRAMS =
noinst_PROGRAMS =
Expand All @@ -27,6 +28,13 @@ EXTRA_DIST = \
src/zgossip_engine.inc \
src/zhash_primes.inc \
src/zclass_example.xml \
src/foreign/sha1/sha1.inc_c \
src/foreign/sha1/sha1.h \
src/foreign/slre/slre.inc_c \
src/foreign/slre/slre.h \
src/foreign/slre/readme.txt \
src/zgossip_msg.h \
src/czmq_classes.h \
version.sh

include $(srcdir)/src/Makemodule.am
Expand Down
5 changes: 5 additions & 0 deletions builds/msvc/vs2008/czmq/czmq.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -1560,6 +1560,11 @@
<File RelativePath="..\..\..\..\src\zgossip_engine.inc" />
<File RelativePath="..\..\..\..\src\zhash_primes.inc" />
<File RelativePath="..\..\..\..\src\zclass_example.xml" />
<File RelativePath="..\..\..\..\src\foreign/sha1/sha1.inc_c" />
<File RelativePath="..\..\..\..\src\foreign/sha1/sha1.h" />
<File RelativePath="..\..\..\..\src\foreign/slre/slre.inc_c" />
<File RelativePath="..\..\..\..\src\foreign/slre/slre.h" />
<File RelativePath="..\..\..\..\src\foreign/slre/readme.txt" />
</Filter>
</Files>
<Globals />
Expand Down
5 changes: 5 additions & 0 deletions builds/msvc/vs2010/czmq/czmq.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
<ClInclude Include="..\..\..\..\src\zgossip_engine.inc" />
<ClInclude Include="..\..\..\..\src\zhash_primes.inc" />
<ClInclude Include="..\..\..\..\src\zclass_example.xml" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\src\zactor.c">
Expand Down
15 changes: 15 additions & 0 deletions builds/msvc/vs2010/czmq/czmq.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@
<ClInclude Include="..\..\..\..\src\zclass_example.xml">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt">
<Filter>src</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\builds\msvc\platform.h">
Expand Down
5 changes: 5 additions & 0 deletions builds/msvc/vs2012/czmq/czmq.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
<ClInclude Include="..\..\..\..\src\zgossip_engine.inc" />
<ClInclude Include="..\..\..\..\src\zhash_primes.inc" />
<ClInclude Include="..\..\..\..\src\zclass_example.xml" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\src\zactor.c">
Expand Down
15 changes: 15 additions & 0 deletions builds/msvc/vs2012/czmq/czmq.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@
<ClInclude Include="..\..\..\..\src\zclass_example.xml">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt">
<Filter>src</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\builds\msvc\platform.h">
Expand Down
5 changes: 5 additions & 0 deletions builds/msvc/vs2013/czmq/czmq.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
<ClInclude Include="..\..\..\..\src\zgossip_engine.inc" />
<ClInclude Include="..\..\..\..\src\zhash_primes.inc" />
<ClInclude Include="..\..\..\..\src\zclass_example.xml" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c" />
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h" />
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\src\zactor.c">
Expand Down
15 changes: 15 additions & 0 deletions builds/msvc/vs2013/czmq/czmq.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,21 @@
<ClInclude Include="..\..\..\..\src\zclass_example.xml">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/sha1/sha1.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.inc_c">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/slre.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\src\foreign/slre/readme.txt">
<Filter>src</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\builds\msvc\platform.h">
Expand Down
5 changes: 5 additions & 0 deletions project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
<extra name = "zgossip_engine.inc" />
<extra name = "zhash_primes.inc" />
<extra name = "zclass_example.xml" />
<extra name = "foreign/sha1/sha1.inc_c" />
<extra name = "foreign/sha1/sha1.h" />
<extra name = "foreign/slre/slre.inc_c" />
<extra name = "foreign/slre/slre.h" />
<extra name = "foreign/slre/readme.txt" />

<!-- Deprecated V2 API, remove some time after 3.0 stability -->
<class name = "zauth_v2" />
Expand Down
5 changes: 5 additions & 0 deletions src/Makemodule.am
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ src_libczmq_la_SOURCES = \
src/zgossip_engine.inc \
src/zhash_primes.inc \
src/zclass_example.xml \
src/foreign/sha1/sha1.inc_c \
src/foreign/sha1/sha1.h \
src/foreign/slre/slre.inc_c \
src/foreign/slre/slre.h \
src/foreign/slre/readme.txt \
src/platform.h

src_libczmq_la_CPPFLAGS = ${AM_CPPFLAGS}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion foreign/sha1/sha1.c → src/foreign/sha1/sha1.inc_c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* implemented by Jun-ichiro itojun Itoh <[email protected]>
*/

#include "../../include/czmq.h"
#include "../../../include/czmq.h"
#include "sha1.h"

/* constant table */
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/zdigest.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "platform.h"
#include "../include/czmq.h"
#include "../foreign/sha1/sha1.c"
#include "foreign/sha1/sha1.inc_c"


// Structure of our class
Expand Down
3 changes: 1 addition & 2 deletions src/zrex.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
*/

#include "../include/czmq.h"
#include "../foreign/slre/slre.h"
#include "../foreign/slre/slre.c"
#include "foreign/slre/slre.inc_c"

#define MAX_HITS 100 // Should be enough for anyone :)

Expand Down
Loading

0 comments on commit 101f69e

Please sign in to comment.