Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LaaS
logstash-forwarder
Commits
c81199d2
Commit
c81199d2
authored
Aug 01, 2012
by
Jordan Sissel
Browse files
more msgpack
parent
ff323493
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c81199d2
...
...
@@ -4,7 +4,7 @@ CFLAGS+=-Ibuild/include -std=c99 -Wall -Wextra -Werror -pipe -g
#-O2
LDFLAGS
+=
-pthread
LDFLAGS
+=
-Lbuild
/lib
-Wl
,-rpath,
'$$ORIGIN/../lib'
LIBS
=
-lzmq
LIBS
=
-lzmq
-lmsgpack
PREFIX
?=
/opt/lumberjack
...
...
@@ -13,6 +13,8 @@ include Makefile.ext
clean
:
-
rm
-fr
lumberjack unixsock
*
.o build
-
make
-C
vendor/msgpack/ clean
-
make
-C
vendor/zeromq/ clean
rpm deb
:
fpm
-s
dir
-t
$@
-n
lumberjack
-v
$(VERSION)
--prefix
/opt/lumberjack
\
...
...
@@ -26,10 +28,10 @@ rpm deb:
backoff.c
:
backoff.h
harvester.c
:
harvester.h
emitter.c
:
emitter.h
lumberjack.c
:
build/include/insist.h build/include/zeromq.h
lumberjack.c
:
build/include/insist.h build/include/zeromq.h
build/include/msgpack.h
lumberjack.c
:
backoff.h harvester.h emitter.h
build/bin/lumberjack
:
| build/bin build/lib/libzmq.$(LIBEXT)
build/bin/lumberjack
:
| build/bin build/lib/libzmq.$(LIBEXT)
build/lib/libmsgpack.$(LIBEXT)
build/bin/lumberjack
:
lumberjack.o backoff.o harvester.o emitter.o
$(CC)
$(LDFLAGS)
-o
$@
$^
$(LIBS)
@
echo
" => Build complete:
$@
"
...
...
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