xenocara/app/fvwm/Makefile.inc
naddy 2e88a2b0e8 switch to installing source manuals:
* cope with new bsd.man.mk
* update imake configuration

ports use of imake remains unchanged
2011-06-23 22:48:59 +00:00

25 lines
593 B
Makefile

# -*- makefile -*-
# $OpenBSD: Makefile.inc,v 1.8 2011/06/23 22:48:59 naddy 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/man
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