mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
28 lines
735 B
Makefile
28 lines
735 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include $(GLX_CFLAGS)
|
|
|
|
shader_src= quakeforge.glsl
|
|
shader_gen= quakeforge.slc
|
|
|
|
glsl_src = \
|
|
glsl_alias.c glsl_bsp.c glsl_draw.c glsl_fog.c glsl_iqm.c glsl_lightmap.c \
|
|
glsl_main.c glsl_particles.c glsl_screen.c glsl_shader.c glsl_sprite.c \
|
|
glsl_textures.c qfglsl.c vid_common_glsl.c
|
|
|
|
noinst_LTLIBRARIES= libglsl.la
|
|
BUILT_SOURCES= $(shader_gen)
|
|
|
|
SUFFICES=.frag .vert .fc .vc .slc .glsl
|
|
.glsl.slc:
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
.frag.fc:
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
.vert.vc:
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
|
|
libglsl_la_SOURCES= $(glsl_src)
|
|
|
|
EXTRA_DIST = $(glsl_src) $(shader_src) namehack.h
|
|
CLEANFILES= *.vc *.fc *.slc
|