Edit

IABSD.fr/xenocara/lib/libGLw/Makefile

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2006-12-02 16:28:48
    Hash : 6a5579f8
    Message : Make 'obj' now can make symlinks to /usr/obj/xenocara (or any other directory designed by XENOCARA_OBJDIR in /etc/mk.conf).

  • lib/libGLw/Makefile
  • # $OpenBSD: Makefile,v 1.4 2006/12/02 16:28:48 matthieu Exp $
    
    DIST=	${.CURDIR}/../../dist/Mesa
    GLW=	${DIST}/src/glw
    
    LIB= GLw
    
    CPPFLAGS += -I${DIST}/include \
    	-I${X11BASE}/include
    
    SRCS= \
    	GLwDrawA.c
    
    INCS= \
    	GLwDrawA.h \
    	GLwDrawAP.h \
    	GLwMDrawA.h \
    	GLwMDrawAP.h
    
    obj: _xenocara_obj
    
    includes:
    	cd ${GLW}; for i in ${INCS}; do \
    	    j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/$$i || \
    		${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
    		$$i ${DESTDIR}${INCSDIR}/GL"; \
    		echo "\tinstalling $$i"; \
    		eval "$$j"; \
    	done
    
    beforeinstall: includes
    
    NOPROFILE=
    
    .include <bsd.lib.mk>
    .include <bsd.xorg.mk>
    
    .PATH: ${GLW}