summaryrefslogtreecommitdiff
path: root/app/fvwm/Makefile.inc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 10:53:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 10:53:58 +0000
commit1cb4778bcef21ea9015cfccdb99abb7a0e035d74 (patch)
treef164009397f9d3d5634c6f8a94b1542f793d9692 /app/fvwm/Makefile.inc
parent841f8331c93ff96bd798e9a74ba10fab155da5c5 (diff)
Importing from XF4, plus BSD make infrastructure
Diffstat (limited to 'app/fvwm/Makefile.inc')
-rw-r--r--app/fvwm/Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/fvwm/Makefile.inc b/app/fvwm/Makefile.inc
new file mode 100644
index 000000000..7fa5758a3
--- /dev/null
+++ b/app/fvwm/Makefile.inc
@@ -0,0 +1,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