summaryrefslogtreecommitdiffstats
path: root/plugin/handler_socket/client/Makefile.am
blob: e89727a70238efc5a9dcb09e07b3eee3c8b54edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CXXFLAGS += -fimplicit-templates
AM_INCLUDES= -I$(srcdir)/../libhsclient
bin_PROGRAMS=hsclient 
hsclient_SOURCES= hsclient.cpp
hsclient_LDFLAGS= -static -L../libhsclient -lhsclient
hsclient_CXXFLAGS= $(AM_INCLUDES)

hstest: hstest.o
	$(CXX) $(CXXFLAGS) $(MY_CXXFLAGS) $(LFLAGS) hstest.o \
		-L../libhsclient/.libs -lhsclient $(MYSQL_LIB) \
		-o hstest

hstest.o: hstest.cpp
	$(CXX) $(CXXFLAGS) $(MY_CXXFLAGS) $(MYSQL_INC) $(AM_INCLUDES) \
		-c hstest.cpp

hslongrun: hslongrun.o
	$(CXX) $(CXXFLAGS) $(MY_CXXFLAGS) $(LFLAGS) hslongrun.o \
		-L../libhsclient/.libs -lhsclient $(MYSQL_LIB) \
		-o hslongrun

hslongrun.o: hslongrun.cpp
	$(CXX) $(CXXFLAGS) $(MY_CXXFLAGS) $(MYSQL_INC) $(AM_INCLUDES) \
		-c hslongrun.cpp