~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to examples/build_unix/old/prefix.sco_ev

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
ImportĀ upstreamĀ versionĀ 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
5
#
 
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.
 
10
#
 
11
# The Original Code was created by Inprise Corporation
 
12
# and its predecessors. Portions created by Inprise Corporation are
 
13
# Copyright (C) Inprise Corporation.
 
14
#
 
15
# All Rights Reserved.
 
16
# Contributor(s): ______________________________________.
 
17
 
 
18
# -------------------------- makefile ----------------------------
 
19
#
 
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.
 
23
#
 
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.
 
27
#
 
28
# To build all the examples use the 'all' target, by issuing the 
 
29
# following command:
 
30
#
 
31
#       make all
 
32
# or
 
33
#       make IBASE=/usr/interbase all
 
34
#
 
35
# To build any one individual target, use the following command:
 
36
#
 
37
#       make 'target'
 
38
# or
 
39
#       make IBASE=/usr/interbase 'target'
 
40
#
 
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, 
 
47
#       stat12t, udflib
 
48
#
 
49
# ---------------------------------------------------------------------
 
50
 
 
51
# ---------------------------------------------------------------------
 
52
# InterBase Installation Directory
 
53
#
 
54
# CHANGE this definition to point to your InterBase installation directory
 
55
# ---------------------------------------------------------------------
 
56
IBASE=          /usr/interbase
 
57
 
 
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 
 
64
DB=             employee.gdb
 
65
 
 
66
# ---------------------------------------------------------------------
 
67
# General Compiler and linker Defines for SCO Superserver
 
68
# ---------------------------------------------------------------------
 
69
CC=             gcc
 
70
LINK=           gcc
 
71
LIB_LINK=       ld
 
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
 
76
RM=             rm -f
 
77