summaryrefslogtreecommitdiff
path: root/app/fvwm/Makefile.inc
blob: 7fa5758a309b2cb33e5e2100d5f211864936e4ad (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
25
# -*- makefile -*- 
# $Xenocara: Makefile.inc,v 1.2 2006/04/17 20:16:24 matthieu Exp $

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

X11BASE?=	/usr/X11R6

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

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

.include <bsd.obj.mk>

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