2011-12-23 03:19:13 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(GLX_CFLAGS)
|
2011-12-26 11:33:40 +00:00
|
|
|
|
2012-01-02 02:18:34 +00:00
|
|
|
shader_src= \
|
2012-05-11 03:49:14 +00:00
|
|
|
iqm.frag iqm.vert \
|
2012-01-08 11:39:36 +00:00
|
|
|
quake2d.frag quakebsp.frag quakebsp.vert quakeico.vert quakemdl.frag \
|
2012-01-21 10:51:18 +00:00
|
|
|
quakemdl.vert quakepar.frag quakepar.vert quakepnt.frag quakepnt.vert \
|
|
|
|
quakeskb.frag quakeski.frag quakesky.vert quakespr.frag quakespr.vert \
|
|
|
|
quaketrb.frag quaketxt.vert
|
2012-01-02 02:18:34 +00:00
|
|
|
shader_gen= \
|
2012-05-11 03:49:14 +00:00
|
|
|
iqm.fc iqm.vc \
|
2012-01-08 11:39:36 +00:00
|
|
|
quake2d.fc quakebsp.fc quakebsp.vc quakeico.vc quakemdl.fc quakemdl.vc \
|
2012-01-21 10:51:18 +00:00
|
|
|
quakepar.fc quakepar.vc quakepnt.fc quakepnt.vc quakeskb.fc quakeski.fc \
|
|
|
|
quakesky.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 \
|
2012-02-15 00:50:40 +00:00
|
|
|
glsl_main.c glsl_particles.c glsl_screen.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
|
|
|
|
2011-12-25 06:53:12 +00:00
|
|
|
SUFFICES=.frag .vert .fc .vc
|
|
|
|
.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)
|
|
|
|
|
2011-12-25 06:53:12 +00:00
|
|
|
EXTRA_DIST = $(glsl_src) $(shader_src)
|
2011-12-26 07:39:02 +00:00
|
|
|
CLEANFILES= *.vc *.fc
|