Debian Codegraph @

servers/slapd/back-sql/rdbms_depend/timesten/dnreverse/Makefile

raw symbols SCIP
1 ## Copyright 1997-2024 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
3
4 #
5 # Build TimesTen ODBC Sample Programs for Solaris 2.5.1.
6 # (c) Copyright 1996-1998, TimesTen Performance Software.
7 # All rights reserved.
8 ## Note: This file was contributed by Sam Drake of TimesTen Performance
9 ## Software for use and redistribution as an integral part of
10 ## OpenLDAP Software. -Kdz
11
12 CPLUSPLUS = CC
13 TTCLASSES = ../../../../../../../../../cs/classes
14 ODBC = /opt/TimesTen4.1/32
15 CFLAGS = -g -I$(ODBC)/include -I. -I$(TTCLASSES) -DUNIX
16 LDFLAGS = -g
17 DIRLIBS = $(TTCLASSES)/ttclasses.a -L $(ODBC)/lib -R $(ODBC)/lib -ltten -lpthread -lm -lrt
18 XLALIB = -L $(ODBC)/lib -lxla
19
20 DIRPROGS= dnreverse
21
22 DNREVERSE= dnreverse.o
23
24 #
25 # Top-level targets
26 #
27
28 all: $(DIRPROGS)
29
30 direct: $(DIRPROGS)
31
32 clean:
33 rm -rf $(DIRPROGS) *.o
34
35
36 #
37 # Direct-linked programs
38 #
39
40 dnreverse: $(DNREVERSE)
41 $(CPLUSPLUS) -o dnreverse $(LDFLAGS) $(DNREVERSE) $(DIRLIBS) $(XLALIB)
42
43 #
44 # .o files
45 #
46
47 dnreverse.o: dnreverse.cpp
48 $(CPLUSPLUS) $(CFLAGS) -c dnreverse.cpp