1
# The contents of this file are subject to the Interbase Public
2
# License Version 1.0 (the "License"); you may not use this file
3
# except in compliance with the License. You may obtain a copy
4
# of the License at http://www.Inprise.com/IPL.html
6
# Software distributed under the License is distributed on an
7
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
8
# or implied. See the License for the specific language governing
9
# rights and limitations under the License.
11
# The Original Code was created by Inprise Corporation
12
# and its predecessors. Portions created by Inprise Corporation are
13
# Copyright (C) Inprise Corporation.
15
# All Rights Reserved.
16
# Contributor(s): ______________________________________.
18
# -------------------------- makefile ----------------------------
20
# This makefile will build the examples supplied with InterBase 5.0.
21
# See the Programmer's Guide for information about the example
22
# databases and example programs.
24
# You should edit the IBASE definition in this file to point to the
25
# directory where InterBase was installed. Or you can specify the
26
# definition on the command-line of make.
28
# To build all the examples use the 'all' target, by issuing the
33
# make IBASE=/usr/interbase all
35
# To build any one individual target, use the following command:
39
# make IBASE=/usr/interbase 'target'
41
# where target 'target' is one of the following:
42
# employe2.gdb, api1, api2, api3, api4, api5, api6, api7,
43
# api8, api9, api9f, api10, api11, api12, api13, api14,
44
# api15, api16, api16t, apifull, dyn1, dyn2, dyn3, dyn4,
45
# dyn5, dynfull, stat1, stat2, stat3, stat4, stat5,
46
# stat6, stat7, stat8, stat9, stat10, stat11, stat12,
49
# ---------------------------------------------------------------------
51
# ---------------------------------------------------------------------
52
# InterBase Installation Directory
54
# CHANGE this definition to point to your InterBase installation directory
55
# ---------------------------------------------------------------------
58
# ---------------------------------------------------------------------
59
# General InterBase Defines for SCO Superserver
60
# ---------------------------------------------------------------------
61
GPRE= $(IBASE)/bin/gpre -c -n
62
GPRE_M= $(IBASE)/bin/gpre -c -n -m
63
ISQL= $(IBASE)/bin/isql
66
# ---------------------------------------------------------------------
67
# General Compiler and linker Defines for SCO Superserver
68
# ---------------------------------------------------------------------
72
CFLAGS= -c -w -I$(IBASE)/include -o
73
LIB_CFLAGS= -fPIC -melf $(CFLAGS)
74
LINK_FLAGS= -melf -lgds -lsocket
75
LIB_LINK_FLAGS= -G -belf -Bsymbolic -lgds -lsocket -lc -lcrypt -lm