Fix for time.lisp's roll function
[clsql.git] / db-mysql / Makefile.msvc
1 # -*- Mode: Makefile -*-
2 ###########################################################################
3 # FILE IDENTIFICATION
4
5 #  Name:    Makefile.msvc
6 #  Purpose: Makefile for the CLSQL UFFI helper package (MSVC)
7 #  Author:  Kevin M. Rosenberg
8 #  Created: Mar 2002
9 #
10 #  CVS Id:   $Id: Makefile.msvc,v 1.1 2002/09/18 07:43:40 kevin Exp $
11 #
12 # This file, part of CLSQL, is Copyright (c) 2002-2009 by Kevin M. Rosenberg
13 #
14 # CLSQL users are granted the rights to distribute and use this software
15 # as governed by the terms of the Lisp Lesser GNU Public License
16 # (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ###########################################################################
18
19
20 BASE=clsql_mysql
21
22 # Set to the directory where you have installed mysql's library
23 MYSQL_DIR=c:/Program Files/MySQL/MySQL Server 5.1/
24 MYSQL_LIB_FILE=$(MYSQL_DIR)lib\opt\mysqlclient.lib
25 MYSQL_INCLUDE=$(MYSQL_DIR)include
26
27 # Nothing to configure beyond here
28
29 SRC=$(BASE).c
30 OBJ=$(BASE).obj
31 DLL=$(BASE).dll
32 LIB=$(BASE).lib
33
34
35 $(DLL): $(SRC) $(MYSQL_LIB_FILE)
36         echo "LD"
37         echo $(MYSQL_LIB_FILE)
38         cl /MD /LD -D_MT /DWIN32=1 /D__LCC__=1 /I"$(MYSQL_INCLUDE)" $(SRC) $(MYSQL_LIB_FILE)
39         del $(OBJ) $(BASE).exp
40
41 clean:
42         del /q $(DLL)