mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
Makefile cleanup continues. Models.
This commit is contained in:
parent
c78edb3a36
commit
873521a68d
4 changed files with 51 additions and 92 deletions
|
@ -1,26 +1,9 @@
|
|||
SUBDIRS= alias brush sprite
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
||||
if BUILD_GL
|
||||
MODELS_GL = libQFmodels_gl.la
|
||||
AM_CFLAGS = $(GLX_CFLAGS)
|
||||
else
|
||||
MODELS_GL =
|
||||
endif
|
||||
|
||||
if BUILD_SW
|
||||
MODELS_SW = libQFmodels_sw.la
|
||||
else
|
||||
MODELS_SW =
|
||||
endif
|
||||
|
||||
if BUILD_SW32
|
||||
MODELS_SW32 = libQFmodels_sw32.la
|
||||
else
|
||||
MODELS_SW32 =
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libQFmodels.la $(MODELS_GL) $(MODELS_SW) $(MODELS_SW32)
|
||||
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
|
||||
EXTRA_LTLIBRARIES= \
|
||||
libQFmodels_gl.la libQFmodels_sw.la libQFmodels_sw32.la
|
||||
|
||||
models_sources = clip_hull.c model.c
|
||||
|
||||
|
@ -29,19 +12,23 @@ libQFmodels_la_LIBADD = brush/libbrush.la
|
|||
libQFmodels_la_SOURCES= $(models_sources)
|
||||
libQFmodels_la_DEPENDENCIES= brush/libbrush.la
|
||||
|
||||
libQFmodels_gl_la_LDFLAGS = -version-info 1:0:0
|
||||
libQFmodels_gl_la_LIBADD = alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
||||
gl_LIBS= \
|
||||
alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
||||
libQFmodels_gl_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
||||
libQFmodels_gl_la_LIBADD= $(gl_LIBS)
|
||||
libQFmodels_gl_la_SOURCES= $(models_sources) gl_model_fullbright.c
|
||||
libQFmodels_gl_la_DEPENDENCIES = alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
||||
libQFmodels_gl_la_DEPENDENCIES= $(gl_LIBS)
|
||||
|
||||
libQFmodels_sw_la_LDFLAGS = -version-info 1:0:0
|
||||
libQFmodels_sw_la_LIBADD = alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
||||
sw_LIBS= \
|
||||
alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
||||
libQFmodels_sw_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
||||
libQFmodels_sw_la_LIBADD= $(sw_LIBS)
|
||||
libQFmodels_sw_la_SOURCES= $(models_sources)
|
||||
libQFmodels_sw_la_DEPENDENCIES = alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
||||
libQFmodels_sw_la_DEPENDENCIES= $(sw_LIBS)
|
||||
|
||||
libQFmodels_sw32_la_LDFLAGS = -version-info 1:0:0
|
||||
libQFmodels_sw32_la_LIBADD = alias/libalias_sw32.la brush/libbrush_sw32.la sprite/libsprite_sw32.la
|
||||
sw32_LIBS= \
|
||||
alias/libalias_sw32.la brush/libbrush_sw32.la sprite/libsprite_sw32.la
|
||||
libQFmodels_sw32_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
||||
libQFmodels_sw32_la_LIBADD= $(sw32_LIBS)
|
||||
libQFmodels_sw32_la_SOURCES= $(models_sources)
|
||||
libQFmodels_sw32_la_DEPENDENCIES = alias/libalias_sw32.la brush/libbrush_sw32.la sprite/libsprite_sw32.la
|
||||
|
||||
LIBLIST = libQFmodels.la libQFmodels_gl.la libQFmodels_sw.la libQFmodels_sw32.la
|
||||
libQFmodels_sw32_la_DEPENDENCIES=$(sw32_LIBS)
|
||||
|
|
|
@ -1,30 +1,21 @@
|
|||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
||||
noinst_LTLIBRARIES= libalias_gl.la libalias_sw.la libalias_sw32.la
|
||||
|
||||
if BUILD_GL
|
||||
ALIAS_GL = libalias_gl.la
|
||||
libalias_gl_la_SOURCES= gl_mesh.c gl_model_alias.c model_alias.c
|
||||
else
|
||||
ALIAS_GL =
|
||||
libalias_gl_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW
|
||||
ALIAS_SW = libalias_sw.la
|
||||
libalias_sw_la_SOURCES= sw_model_alias.c model_alias.c
|
||||
else
|
||||
ALIAS_SW =
|
||||
libalias_sw_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW32
|
||||
ALIAS_SW32 = libalias_sw32.la
|
||||
else
|
||||
ALIAS_SW32 =
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = $(ALIAS_GL) $(ALIAS_SW) $(ALIAS_SW32)
|
||||
|
||||
libalias_gl_la_LDFLAGS = -version-info 1:0:0
|
||||
libalias_gl_la_SOURCES = gl_mesh.c gl_model_alias.c model_alias.c
|
||||
|
||||
libalias_sw_la_LDFLAGS = -version-info 1:0:0
|
||||
libalias_sw_la_SOURCES = sw_model_alias.c model_alias.c
|
||||
|
||||
libalias_sw32_la_LDFLAGS = -version-info 1:0:0
|
||||
libalias_sw32_la_SOURCES= sw32_model_alias.c model_alias.c
|
||||
else
|
||||
libalias_sw32_la_SOURCES=
|
||||
endif
|
||||
|
|
|
@ -1,33 +1,23 @@
|
|||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
||||
noinst_LTLIBRARIES= libbrush.la libbrush_gl.la libbrush_sw.la libbrush_sw32.la
|
||||
|
||||
libbrush_la_SOURCES= model_brush.c
|
||||
|
||||
if BUILD_GL
|
||||
BRUSH_GL = libbrush_gl.la
|
||||
libbrush_gl_la_SOURCES= gl_model_brush.c model_brush.c
|
||||
else
|
||||
BRUSH_GL =
|
||||
libbrush_gl_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW
|
||||
BRUSH_SW = libbrush_sw.la
|
||||
libbrush_sw_la_SOURCES= sw_model_brush.c model_brush.c
|
||||
else
|
||||
BRUSH_SW =
|
||||
libbrush_sw_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW32
|
||||
BRUSH_SW32 = libbrush_sw32.la
|
||||
else
|
||||
BRUSH_SW32 =
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = $(BRUSH_GL) $(BRUSH_SW) $(BRUSH_SW32) libbrush.la
|
||||
|
||||
libbrush_la_LDFLAGS = -version-info 1:0:0
|
||||
libbrush_la_SOURCES = model_brush.c
|
||||
|
||||
libbrush_gl_la_LDFLAGS = -version-info 1:0:0
|
||||
libbrush_gl_la_SOURCES = gl_model_brush.c model_brush.c
|
||||
|
||||
libbrush_sw_la_LDFLAGS = -version-info 1:0:0
|
||||
libbrush_sw_la_SOURCES = sw_model_brush.c model_brush.c
|
||||
|
||||
libbrush_sw32_la_LDFLAGS = -version-info 1:0:0
|
||||
libbrush_sw32_la_SOURCES=sw32_model_brush.c model_brush.c
|
||||
else
|
||||
libbrush_sw32_la_SOURCES=
|
||||
endif
|
||||
|
|
|
@ -1,30 +1,21 @@
|
|||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
||||
noinst_LTLIBRARIES= libsprite_gl.la libsprite_sw.la libsprite_sw32.la
|
||||
|
||||
if BUILD_GL
|
||||
SPRITE_GL = libsprite_gl.la
|
||||
libsprite_gl_la_SOURCES= gl_model_sprite.c model_sprite.c
|
||||
else
|
||||
SPRITE_GL =
|
||||
libsprite_gl_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW
|
||||
SPRITE_SW = libsprite_sw.la
|
||||
libsprite_sw_la_SOURCES= sw_model_sprite.c model_sprite.c
|
||||
else
|
||||
SPRITE_SW =
|
||||
libsprite_sw_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW32
|
||||
SPRITE_SW32 = libsprite_sw32.la
|
||||
else
|
||||
SPRITE_SW32 =
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = $(SPRITE_GL) $(SPRITE_SW) $(SPRITE_SW32)
|
||||
|
||||
libsprite_gl_la_LDFLAGS = -version-info 1:0:0
|
||||
libsprite_gl_la_SOURCES = gl_model_sprite.c model_sprite.c
|
||||
|
||||
libsprite_sw_la_LDFLAGS = -version-info 1:0:0
|
||||
libsprite_sw_la_SOURCES = sw_model_sprite.c model_sprite.c
|
||||
|
||||
libsprite_sw32_la_LDFLAGS = -version-info 1:0:0
|
||||
libsprite_sw32_la_SOURCES= sw32_model_sprite.c model_sprite.c
|
||||
else
|
||||
libsprite_sw32_la_SOURCES=
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue