dot

packages and services management
Log | Files | Refs | README

commit 35f3e7084a014cba052caf5301a68919de89987d
parent 6813526c74dc309766f00a42e6a107348081b767
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Fri, 21 Jul 2017 14:51:39 +0200

ratox working on FreeBSD

Diffstat:
Dratox/build | 3---
Aratox/config.mk | 26++++++++++++++++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/ratox/build b/ratox/build @@ -1,3 +0,0 @@ -make \ - CFLAGS="-I$OPT/libtox/include -I$OPT/libvpx/include" \ - LDFLAGS="-L$OPT/libtox/lib -L$OPT/libvpx/lib" diff --git a/ratox/config.mk b/ratox/config.mk @@ -0,0 +1,26 @@ +# ratox version +VERSION = 0.4 + +# paths +PREFIX = /usr/local +MANPREFIX = $(PREFIX)/share/man + +CC = cc +LD = $(CC) + +CPPFLAGS = \ + -DVERSION=\"${VERSION}\" \ + -D_NSIG=NSIG + +CFLAGS = \ + -I/usr/local/include \ + -I$(OPT)/libtox/include \ + -I$(OPT)/libvpx/include \ + -Wall -Wunused $(CPPFLAGS) + +LDFLAGS = \ + -L/usr/local/lib \ + -L$(OPT)/libtox/lib \ + -L$(OPT)/libvpx/lib + +LDLIBS = -ltoxcore -ltoxav -ltoxencryptsave -lopus -lvpx -lm -lpthread