r10039: * BUGS: New file. Document suspected SIGPIPE
[clsql.git] / Makefile
1 # FILE IDENTIFICATION
2
3 #  Name:         Makefile
4 #  Purpose:      Makefile for the CLSQL package
5 #  Programer:    Kevin M. Rosenberg
6 #  Date Started: Mar 2002
7 #
8 #  CVS Id:   $Id$
9 #
10 # This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg
11 #
12 # CLSQL users are granted the rights to distribute and use this software
13 # as governed by the terms of the Lisp Lesser GNU Public License
14 # (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15
16 PKG     := clsql
17 DEBPKG  := cl-sql
18 SUBDIRS := sql tests uffi db-mysql db-aodbc db-odbc \
19            db-postgresql db-postgresql-socket db-sqlite \
20            db-oracle 
21 DOCSUBDIRS:=doc
22
23 include Makefile.common
24
25 LIBSUBDIRS=db-mysql uffi
26 .PHONY: subdirs $(LIBSUBDIRS)
27
28 .PHONY: all
29 all: $(LIBSUBDIRS)
30
31 $(LIBSUBDIRS):
32         $(MAKE) -C $@
33
34 SOURCE_FILES=interfaces sql cmucl-compat doc test-suite Makefile VERSION \
35         COPYING.CLSQL COPYING.MaiSQL README INSTALL ChangeLog NEWS TODO \
36         set-logical.cl clsql-uffi.system \
37         clsql.system clsql-aodbc.system clsql-mysql.system \
38         clsql-postgresql.system clsql-postgresql-socket.system
39
40 .PHONY: doc
41 doc:
42         $(MAKE) -C doc
43
44 .PHONY:dist
45 dist: clean
46         @$(MAKE) -C doc $@
47
48