ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/Makefile
Revision: 1.13
Committed: Mon May 5 22:05:03 2003 UTC (21 years ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -6 lines
Log Message:
Tidy up of the client interface code - more commonly known as the
"right hand side of the server". Right since the start the filter
side of the server has been nice and tree like - every Filter sent
data to another Filter. At the top of the tree there was a "special"
Filter known as the RootFilter, which to the other Filters just
looked like a normal Filter. This was nice, and simple, and expandable.

The Client Interface on the other hand was messy. The root filter
had some hacky wrapper threads which pulled from a queue and pushed
to the relevant client interfaces (one for real time stuff, and the
other for databases). There was no simple room for expandability -
it was all hardwired to do just what was needed at the time.

This commit changes that. A Client Interface now connects to another
Client Interface, with a special one being found in the RootFilter
(yes, maybe that needs a name change now :-). So we can chain client
interfaces, and move other bits and bobs around in the server - for
example, alerting no longer needs to be connected to the Client
Interface, it can connect straight to the RootFilter (or, wherever
the config tells it ;).

Hopefully this sanitizes the underlying layout of the server a bit.

As a final note, I dropped the DBInterface. This used to insert
data in to a MySQL database. We've long since stopped using that,
and it's fallen behind and is way out of date. For now, it's gone
in to the attic.

File Contents

# Content
1 # Makefile for uk.org.iscream.cms.server
2 # $Id: Makefile,v 1.12 2003/02/05 22:27:24 tdb Exp $
3
4 # Config Include
5 include ../../../../../Config.inc
6
7 # Complete list of components
8 all : client clientinterface core componentmanager\
9 filter filtermanager rootfilter
10
11 # We need to do it like this... unfortunately.
12 client : mkclient
13 clientinterface : mkclientinterface
14 componentmanager : mkcomponentmanager
15 core : mkcore
16 filter : mkfilter
17 filtermanager : mkfiltermanager
18 rootfilter : mkrootfilter
19
20 mkclient :
21 cd client && $(MAKE) all
22 mkclientinterface :
23 cd clientinterface && $(MAKE) all
24 mkcomponentmanager :
25 cd componentmanager && $(MAKE) all
26 mkcore :
27 cd core && $(MAKE) all
28 mkfilter :
29 cd filter && $(MAKE) all
30 mkfiltermanager :
31 cd filtermanager && $(MAKE) all
32 mkrootfilter :
33 cd rootfilter && $(MAKE) all
34
35 # Have to clean up those dependency files
36 clean :
37 cd client && $(MAKE) clean
38 cd clientinterface && $(MAKE) clean
39 cd componentmanager && $(MAKE) clean
40 cd core && $(MAKE) clean
41 cd filter && $(MAKE) clean
42 cd filtermanager && $(MAKE) clean
43 cd rootfilter && $(MAKE) clean
44
45 # Main Include
46 include $(MKINC)