2 OSNAME
= $(shell uname
-s
)
5 ifeq ($(OSNAME
), SunOS
)
7 CPlusFlags
= -O2
-w
-mt
-xarch
=v8
8 SYSLIBS
=-ldl
-lnsl
-lsocket
-lposix4
10 ifeq ($(OSNAME
), Linux
)
13 SYSLIBS
= -rdynamic
-lrt
-lpthread
-lcrypt
17 echo
"CSQL is not supported on $(OSNAME) platform"
21 INCL
= -I
$(CSQL_INSTALL_ROOT
)/include
22 LIBS
= -L
$(CSQL_INSTALL_ROOT
)/lib
-lcsql
25 test001 test003 test004 test005 test006 test007 test008 \
26 test009 test010 test011 test012 test013 test014 test015 test016 \
28 test051 test052 test053 test054 test055 test056 test057 test058 \
30 test061 test062 test063 test064 test065 test066 test067 test068 \
32 test071 test072 test073 test074 test075 test076 test077 test078 \
34 test081 test082 test083 test084 test085 test086 test087 test088 \
40 ifeq ($(PlatForm
), supported
)
45 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
46 serverOff
: conntest2.c
47 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
49 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
51 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
53 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
55 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
57 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
59 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
61 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
63 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
65 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
67 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
69 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
71 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
73 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
75 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
77 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
78 test051
: isotest1.c common.h
79 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
80 test052
: isotest2.c common.h
81 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
82 test053
: isotest3.c common.h
83 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
84 test054
: isotest4.c common.h
85 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
86 test055
: isotest5.c common.h
87 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
88 test056
: isotest6.c common.h
89 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
90 test057
: isotest7.c common.h
91 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
92 test058
: isotest8.c common.h
93 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
94 test059
: isotest9.c common.h
95 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
96 test060
: isotest10.c common.h
97 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
98 test061
: isotest1.c common.h
99 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
100 test062
: isotest2.c common.h
101 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
102 test063
: isotest3.c common.h
103 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
104 test064
: isotest4.c common.h
105 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
106 test065
: isotest5.c common.h
107 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
108 test066
: isotest6.c common.h
109 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
110 test067
: isotest7.c common.h
111 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
112 test068
: isotest8.c common.h
113 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
114 test069
: isotest9.c common.h
115 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
116 test070
: isotest10.c common.h
117 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
118 test071
: isotest11.c common.h
119 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
120 test072
: isotest12.c common.h
121 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
122 test073
: isotest13.c common.h
123 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
124 test074
: isotest14.c common.h
125 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
126 test075
: isotest15.c common.h
127 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
128 test076
: isotest16.c common.h
129 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
130 test077
: isotest17.c common.h
131 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
132 test078
: isotest18.c common.h
133 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
134 test079
: isotest19.c common.h
135 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
136 test080
: isotest20.c common.h
137 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
138 test081
: isotest21.c common.h
139 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
140 test082
: isotest22.c common.h
141 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
142 test083
: isotest23.c common.h
143 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
144 test084
: isotest24.c common.h
145 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
146 test085
: isotest25.c common.h
147 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
148 test086
: isotest26.c common.h
149 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
150 test087
: isotest27.c common.h
151 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
152 test088
: isotest28.c common.h
153 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
154 test089
: isotest29.c common.h
155 $(CPlus
) -DDEFAULT
$(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
156 test090
: isotest30.c common.h
157 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
158 test101
: threadtest1.c
159 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)
160 test102
: threadtest2.c
161 $(CPlus
) $(CPlusFlags
) -o
$@
$< $(INCL
) $(LIBS
) $(SYSLIBS
)