📄 gnumakefile.in
字号:
#-------------------------------------------------------------------------## GNUMakefile.in--# Build and install psqlodbc (Postgres ODBC driver).## Copyright (c) 1994, Regents of the University of California### IDENTIFICATION# $Header: /usr/local/cvsroot/pgsql/src/interfaces/odbc/GNUmakefile.in,v 1.11 1999/06/30 23:57:29 tgl Exp $##-------------------------------------------------------------------------@SET_MAKE@NAME = psqlodbcSRCDIR= @top_srcdir@ODBCSRCDIR= @srcdir@include $(SRCDIR)/Makefile.globalinclude Version.mkFIND= @find@# assuming gnu tar and split hereTAR= @tar@SPLIT= @split@CFLAGS += -I. @DEFS@SOURCES = *.c *.h *.in Config.mk \ TODO.txt Version.mk config.guess config.sub configure \ install-sh license.txt notice.txt odbcinst.ini \ psqlodbc.def \ psqlodbc.rc readme.txtOBJS = info.o bind.o columninfo.o connection.o convert.o drvconn.o \ environ.o execute.o lobj.o misc.o options.o \ pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o statement.o \ gpps.o tuple.o tuplelist.o dlg_specific.o $(OBJX)SHLIB_LINK= $(LIBS)# Shared library stuff, also default 'all' targetinclude $(SRCDIR)/Makefile.shlibLDFLAGS_SL+= $(LDFLAGS_ODBC).PHONY: install install-ini beforeinstall-headers install-headersinstall: $(HEADERDIR) $(LIBDIR) $(ODBCINST) install-headers \ install-ini install-lib $(install-shlib-dep)$(HEADERDIR) $(LIBDIR) $(ODBCINST): mkdir -p $@install-headers: beforeinstall-headers isql.h isqlext.h iodbc.h $(INSTALL) $(INSTLOPTS) iodbc.h $(HEADERDIR)/iodbc/iodbc.h $(INSTALL) $(INSTLOPTS) isql.h $(HEADERDIR)/iodbc/isql.h $(INSTALL) $(INSTLOPTS) isqlext.h $(HEADERDIR)/iodbc/isqlext.hbeforeinstall-headers: @if [ ! -d $(HEADERDIR)/iodbc ]; then mkdir -p $(HEADERDIR)/iodbc; fiinstall-ini: odbcinst.ini $(INSTALL) $(INSTL_LIB_OPTS) odbcinst.ini $(ODBCINST)/odbcinst.ini.PHONY: cleanclean: clean-shlib -rm -f lib$(NAME).a $(OBJS).PHONY: distcleandistclean: clean -rm -f config.h GNUmakefile Makefile.global -rm -f config.cache config.log config.statusifeq ($(PORTNAME), win) @if [ $SRCDIR != $ODBCSRCDIR ]; then rm -f template makefiles port; fielse @if [ $SRCDIR ne $ODBCSRCDIR ]; then rm -f template makefiles port; fiendif.PHONY: standalonestandalone: @if test "$SRCDIR" = "$ODBCSRCDIR"; then \ echo "****************************************************"; \ echo "Note: This was a standalone installation already"; \ echo "This may produce a slightly inconsistant tar file..."; \ echo "You should use the original tar file instead"; \ echo "****************************************************"; \ fi -rm -f psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION).tar.gz $(TAR) -chf psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION).tar \ $(SOURCES) -C @top_srcdir@ makefiles template Makefile.shlib gzip psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION).tar.PHONY: integratedintegrated: -rm -f psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION)-int.tar.gz $(TAR) -cf psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION)-int.tar $(SOURCES) gzip psqlodbc-$(SO_MAJOR_VERSION)$(SO_MINOR_VERSION)-int.tardepend dep: $(CC) -MM $(CFLAGS) *.c >dependifeq (depend,$(wildcard depend))include dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -