Add directory for MacPorts mysql5 port
[clsql/s11.git] / db-mysql / Makefile.msvc
bloba692f4c1e6989b12d0807ffe5e9c962c3356e631
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
10 #  CVS Id:   $Id: Makefile.msvc,v 1.1 2002/09/18 07:43:40 kevin Exp $
12 # This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg
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 ###########################################################################
20 BASE=clsql_mysql
22 # Set to the directory where you have installed mysql's library
23 MYSQL_DIR=c:/mysql
25 MYSQL_LIB_DIR=$(MYSQL_DIR)/lib/opt
26 MYSQL_LIB_FILE=$(MYSQL_LIB_DIR)/Libmysql.lib
27 MYSQL_INCLUDE=$(MYSQL_DIR)/include
29 # Nothing to configure beyond here
31 SRC=$(BASE).c
32 OBJ=$(BASE).obj
33 DLL=$(BASE).dll
35 $(DLL): $(SRC) $(MYSQL_LIB_FILE)
36         cl /MD /LD -D_MT /DWIN32=1 /D__LCC__=1 /I$(MYSQL_INCLUDE) $(SRC) $(MYSQL_LIB_FILE)
37         del $(OBJ) $(BASE).exp
39 clean:
40         del /q $(DLL)