r2136: *** 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.20 2002/06/20 13:34:55 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:=interfaces sql base
19 DOCSUBDIRS:=doc
20
21 include Makefile.common
22
23 LIBSUBDIRS=interfaces/mysql interfaces/clsql-uffi
24 .PHONY: subdirs $(LIBSUBDIRS)
25
26 .PHONY: all
27 all: $(LIBSUBDIRS)
28
29 $(LIBSUBDIRS):
30         $(MAKE) -C $@
31
32 .PHONY: distclean
33 distclean: clean
34         @$(MAKE) -C doc $@
35
36 SOURCE_FILES=interfaces sql cmucl-compat doc test-suite Makefile VERSION \
37         COPYING.CLSQL COPYING.MaiSQL README INSTALL ChangeLog NEWS TODO \
38         set-logical.cl clsql-uffi.system \
39         clsql.system clsql-aodbc.system clsql-mysql.system \
40         clsql-postgresql.system clsql-postgresql-socket.system
41
42 .PHONY: doc
43 doc:
44         $(MAKE) -C doc
45
46 .PHONY:dist
47 dist: clean
48         @$(MAKE) -C doc $@
49
50