blob: 67efd01be14ca55750db7938a0267761b79db5ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
PACKAGE_NAME="TpLogger"
CC=${CC:-gcc}
CCOPTS="-D_POSIX_SOURCE -DPACKAGE_NAME=\"${PACKAGE_NAME}\" --std=c99 -g -I../include -Wall -Werror" # -pedantic"
PKGS="telepathy-glib libxml-2.0"
MODULES="tpl-observer.c tpl-headless-logger-init.c
tpl-channel.c tpl-text-channel-context.c
tpl-contact.c
tpl-utils.c
tpl-time.c
tpl-log-manager.c
tpl-log-store.c
tpl-log-store-empathy.c
tpl-log-entry-text.c
test.c"
EXECUTABLE="telepathy-logger"
${CC} ${CCOPTS} $(pkg-config --libs --cflags ${PKGS}) ${MODULES} \
-o ${EXECUTABLE}
RET=$?
exit $RET
|