"Fossies" - the Fresh Open Source Software Archive

Member "etherape-0.9.18/src/Makefile.am" (3 Jun 2018, 2257 Bytes) of package /linux/privat/etherape-0.9.18.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 0.9.17_vs_0.9.18.

    1 ## Process this file with automake to produce Makefile.in
    2 
    3 AUTOMAKE_OPTIONS = subdir-objects
    4 
    5 confdir = $(sysconfdir)/etherape
    6 gladedir = $(datadir)/etherape/glade
    7 
    8 etherape_CPPFLAGS  = \
    9 	-I$(top_srcdir)/intl \
   10 	-DGSEAL_ENABLE \
   11 	-DGLADEDIR=\""$(gladedir)"\" \
   12 	-DCONFDIR=\""$(confdir)"\" \
   13 	$(WARN_CFLAGS) \
   14 	$(PTHREAD_CFLAGS) \
   15 	$(ETHERAPE_CFLAGS) \
   16 	$(CANVAS_CFLAGS)
   17 
   18 bin_PROGRAMS = etherape
   19 
   20 ## name resolution sources 
   21 etherape_names_SOURCES = \
   22 	names/eth_resolv.c names/eth_resolv.h \
   23 	names/dns.c names/dns.h \
   24 	names/ip-cache.c names/ip-cache.h \
   25 	names/names.c names/names.h \
   26 	names/names_netbios.c names/names_netbios.h
   27 
   28 # statistics sources
   29 etherape_stats_SOURCES = \
   30 	stats/basic_stats.c stats/basic_stats.h \
   31 	stats/conversations.c stats/conversations.h \
   32 	stats/decode_proto.c stats/decode_proto.h \
   33 	stats/links.c stats/links.h \
   34 	stats/node.c stats/node.h \
   35 	stats/node_id.c stats/node_id.h \
   36 	stats/protocols.c stats/protocols.h \
   37 	stats/prot_types.h stats/pkt_info.h \
   38 	stats/traffic_stats.c stats/traffic_stats.h \
   39 	stats/util.c stats/util.h
   40 
   41 # capture sources
   42 etherape_capture_SOURCES = \
   43 	capture/capture.c capture/capture.h \
   44 	capture/capctl.c capture/capctl.h \
   45 	capture/cap-util.c capture/cap-util.h \
   46 	capture/capctl-msg.h
   47 
   48 etherape_SOURCES = \
   49 	$(etherape_stats_SOURCES) \
   50 	$(etherape_names_SOURCES) \
   51 	$(etherape_capture_SOURCES) \
   52 	main.c main.h \
   53 	common.h \
   54 	appdata.c appdata.h\
   55 	callbacks.c callbacks.h \
   56 	compat.c compat.h \
   57 	datastructs.c datastructs.h \
   58 	diagram.c diagram.h \
   59 	export.c export.h \
   60 	info_windows.c info_windows.h \
   61 	menus.c menus.h \
   62 	node_windows.c node_windows.h \
   63 	pref_dialog.c pref_dialog.h \
   64 	preferences.c preferences.h \
   65 	ui_utils.c ui_utils.h
   66 
   67 if HAVE_LIBCARES
   68 etherape_SOURCES += names/ares_resolve.c names/ares_resolve.h
   69 else
   70 etherape_SOURCES += names/thread_resolve.c names/thread_resolve.h
   71 endif
   72 
   73 etherape_LDADD = $(ETHERAPE_LIBS) $(PCAP_LIBS) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS)
   74 etherape_LDFLAGS = $(ETHERAPE_LDFLAGS) 
   75 
   76 .indent: $(etherape_SOURCES) $(etherape_INCLUDES)
   77 	uncrustify --no-backup -c ../uncrustify.cfg $? 
   78 	touch .indent
   79 indent: .indent 
   80 
   81 purge:
   82 	rm -f *~ *.bak
   83 
   84 splint:
   85 	splint -I.. +posixlib +gnuextensions +charintliteral -nullassign $(etherape_CPPFLAGS) $(etherape_SOURCES)