2006-11-26 03:53:04 -07:00
|
|
|
# -*- makefile -*-
|
2011-06-23 16:48:59 -06:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.8 2011/06/23 22:48:59 naddy Exp $
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
.ifndef FVWM_MAKEFILE_INC
|
|
|
|
FVWM_MAKEFILE_INC = done
|
2008-03-25 17:41:50 -06:00
|
|
|
.include <bsd.xconf.mk>
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
CFLAGS+= -I${X11BASE}/include -I${.CURDIR} -I${.CURDIR}/.. \
|
|
|
|
-I${.CURDIR}/../libs
|
2006-12-04 13:55:17 -07:00
|
|
|
LDADD+= -L${X11BASE}/lib
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
FVWMLIBDIR= ${X11BASE}/lib/X11/fvwm
|
2011-06-23 16:48:59 -06:00
|
|
|
MANDIR= ${X11BASE}/man/man
|
2006-11-26 03:53:04 -07:00
|
|
|
|
2006-12-02 09:28:48 -07:00
|
|
|
obj: _xenocara_obj
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../libs/${__objdir})
|
2006-12-04 13:55:17 -07:00
|
|
|
LDADD+= -L${.CURDIR}/../libs/${__objdir} -lfvwm
|
2006-11-26 03:53:04 -07:00
|
|
|
DPADD+= ${.CURDIR}/../libs/${__objdir}/libfvwm.a
|
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../libs -lfvwm
|
|
|
|
DPADD+= ${.CURDIR}/../libs/libfvwm.a
|
|
|
|
.endif
|
|
|
|
.endif
|