X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-mysql%2FMakefile;h=728c5ee873d68a49c5e50032f1dfea834334b4c1;hp=197d12646f09bf3d9d67447ae8eb1d2edbd015fb;hb=bada52b7a8fd2cc484dee33cccd64ca09a52ec3d;hpb=7b296f477e74a6db6e319e6cb6dff16be44e6a60 diff --git a/db-mysql/Makefile b/db-mysql/Makefile index 197d126..728c5ee 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -3,11 +3,11 @@ # FILE IDENTIFICATION # # Name: Makefile -# Purpose: Makefile for the CLSQL UFFI helper package +# Purpose: Makefile for the CLSQL MySQL database interface # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.1 2002/09/18 07:43:40 kevin Exp $ +# CVS Id: $Id$ # # This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -49,9 +49,14 @@ compile: $(shared_lib) $(object): $(source) mysql.h $(CC) ${SHARED_CC_OPT} $(INCLUDE_DIRS) -c $< -o $@ -$(shared_lib): $(object) -lmysqlclient +$(shared_lib): $(object) $(LD) ${SHARED_LD_OPT} $^ -o $@ +mac: $(object) + ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress $(object) -o $(base).dylib + ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /sw/lib/libmysqlclient.dylib -o libmysqlclient.dylib + ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o libz.dylib + clean: @rm -f $(object) $(shared_lib) *~