aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 3bd53ce10660453164b75b3c1713f13395861a15 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                          

                    

                                       
                                   
                                           
                                                             
                   


                                                         
LIB = libglouglou
DAEMON = glougloud
PROBES = gg_sniff gg_trackproc
CLI = gg_map 
DIRS = $(LIB) $(DAEMON) $(PROBES) $(CLI)

all:
	-for d in $(DIRS); do (cd $$d; make); done

clean:
	-for d in $(DIRS); do (cd $$d; make clean); done

install:
	-for d in $(DIRS); do (cd $$d; make install); done

pkg:
	rm -rf pkg
	mkdir -p pkg
	cp libglouglou/libglouglou.so \
		glougloud/glougloud \
		gg_sniff/gg_sniff \
		gg_trackproc/gg_trackproc \
		gg_map/gg_map gg_map/glouglou_localsniff.sh \
		pkg
	tar -czf glouglou_pkg_`date +%Y%m%d_%H%M`.tgz pkg

.PHONY: pkg