xenocara/app/fvwm/modules/Makefile.inc
matthieu 6a5579f8e8 Make 'obj' now can make symlinks to /usr/obj/xenocara (or any other
directory designed by XENOCARA_OBJDIR in /etc/mk.conf).
2006-12-02 16:28:48 +00:00

25 lines
612 B
Makefile

# -*- 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}/../../libs
FVWMLIBDIR= ${X11BASE}/lib/X11/fvwm
MANDIR= ${X11BASE}/man/cat
obj: _xenocara_obj
.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