xenocara/app/fvwm/modules/Makefile.inc

28 lines
648 B
PHP
Raw Normal View History

# -*- makefile -*-
# $OpenBSD: Makefile.inc,v 1.5 2007/04/09 18:59:57 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
2006-12-04 13:55:17 -07:00
LDADD+= -L${X11BASE}/lib
XLIB= -lX11 -lXau -lXdmcp
FVWMLIBDIR= ${X11BASE}/lib/X11/fvwm
MANDIR= ${X11BASE}/man/cat
obj: _xenocara_obj
.if exists(${.CURDIR}/../../libs/${__objdir})
2006-12-04 13:55:17 -07:00
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