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