mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 13:11:20 +00:00
2ce0f2ded2
This gives us a bunch more flexibility. plugins no longer have the "lib" prefix or the version suffix, they're now installed in $fs_sharepath/QFplugins,, builds should take much less time (in general, only one of pic or non-pic versions are build), bins and libs can have individual CFLAGS
30 lines
996 B
Makefile
30 lines
996 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
SUBDIRS= alias brush sprite
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
|
|
EXTRA_LTLIBRARIES= \
|
|
libQFmodels_gl.la libQFmodels_sw.la
|
|
|
|
models_sources = clip_hull.c model.c
|
|
|
|
libQFmodels_la_LDFLAGS= -version-info 1:0:0
|
|
libQFmodels_la_LIBADD= brush/libbrush.la
|
|
libQFmodels_la_SOURCES= $(models_sources)
|
|
libQFmodels_la_DEPENDENCIES= brush/libbrush.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= $(gl_LIBS)
|
|
|
|
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= $(sw_LIBS)
|