commenting failing queries
[csql.git] / test / odbc / Parameters / Makefile
blob125bf7f0ad962d0b5e2a5cbb893dcb9ed00847c9
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 test003 test004
26 ifeq ($(PlatForm), supported)
27 all: $(TARGETS)
28 endif
30 .c.o:.c
31 $(CPlus) $(CPlusFlags) $(INCL) -c -o $@ $<
33 test001: parameter1.o
34 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
36 test002:parameter2.o
37 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
38 test003:parameter3.o
39 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
40 test004:parameter4.o
41 $(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) $(SYSLIBS)
43 clean:
44 rm -f *.o $(TARGETS)