summaryrefslogtreecommitdiff
path: root/app/fvwm/Makefile.inc
blob: 7c1b07eda72b0f253de456235650703c28034782 (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
# -*- makefile -*- 
# $OpenBSD: Makefile.inc,v 1.5 2008/03/25 23:41:50 matthieu Exp $

.ifndef FVWM_MAKEFILE_INC
FVWM_MAKEFILE_INC = done
.include <bsd.xconf.mk>

CFLAGS+=	-I${X11BASE}/include -I${.CURDIR} -I${.CURDIR}/.. \
		-I${.CURDIR}/../libs
LDADD+=		-L${X11BASE}/lib

FVWMLIBDIR=	${X11BASE}/lib/X11/fvwm
MANDIR=		${X11BASE}/man/cat

obj: _xenocara_obj

.if exists(${.CURDIR}/../libs/${__objdir})
LDADD+=		-L${.CURDIR}/../libs/${__objdir} -lfvwm
DPADD+=		${.CURDIR}/../libs/${__objdir}/libfvwm.a
.else
LDADD+=		-L${.CURDIR}/../libs -lfvwm
DPADD+= 	${.CURDIR}/../libs/libfvwm.a
.endif
.endif