diff options
author | bouyer <bouyer@pkgsrc.org> | 2003-03-07 16:17:49 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2003-03-07 16:17:49 +0000 |
commit | 500d079d1edfd8684fd4a8cae4079178bbe85de2 (patch) | |
tree | 09c769ac12d208b8439b7bf9996c88c016687bc8 /databases/tcl-fbsql/files | |
parent | c5b9bc391ca14fe13dd352dceefffd8dc5f0cece (diff) | |
download | pkgsrc-500d079d1edfd8684fd4a8cae4079178bbe85de2.tar.gz |
Import of tcl-fbsql 1.05, a Tcl interface module to MySQL.
Diffstat (limited to 'databases/tcl-fbsql/files')
-rw-r--r-- | databases/tcl-fbsql/files/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/tcl-fbsql/files/Makefile b/databases/tcl-fbsql/files/Makefile new file mode 100644 index 00000000000..0cfe1e287ef --- /dev/null +++ b/databases/tcl-fbsql/files/Makefile @@ -0,0 +1,18 @@ +MYSQLLIBDIR = ${PREFIX}/lib/mysql +MYSQLINCDIR = ${PREFIX}/include/mysql + +PIC = -fPIC +INCLUDES = -I${PREFIX}/include/tcl -I$(MYSQLINCDIR) +CFLAGS += -Wall $(PIC) $(INCLUDES) + +LDFLAGS = -lz $(MYSQLLIBDIR)/libmysqlclient.la + +all: fbsql.so + +fbsql.lo: fbsql.c + $(LIBTOOL) --mode=compile ${CC} ${CFLAGS} -c fbsql.c +fbsql.so: fbsql.lo + $(LIBTOOL) --mode=link ${CC} -shared -o $@ fbsql.lo $(LDFLAGS) + +clean: + -rm -f core *.o fbsql.so |