Addding test cases for connection and datatype module.
[csql.git] / test / system / config / Makefile
blobcb27d1f2604dd1c76be5bf4b2669dd35cb332482
2 OSNAME = $(shell uname -s)
3 PlatForm=supported
5 ifeq ($(OSNAME), SunOS)
6 CPlus = CC
7 CPlusFlags = -O2 -w -mt -xarch=v8
8 SYSLIBS=-ldl -lnsl -lsocket -lposix4
9 else
10 ifeq ($(OSNAME), Linux)
11 CPlus = g++
12 CPlusFlags = -O2 -w
13 SYSLIBS= -rdynamic -lrt -lpthread -lcrypt
14 else
15 PlatForm=notsupported
16 all:
17 echo "CSQL is not supported on $(OSNAME) platform"
18 endif
19 endif
21 INCL= -I$(CSQL_INSTALL_ROOT)/include
22 LIBS= -L$(CSQL_INSTALL_ROOT)/lib -lcsql
24 TARGETS = \
25 test001
27 ifeq ($(PlatForm), supported)
28 all: $(TARGETS)
29 endif
31 test001: conftest1.c
32 $(CPlus) $(CPlusFlags) -o $@ $< $(INCL) $(LIBS) $(SYSLIBS)
34 clean:
35 rm -f $(TARGETS)