r2262: *** empty log message ***
[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: Makefile,v 1.21 2002/08/01 03:08:19 kevin Exp $
9 #
10 # This file, part of CLSQL, is Copyright (c) 2002 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 := clsql clsql-uffi clsql-base clsql-mysql clsql-aodbc \
19            clsql-postgresql clsql-postgresql-socket 
20 DOCSUBDIRS:=doc
21
22 include Makefile.common
23
24 LIBSUBDIRS=interfaces/mysql interfaces/clsql-uffi
25 .PHONY: subdirs $(LIBSUBDIRS)
26
27 .PHONY: all
28 all: $(LIBSUBDIRS)
29
30 $(LIBSUBDIRS):
31         $(MAKE) -C $@
32
33 .PHONY: distclean
34 distclean: clean
35         @$(MAKE) -C doc $@
36
37 SOURCE_FILES=interfaces sql cmucl-compat doc test-suite Makefile VERSION \
38         COPYING.CLSQL COPYING.MaiSQL README INSTALL ChangeLog NEWS TODO \
39         set-logical.cl clsql-uffi.system \
40         clsql.system clsql-aodbc.system clsql-mysql.system \
41         clsql-postgresql.system clsql-postgresql-socket.system
42
43 .PHONY: doc
44 doc:
45         $(MAKE) -C doc
46
47 .PHONY:dist
48 dist: clean
49         @$(MAKE) -C doc $@
50
51