File: config.mk

package info (click to toggle)
irssi-plugin-xmpp 0.13%2Bcvs20080610-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 528 kB
  • ctags: 619
  • sloc: ansic: 6,716; makefile: 111
file content (31 lines) | stat: -rw-r--r-- 745 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# paths
PREFIX ?= /usr/local

# where are the sources of irssi ?
IRSSI_INCLUDE ?= ${PREFIX}/include/irssi
# where should be installed the module ?
IRSSI_LIB ?= ${PREFIX}/lib/irssi
# where should be installed the documentation ?
IRSSI_DOC ?= ${PREFIX}/share/doc/irssi
# where should be installed the help for commands ?
IRSSI_HELP ?= ${PREFIX}/share/irssi/help

# includes and libs
INCS =	-I../../src/core \
	-I${IRSSI_INCLUDE} \
	-I${IRSSI_INCLUDE}/src \
	-I${IRSSI_INCLUDE}/src/core \
	-I$(IRSSI_INCLUDE)/src/fe-common/core \
	`pkg-config --cflags loudmouth-1.0` \
	${LIB_INCS}
LIBS =	${LIB_LIBS}

# flags
CFLAGS = -fPIC -std=c99 -DUOFF_T_LONG ${INCS}
LDFLAGS = -shared ${LIBS}

# debug
CFLAGS += -W -ggdb #-Wall

# compiler and linker
CC = cc