1 OSNAME
= $(shell uname
-s
)
3 ifeq ($(OSNAME
), SunOS
)
5 CPlusFlags
= -O2
-w
$(COMPILER_FLAG
)
6 SYSLIBS
=-ldl
-lnsl
-lsocket
-lposix4
9 ifeq ($(OSNAME
), Linux
)
12 SYSLIBS
= -rdynamic
-lrt
-lpthread
-lcrypt
15 ifeq ($(OSNAME
), FreeBSD
)
18 SYSLIBS
= -rdynamic
-lrt
-lpthread
-lcrypt
23 INCL
= -I
$(CSQL_INSTALL_ROOT
)/include -I..
/..
/..
/..
/include
24 ifeq ($(BUILDTYPE
), MMDB
)
25 LIBS
= -L
$(CSQL_INSTALL_ROOT
)/lib
-lcsqlsql
-lcsqlstorage
-lcsqlbase
-lcsqlsqllog
-lcsqlnw
-lcsqlsqlnw
-lcsqlsqlnw
27 LIBS
= -L
$(CSQL_INSTALL_ROOT
)/lib
-lcsqlsql
-lcsqlstorage
-lcsqlbase
-lcsqlsqllog
-lcsqlnw
-lcacheload
-lcsqlsqlnw
-lcsqlgw
-lcsqlsqlnw
-lcsqlodbcadapter
31 test001 test002 test003 test004 test005\
32 test006 test007 test008 test009 test010\
33 test011 test012 test013 test014 test015\
34 test016 test017 test018 test019 test020\
35 test021 test022 test023 test024 test025\
36 test026 test027 test028 test029 test030\
38 ifeq ($(PlatForm
), supported
)
42 echo
"CSQL is not supported on $(OSNAME) platform"
45 test001
:isotest1.c common.h
46 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
47 test002
:isotest2.c common.h
48 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
49 test003
:isotest3.c common.h
50 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
51 test004
:isotest4.c common.h
52 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
53 test005
:isotest5.c common.h
54 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
55 test006
:isotest6.c common.h
56 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
57 test007
:isotest7.c common.h
58 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
59 test008
:isotest8.c common.h
60 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
61 test009
:isotest9.c common.h
62 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
63 test010
:isotest10.c common.h
64 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
65 test011
:isotest1.c common.h
66 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
67 test012
:isotest2.c common.h
68 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
69 test013
:isotest3.c common.h
70 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
71 test014
:isotest4.c common.h
72 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
73 test015
:isotest5.c common.h
74 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
75 test016
:isotest6.c common.h
76 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
77 test017
:isotest7.c common.h
78 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
79 test018
:isotest8.c common.h
80 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
81 test019
:isotest9.c common.h
82 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
83 test020
:isotest10.c common.h
84 $(CPlus
) -DRDUNCOM
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
85 test021
:isotest1.c common.h
86 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
87 test022
:isotest2.c common.h
88 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
89 test023
:isotest3.c common.h
90 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
91 test024
:isotest4.c common.h
92 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
93 test025
:isotest5.c common.h
94 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
95 test026
:isotest6.c common.h
96 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
97 test027
:isotest7.c common.h
98 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
99 test028
:isotest8.c common.h
100 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
101 test029
:isotest9.c common.h
102 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
103 test030
:isotest10.c common.h
104 $(CPlus
) -DRDRPT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)