mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-13 01:47:05 +08:00
to get rid of unused variables. Get clean compile on Linux (Thomas and Gerald). Implement autoconf/configure for standalone builds and use the existing autoconf/configure system when in the Postgres source tree. Code tests and functions with ApplixWare-4.4.1beta on a Linux box. Changes should be backward compatible with WIN32 but still needs testing.
44 lines
946 B
Makefile
44 lines
946 B
Makefile
#
|
|
#
|
|
#
|
|
|
|
#============ Default for all system ==============
|
|
OS = UNX
|
|
SHELL = /bin/sh
|
|
AR = ar r
|
|
DLSUFFIX= so
|
|
INCDIR = /include
|
|
OBJX =
|
|
RANLIB = ranlib
|
|
INSTALL = /usr/bin/install
|
|
INSTALL_DATA = $(INSTALL) -c -m 644
|
|
MKDIR = mkdir
|
|
DESTDIR = /usr/local
|
|
LIBDIR = /lib
|
|
INSTHEADERS = isql.h isqlext.h iodbc.h
|
|
DESTLIBDIR = $(DESTDIR)$(LIBDIR)
|
|
DESTINCDIR = $(DESTDIR)$(INCDIR)/iodbc
|
|
ODBCSYSTEMDIR = /usr/home/gryschuk
|
|
|
|
# Remove the comment characters from the section you want to
|
|
# use below, make sure all other sections are commented out.
|
|
|
|
#============== Linux ELF =========================
|
|
CC = gcc
|
|
PIC = -fPIC
|
|
CFLAGSX = -g
|
|
#CFLAGSX = -g -Wall -DMY_LOG -DQ_LOG
|
|
LDFLAGS = -shared
|
|
LIBS = -ldl
|
|
|
|
#============= FreeBSD 2.x ========================
|
|
# I don't know if this would work but you can always just try it.
|
|
# PIC = -fPIC
|
|
# CFLAGSX = -g -Wall
|
|
# LDFLAGS = -Bshareable
|
|
# LIBS =
|
|
|
|
#===| end of file 'Config.mk' |===
|
|
|
|
|