RedStore is a lightweight RDF triplestore written in C using the Redland library. It features SPARQL over HTTP support, an HTTP interface that is compatible with 4store, and unit tests for most of the HTTP server code.
The only build dependancy is Redland.