mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
795 B
30 lines
795 B
COREPATH =../..
|
|
|
|
plug_in_name = stats
|
|
QUERY_STATS_NAME = sems-stats
|
|
|
|
module_ldflags =
|
|
module_cflags =
|
|
|
|
extra_target = $(QUERY_STATS_NAME)
|
|
extra_install = install_query_stats
|
|
extra_clean = clean_query_stats
|
|
|
|
include ../Makefile.app_module
|
|
|
|
%.d: %.cxx Makefile
|
|
$(CXX) -MM $< $(CXXFLAGS) $(CPPFLAGS) > $@
|
|
|
|
%.o: %.cxx %.d $(COREPATH)/../Makefile.defs
|
|
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
|
|
|
|
$(QUERY_STATS_NAME): query_stats.d query_stats.o Makefile
|
|
$(LD) -o $(QUERY_STATS_NAME) query_stats.o $(LDFLAGS) $(EXTRA_LDFLAGS)
|
|
|
|
install_query_stats: $(QUERY_STATS_NAME) $(DESTDIR)$(bin-prefix)/$(bin-dir)
|
|
$(INSTALL-TOUCH) $(DESTDIR)$(bin-prefix)/$(bin-dir)$(QUERY_STATS_NAME)
|
|
$(INSTALL-BIN) $(QUERY_STATS_NAME) $(DESTDIR)$(bin-prefix)/$(bin-dir)
|
|
|
|
clean_query_stats:
|
|
rm -f $(QUERY_STATS_NAME)
|