head	1.2;
access;
symbols
	netbsd-7-2-RELEASE:1.1.1.1.10.1
	netbsd-7-1-2-RELEASE:1.1.1.1.10.1
	netbsd-7-1-1-RELEASE:1.1.1.1.10.1
	netbsd-7-1:1.1.1.1.10.1.0.4
	netbsd-7-1-RELEASE:1.1.1.1.10.1
	netbsd-7-1-RC2:1.1.1.1.10.1
	netbsd-7-1-RC1:1.1.1.1.10.1
	netbsd-7-0-2-RELEASE:1.1.1.1.10.1
	netbsd-7-0-1-RELEASE:1.1.1.1.10.1
	netbsd-7-0:1.1.1.1.10.1.0.2
	netbsd-7-0-RELEASE:1.1.1.1.10.1
	netbsd-7-0-RC3:1.1.1.1.10.1
	netbsd-7-0-RC2:1.1.1.1.10.1
	netbsd-7-0-RC1:1.1.1.1.10.1
	netbsd-6-0-6-RELEASE:1.1.1.1
	netbsd-6-1-5-RELEASE:1.1.1.1
	netbsd-7:1.1.1.1.0.10
	netbsd-7-base:1.1.1.1
	MesaLib-7-11-2:1.1.1.1
	netbsd-6-1-4-RELEASE:1.1.1.1
	netbsd-6-0-5-RELEASE:1.1.1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1
	riastradh-drm2:1.1.1.1.0.8
	riastradh-drm2-base:1.1.1.1
	netbsd-6-1-3-RELEASE:1.1.1.1
	netbsd-6-0-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.1.1.1
	netbsd-6-0-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.1.1.1
	netbsd-6-1:1.1.1.1.0.6
	netbsd-6-0-2-RELEASE:1.1.1.1
	netbsd-6-1-RELEASE:1.1.1.1
	netbsd-6-1-RC4:1.1.1.1
	netbsd-6-1-RC3:1.1.1.1
	netbsd-6-1-RC2:1.1.1.1
	netbsd-6-1-RC1:1.1.1.1
	netbsd-6-0-1-RELEASE:1.1.1.1
	netbsd-6-0:1.1.1.1.0.4
	netbsd-6-0-RELEASE:1.1.1.1
	netbsd-6-0-RC2:1.1.1.1
	netbsd-6-0-RC1:1.1.1.1
	netbsd-6:1.1.1.1.0.2
	netbsd-6-base:1.1.1.1
	MesaLib-7-8-2:1.1.1.1
	xorg:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2014.12.18.06.11.40;	author mrg;	state dead;
branches;
next	1.1;
commitid	Ae59RsLlS9l0cu2y;

1.1
date	2010.07.19.05.31.30;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2010.07.19.05.31.30;	author mrg;	state Exp;
branches
	1.1.1.1.10.1;
next	;

1.1.1.1.10.1
date	2015.01.06.09.26.27;	author martin;	state dead;
branches;
next	;
commitid	2BxXkbQgg8gLEW4y;


desc
@@


1.2
log
@merge Mesa 10.3.5.
@
text
@# src/glsl/Makefile.template

# Template makefile for glsl libraries.
#
# Usage:
#   The minimum that the including makefile needs to define
#   is TOP, LIBNAME and one of of the *_SOURCES.
#
# Optional defines:
#   LIBRARY_INCLUDES are appended to the list of includes directories.
#   LIBRARY_DEFINES is not used for makedepend, but for compilation.


### Basic defines ###

OBJECTS = $(C_SOURCES:.c=.o)

INCLUDES = \
	-I. \
	$(LIBRARY_INCLUDES)


##### TARGETS #####

default: depend lib$(LIBNAME).a

lib$(LIBNAME).a: $(OBJECTS) Makefile $(TOP)/src/glsl/Makefile.template
	$(MKLIB) -o $(LIBNAME) -static $(OBJECTS)

depend: $(C_SOURCES)
	rm -f depend
	touch depend
	$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) 2> /dev/null

# Remove .o and backup files
clean:
	rm -f $(OBJECTS) lib$(LIBNAME).a depend depend.bak

# Dummy target
install:
	@@echo -n ""


##### RULES #####

.c.o:
	$(CC) -c $(INCLUDES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@@

-include depend

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@import Mesa 7.8.2, lib part.  major changes since 7.7.1:
- several new extensions for various drivers
- many i965, i915 driver fixes
- many glsl fixes
@
text
@@


1.1.1.1.10.1
log
@File removals that accidently did not happen during pullup of the new
MesaLib for ticket #381
@
text
@@

