2011-12-23 03:19:13 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2013-11-24 04:11:50 +00:00
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include $(GLX_CFLAGS)
|
2011-12-26 11:33:40 +00:00
|
|
|
|
2013-05-12 04:51:02 +00:00
|
|
|
shader_src= quakeforge.glsl \
|
2012-05-11 03:49:14 +00:00
|
|
|
iqm.frag iqm.vert \
|
2013-06-07 08:12:44 +00:00
|
|
|
quake2d.frag quakeico.vert \
|
|
|
|
quakepar.frag quakepar.vert quakepnt.frag quakepnt.vert \
|
|
|
|
quakespr.frag quakespr.vert \
|
2012-01-21 10:51:18 +00:00
|
|
|
quaketrb.frag quaketxt.vert
|
2013-05-12 04:51:02 +00:00
|
|
|
shader_gen= quakeforge.slc \
|
2012-05-11 03:49:14 +00:00
|
|
|
iqm.fc iqm.vc \
|
2013-06-07 08:12:44 +00:00
|
|
|
quake2d.fc quakeico.vc \
|
|
|
|
quakepar.fc quakepar.vc quakepnt.fc quakepnt.vc \
|
|
|
|
quakespr.fc quakespr.vc quaketrb.fc quaketxt.vc
|
2011-12-23 03:19:13 +00:00
|
|
|
|
2011-12-26 09:34:51 +00:00
|
|
|
glsl_src = \
|
2012-05-11 03:49:14 +00:00
|
|
|
glsl_alias.c glsl_bsp.c glsl_draw.c glsl_fog.c glsl_iqm.c glsl_lightmap.c \
|
2013-02-26 12:52:35 +00:00
|
|
|
glsl_main.c glsl_particles.c glsl_screen.c glsl_shader.c glsl_sprite.c \
|
|
|
|
glsl_textures.c qfglsl.c vid_common_glsl.c
|
2011-12-26 09:34:51 +00:00
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
noinst_LTLIBRARIES= libglsl.la
|
2011-12-25 06:53:12 +00:00
|
|
|
BUILT_SOURCES= $(shader_gen)
|
2011-12-23 03:19:13 +00:00
|
|
|
|
2013-05-12 04:51:02 +00:00
|
|
|
SUFFICES=.frag .vert .fc .vc .slc .glsl
|
|
|
|
.glsl.slc:
|
|
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
2011-12-25 06:53:12 +00:00
|
|
|
.frag.fc:
|
|
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
|
|
.vert.vc:
|
|
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
libglsl_la_SOURCES= $(glsl_src)
|
|
|
|
|
2012-06-29 01:49:21 +00:00
|
|
|
EXTRA_DIST = $(glsl_src) $(shader_src) namehack.h
|
2011-12-26 07:39:02 +00:00
|
|
|
CLEANFILES= *.vc *.fc
|