commenting failing queries
[csql.git] / test / odbc / Transaction / Makefile
blobf0b38a946526b5e7cd396854bd384e81cbbefdc8
1 OSNAME = $(shell uname -s)
2 PlatForm=supported
4 ifeq ($(OSNAME), SunOS)
5 CPlus = CC
6 CPlusFlags = -O2 -w -mt -xarch=v8
7 SYSLIBS=-ldl -lnsl -lsocket -lposix4
8 else
9 ifeq ($(OSNAME), Linux)
10 CPlus = g++
11 CPlusFlags = -O2 -w
12 SYSLIBS= -rdynamic -lrt -lpthread -lcrypt
13 else
14 PlatForm=notsupported
15 all:
16 echo "CSQL is not supported on $(OSNAME) platform"
17 endif
18 endif
20 INCL= -I$(CSQL_INSTALL_ROOT)/include
22 LIBS= -L$(CSQL_INSTALL_ROOT)/lib -lcsqlodbc -lcacheload
24 TARGETS = test001 test002
26 ifeq ($(PlatForm), supported)
27 all: $(TARGETS)
28 endif
30 .c.o:.c
31 $(CPlus) $(CPlusFlags) $(INCL) -c -o $@ $<
33 test001: transact1.o
34 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
36 test002:transact2.o
37 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
39 clean:
40 rm -f *.o $(TARGETS)