1 # ------------------------------------------------
2 # Copyright 2014 AT&T Intellectual Property
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 # -------------------------------------------
16 CXX= g++ -O3 -fexpensive-optimizations -g -I ../gscpaux/ -I ../../../include -I ../../../include/hfta -I ../../../include/lfta
17 CC= gcc -fexpensive-optimizations -O3 -I ../../../include -I ../../../include/lfta
19 INCDIR=../../../include
20 HFTA_DIR=$(INCDIR/hfta)
21 LFTA_DIR=$(INCDIR/lfta)
26 cp libgscphftaaux.a ../../../lib ; ranlib ../../../lib/libgscphftaaux.a
28 libgscphftaaux.a: SSstateful_count_distinct.o Manku_HH.o hfta_runtime_library.o Makefile hfta_udaf.o
29 ar rc libgscphftaaux.a SSstateful_count_distinct.o Manku_HH.o hfta_runtime_library.o hfta_udaf.o
31 hfta_runtime_library.o: hfta_runtime_library.cc
33 hfta_runtime_library.cc : $(HFTA_DIR/host_tuple.h) $(INCDIR/fta.h)
35 hfta_udaf.o: hfta_udaf.cc
37 hfta_udaf.cc : $(INCDIR/gsconfig.h) $(INCDIR/gstypes.h) $(HFTA_DIR/hfta_udaf.h) $(LFTA_DIR/rts_udaf.h)
39 Manku_HH.o: Manku_HH.cc
40 $(CXX) -c -o Manku_HH.o Manku_HH.cc
42 SSstateful_count_distinct.o: SSstateful_count_distinct.cc
43 $(CXX) -c -o SSstateful_count_distinct.o SSstateful_count_distinct.cc