Bill Currie
e991c1fed3
Make a bit of progress cleaning up vid for plugins.
2012-04-11 14:58:54 +09:00
Bill Currie
8530959752
Link the model libs to the render plugins.
2012-04-11 14:58:53 +09:00
Bill Currie
8e91fb7bc1
Get the basics linking.
...
Still, nothing will work: no plugins are loaded and they're all broken
anyway.
glx, sgl, glslx etc are going away, just the basics will be built: fbdev
(probably go away eventually), sdl, x11 and hopefully someday win. That's
actually the only reason anything links.
2012-04-11 14:58:53 +09:00
Bill Currie
a4c280f2b2
Take the first step towards render plugins.
...
No clients link. Even if they did, nothing would work.
2012-04-11 14:58:53 +09:00
Antti Harri
bb1a342629
Use correct name for OpenGL library on OpenBSD by default.
2012-03-03 21:01:23 +09:00
Bill Currie
b69d527507
Nuke another AM_CONDITIONAL
2012-02-13 16:08:03 +09:00
Bill Currie
df47dd31f1
Clean up the excessive makefile vars generated by AC_SUBST.
...
While it further breaks RPM building, all AC_SUBST(HAVE_*) have been nuked.
When AM_SUBST_NOTMAKE, tell automake to not generate var = @var@ in
Makefile.in for qf specific vars (QF_SUBST is a wrapper for AC_SUBST that
also calls AM_SUBST_NOTMAKE).
2012-02-13 15:49:55 +09:00
Bill Currie
3cb4cb59b5
Link QFgamecode directly into QFruamoko.
...
First step in the library "merge down".
QFgamecode is now a convenience library. The only things that mention it
directly now are ruamoko and qfcc.
2012-02-13 15:05:31 +09:00
Bill Currie
f389715730
Fix non-static console plugins.
...
Bah, fiddly stuff.
2012-02-13 10:58:42 +09:00
Bill Currie
a16daac352
Fix the broken defaults for sound and cd plugins.
...
This has the side effect of defining defaults for all plugins, but as only
sound and cd actually use the defaults, no harm done.
2012-02-12 21:16:28 +09:00
Bill Currie
e416c3e172
Clear up some annying whitespace issues.
...
Now that I know more about how autoconf actually works (ie, m4 stuff), I'm
finally able to fix the inability to format lists the way I want.
2012-02-12 20:14:26 +09:00
Bill Currie
546a7e7aac
Avoid recusing into tools and ruamoko when not needed.
2012-02-12 19:29:31 +09:00
Bill Currie
6f2fec8afe
Fix non-static plugins.
2012-02-12 18:35:00 +09:00
Bill Currie
02d24189ef
Use QF_NEED for plugins.
...
At the moment, the selection of the default sound driver etc is broken.
2012-02-12 11:37:25 +09:00
Bill Currie
4707706f5d
Use QF_NEED for the renderer and model libraries.
...
This breaks RPM building, but I can fix that later.
2012-02-10 13:29:45 +09:00
Bill Currie
eefa89e72e
Remove the AM_CONDITIONALs from tools.
...
Now that the tools directories aren't entered when those tools aren't being
built, there's no reason to use AM_CONDITIONAL in there.
2012-02-10 02:50:42 +09:00
Bill Currie
4d6ed605a9
Create and use QF_PROCESS_NEED_DIRS.
...
Not that I imagine many people use --with[out]-tools, but now unwanted
tools don't get visited by make.
2012-02-10 01:49:45 +09:00
Bill Currie
717d5368de
Rework QF_PROCESS_NEED to be more general.
...
QF_PROCESS_NEED has been renamed to QF_PROCESS_NEED_LIBS and its guts have
been moved to QF_PROCESS_NEED_subroutine, with additional modifications to
allow QF_NEED to be used for other targets as well (eg, directories,
executables, etc).
2012-02-10 01:30:41 +09:00
Bill Currie
7a8f91edda
Move bi_gib.c from ruamoko to gib.
...
This makes gib depend on gamecode, but removes the dependency on gib from
ruamoko. Unfortunately, carne now needs to be linked against gamecode even
though it never uses it.
2012-02-09 10:00:54 +09:00
Bill Currie
e34f0178b6
Build GLSL clients for SDL.
...
Just about to do a release, and I realized windows users wouldn't have any
way of checking out the new renderer. I'll add wglsl when I get a chance to
do some testing.
2012-02-08 22:05:58 +09:00
Bill Currie
5c062acc80
Enable the glslx qw client.
...
The only reason it wa getting built is other qw clients were requiring the
same libs.
2012-02-08 08:25:50 +09:00
Bill Currie
8e5c7db857
Clean up the sound plugin configuration code.
...
16 if statements down to one in a for loop :)
2012-02-07 23:03:47 +09:00
Bill Currie
54626b3355
Clean out some cruft.
...
gibscript seems to be one of snax' little experiments. I suspect he never
committed it, but his autoconf changes snuck in by accident.
2012-02-07 23:01:43 +09:00
Sander van Dijk
cd05fecfac
config.d/networking.m4: fix minor typo.
2012-02-07 20:20:26 +09:00
Sander van Dijk
8a5b16d6ab
config.d/networking.m4: fix check for libcurl.
2012-02-07 20:20:19 +09:00
Bill Currie
b7e5ad6306
Clean up plugin_ldadd and plugin_ldflags
2012-02-07 12:52:12 +09:00
Bill Currie
b5019c8e33
Nuke the engine dicrectory from gamecode.
...
Not the contents, of course :) Anyway, finally, that totally useless
directory is gone.
2012-02-06 23:44:52 +09:00
Bill Currie
e6969ea7e3
Use pkg-config for libcurl, too.
2012-02-06 00:05:22 +09:00
Bill Currie
47ee9d0355
Use pkg-config for ogg and vorbis libs.
...
Modern versions of ogg and vorbis provide pc files, so might as well make
the most of it.
2012-02-05 23:52:04 +09:00
Bill Currie
abcd3091d0
Test for sys/shm.h for OSS sound.
...
Android does not supply sys/shm.h (or related headers, by design), so OSS
sound is completely out of the question on Android.
2012-02-05 18:46:59 +09:00
Bill Currie
97aa5b8c6d
Don't try to link with pthread on android.
...
The pthread functions are in libc.
2012-02-05 14:29:00 +09:00
Bill Currie
201532ea7e
Fix missing library references when linking.
2012-02-05 14:25:22 +09:00
Bill Currie
3bd75cefd8
Autoconfiscate log2f.
...
Android doesn't supply log2f for us (though it does have all the other
float calls ruamoko wants).
2012-02-05 14:23:33 +09:00
Jeff Teunissen
86edf54c40
Build and ignore cleanups
...
GLSL renderer build was checking for BUILD_GL instead of BUILD_GLSL in a
few places. Also, ignore the GLSL .fc and .vc files and the binaries.
2012-01-02 14:16:19 -05:00
Bill Currie
55a0ed49cd
Build qw-client-glslx too.
...
I was asked about timedemo overkill (bigass1 currently gets 40kfps, haha),
so I had to add qw-client-glslx to the build.
2011-12-25 16:41:14 +09:00
Bill Currie
497461b4c2
Make a start on making a pure GLSL renderer.
...
For now, only nq-glslx will be built, but as there is no actual code, it
doesn't link. However, this gets the glsl stuff into the build system.
2011-12-23 12:19:13 +09:00
Bill Currie
da552e33e7
Remove execinfo checks.
...
It seems we no longer need it (if we ever really did).
2011-12-13 21:25:41 +09:00
Bill Currie
853bf13d9e
Move the winding code into libQFmodels.
2011-11-28 20:54:35 +09:00
Bill Currie
7e5d654f3d
Fix the accidental nukage of PNG_LIBS.
...
Kind of silly setting PNG_LIBS to -lpng after going to the effort of using
pkg-config now, isn't it :P
2011-08-25 23:04:02 +09:00
Bill Currie
605d60167d
Rename the doxygen formatted text files.
...
So I don't have to keep duplicating file names all over the place, I've
decided to use the "dox" extension on text files that are formatted for
doxygen processing. This way, doxygen can search for them using wildcards,
and unformated text files won't cause any headaches.
2011-08-20 13:35:51 +09:00
Bill Currie
4cec4b9f96
Rewrite the interface detection code.
...
Turns out SIOCGIFCONF is rather painful to get working cross-platform. This
should work better, and can be used even with ipv6 :)
2011-08-11 18:32:39 +09:00
Bill Currie
6f413c0aec
Fix testsound building in mingw.
...
I had forgotten about $(EXEEXT) :P
2011-08-02 11:24:51 +09:00
Bill Currie
28610c08e3
Do not try to build testsound when not building sound libs.
2011-07-30 15:03:19 +09:00
Bill Currie
056d6a08ff
Do not define HAVE_ZLIB when it is unavailable.
...
Oops :P
2011-07-29 16:51:52 +09:00
Bill Currie
a5272fac17
Make the lack of libsamplerate a non-fatal error.
...
Requiring libsamplerate when not building clients is rather silly. When
building clients, disable sound if libsamplerate can't be found.
2011-07-29 16:32:35 +09:00
Bill Currie
f8d8395cf0
Clean up the ipv6 check a little.
2011-07-23 15:58:45 +09:00
Antti Harri
e56e8caff2
Fix previous FLAC pkg-config commit that had some typos.
...
While there, restructure and remove duplicate code.
2011-07-09 22:59:49 +03:00
Antti Harri
358a844a42
Implement --version-info configure switch to override QuakeForge
...
library versioning. From Lasse Collin, thanks!
2011-07-09 01:23:36 +03:00
Antti Harri
c4826262f5
Extend configure check for FLAC to use pkg-config when
...
possible.
2011-07-08 21:35:04 +03:00
Bill Currie
b18ff4ed3e
Move test-qfs.c into a test directory.
...
Same as before: avoiding -prefic-pic issues.
Also, catch some minor snafus found in the previous commit. With this, make
distcheck passes again :)
2011-06-12 16:34:15 +09:00