mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +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
29 lines
957 B
Makefile
29 lines
957 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
plugin_version= 1:0:0
|
|
plugin_ldflags= @plugin_ldflags@
|
|
plugin_libadd= @plugin_libadd@
|
|
EXEEXT=
|
|
|
|
lib_LTLIBRARIES= libQFconsole.la
|
|
plugin_PROGRAMS= @SERVER_PLUGIN_TARGETS@ @CLIENT_PLUGIN_TARGETS@
|
|
noinst_PROGRAMS= @SERVER_PLUGIN_STATIC@ @CLIENT_PLUGIN_STATIC@
|
|
EXTRA_PROGRAMS= console_server.la console_client.la
|
|
|
|
common_sources= buffer.c complete.c console.c inputline.c list.c filelist.c
|
|
client_sources= client.c menu.c
|
|
server_sources= server.c
|
|
|
|
libQFconsole_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
|
libQFconsole_la_LIBADD= $(plugin_libadd)
|
|
libQFconsole_la_SOURCES= $(common_sources)
|
|
|
|
console_client_la_LDFLAGS= $(plugin_ldflags)
|
|
console_client_la_LDADD= $(plugin_libadd)
|
|
console_client_la_SOURCES= $(client_sources)
|
|
|
|
console_server_la_LDFLAGS= $(plugin_ldflags)
|
|
console_server_la_LDADD= $(CURSES_LIBS) $(plugin_libadd)
|
|
console_server_la_SOURCES= $(server_sources)
|