NetBSD/external/mit/xorg/bin/xsm/Makefile
mrg 2980e352a1 initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
2008-07-29 05:01:21 +00:00

29 lines
688 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
.include <bsd.own.mk>
PROG= xsm
SRCS= auth.c choose.c info.c list.c lock.c log.c \
mainwin.c misc.c popup.c printhex.c prop.c remote.c \
restart.c save.c saveutil.c signals.c xsm.c xtwatch.c
XSMDIR= ${X11ETCDIR}/xsm
CPPFLAGS+=-DHAS_MKSTEMP
CPPFLAGS.remote.c= -DRSHCMD=\"rsh\"
CPPFLAGS.restart.c= -DSYSTEM_INIT_FILE=\"${XSMDIR}/system.xsm\"
CONFIGFILES= system.xsm
FILESDIR= ${XSMDIR}
APPDEFS=XSm.ad
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
${LIBXPM} ${LIBXEXT} ${LIBX11}
.PATH: ${X11SRCDIR.${PROG}}
.include <bsd.x11.mk>
.include <bsd.prog.mk>