Automated commit for upstream build of version 6.6.3
[clsql.git] / Makefile
1 #!/usr/bin/make
2 ##########################################################################
3 # FILE IDENTIFICATION
4
5 #  Name:         Makefile
6 #  Purpose:      Makefile for the CLSQL package
7 #  Programer:    Kevin M. Rosenberg
8 #  Date Started: Mar 2002
9 #
10 # This file, part of CLSQL, is Copyright (c) 2002-2010 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
17
18 PKG     := clsql
19 DEBPKG  := cl-sql
20 SUBDIRS := sql tests uffi db-mysql db-aodbc db-odbc \
21            db-postgresql db-postgresql-socket db-sqlite \
22            db-oracle 
23 DOCSUBDIRS:=doc
24
25 include Makefile.common
26
27 LIBSUBDIRS=db-mysql uffi
28 .PHONY: subdirs $(LIBSUBDIRS)
29
30 .PHONY: all
31 all: $(LIBSUBDIRS)
32
33 $(LIBSUBDIRS):
34         $(MAKE) -C $@
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