Changeset 61ecfb6
- Timestamp:
- 10/31/05 16:16:50 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 96ddd3c
- Parents:
- deab6dc5
- Files:
-
- 1 added
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r779d445 r61ecfb6 1 SUBDIRS=lib docs 1 SUBDIRS=lib docs libpacketdump 2 2 3 3 AUTOMAKE_OPTIONS = 1.5 -
configure.in
rdeab6dc5 r61ecfb6 4 4 AM_INIT_AUTOMAKE(libtrace, 2.0.23) 5 5 6 AC_CONFIG_FILES([Makefile lib/Makefile docs/Makefile ])6 AC_CONFIG_FILES([Makefile lib/Makefile docs/Makefile libpacketdump/Makefile]) 7 7 dnl GNU C library 8 8 dnl AC_GNU_SOURCE 9 9 10 10 11 AM_CONFIG_HEADER(config.h) … … 13 14 AC_PROG_CC 14 15 AC_PROG_INSTALL 16 AC_LIBTOOL_DLOPEN 15 17 AC_PROG_LIBTOOL 16 18 17 19 AC_CONFIG_LIBOBJ_DIR(lib) 18 20 19 21 # Checks for header files. … … 122 124 AC_CHECK_FUNCS(socket strdup) 123 125 124 # configure time option for __attribute__((pure)) 125 test_pure=true 126 AC_ARG_WITH(pure, 127 AC_HELP_STRING([--with-pure], 128 [use __attribute__((pure)) for optimisation]), 129 [ 130 if test "$withval" = no -o "$withval" = false 131 then 132 test_pure=false 133 else 134 test_pure=true 135 fi 136 ],[ 137 test_pure=true 138 ]) 139 140 libtrace_pure=false 141 if test "$test_pure" = true; then 142 AC_MSG_CHECKING([if compiler supports __attribute__((pure))]) 143 OLDCFLAGS="$CFLAGS" 144 CFLAGS="$CFLAGS -Werror" 145 146 AC_COMPILE_IFELSE([AC_LANG_PROGRAM( 147 [[ 148 #define SIMPLE_FUNCTION __attribute__((pure)) 149 SIMPLE_FUNCTION 150 void foo() { 151 } 152 ]])], 153 [AC_DEFINE(HAVE_ATTR_PURE,1,[define to test for __attribute__((pure)) support]) libtrace_pure=true], 154 [AC_DEFINE(HAVE_ATTR_PURE,0,[define to test for __attribute__((pure)) support]) libtrace_pure=false]) 155 156 AC_MSG_RESULT($libtrace_pure) 157 CFLAGS="$OLDCFLAGS" 158 fi 159 160 if test "$libtrace_pure" = true; then 161 perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h 162 else 163 perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h 164 fi 165 166 126 ## configure time option for __attribute__((pure)) 127 #test_pure=true 128 #AC_ARG_WITH(pure, 129 # AC_HELP_STRING([--with-pure], 130 # [use __attribute__((pure)) for optimisation]), 131 #[ 132 # if test "$withval" = no -o "$withval" = false 133 # then 134 # test_pure=false 135 # else 136 # test_pure=true 137 # fi 138 #],[ 139 # test_pure=true 140 #]) 141 # 142 #libtrace_pure=false 143 #if test "$test_pure" = true; then 144 # AC_MSG_CHECKING([if compiler supports __attribute__((pure))]) 145 # OLDCFLAGS="$CFLAGS" 146 # CFLAGS="$CFLAGS -Werror" 147 # 148 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM( 149 # [[ 150 ##define SIMPLE_FUNCTION __attribute__((pure)) 151 #SIMPLE_FUNCTION 152 #void foo() { 153 #} 154 # ]])], 155 # [AC_DEFINE(HAVE_ATTR_PURE,1,[define to test for __attribute__((pure)) support]) libtrace_pure=true], 156 # [AC_DEFINE(HAVE_ATTR_PURE,0,[define to test for __attribute__((pure)) support]) libtrace_pure=false]) 157 # 158 # AC_MSG_RESULT($libtrace_pure) 159 # CFLAGS="$OLDCFLAGS" 160 # 161 # if test "$libtrace_pure" = true; then 162 # perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h 163 # else 164 # perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h 165 # fi 166 # 167 #fi 167 168 168 169 # configure time options for man pages -
lib/libtrace.h
rf04e489 r61ecfb6 42 42 #endif 43 43 44 /* HAVE_ATTR_PURE is replaced by autoconf */45 #define HAVE_ATTR_PURE 146 47 44 /* Function does not depend on anything but its 48 45 * parameters, used to hint gcc's optimisations 49 46 */ 50 #if HAVE_ATTR_PURE47 #if __GNUC__ >= 3 51 48 # define SIMPLE_FUNCTION __attribute__((pure)) 52 49 #else -
libpacketdump/Makefile
r950d54a r61ecfb6 1 CXX=g++ 2 LD=g++ 3 PREFIX?=/usr/local 4 INCLUDES=-I$(PREFIX)/include 5 # Directory to search for plugins 6 LIBDIR=\"$(shell pwd)\" 7 CXXFLAGS=-g -Wall -DDIRNAME=$(LIBDIR) $(INCLUDES) -rdynamic 8 CFLAGS=-g -Wall $(INCLUDES) -rdynamic 9 LDFLAGS=-L$(PREFIX)/lib -rdynamic 10 LDLIBS=-ltrace -ldl 11 LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc))) 12 ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc))) 13 IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc))) 14 TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc))) 15 PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS) 16 17 all: libpacketdump.so $(PLUGINS) 18 19 tcp_1720.so: 20 21 %.so:%.cc 22 $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@ 23 24 asn1-test: CXXFLAGS+=-DTEST 25 asn1-test: asn1.cc 26 $(CXX) $(CXXFLAGS) $^ -o $@ 27 28 links: links.txt 29 ./make_links 30 31 clean: 32 rm -f *.o testprocess *.so 33 34 install: 35 cp *.so $(LIBDIR) 36 37 .PHONY: clean all links 38 1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 # libpacketdump/Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005 Free Software Foundation, Inc. 6 # This Makefile.in is free software; the Free Software Foundation 7 # gives unlimited permission to copy and/or distribute it, 8 # with or without modifications, as long as this notice is preserved. 9 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 # PARTICULAR PURPOSE. 14 15 16 17 18 SOURCES = $(libpacketdump_la_SOURCES) 19 20 srcdir = . 21 top_srcdir = .. 22 23 pkgdatadir = $(datadir)/libtrace 24 pkglibdir = $(libdir)/libtrace 25 pkgincludedir = $(includedir)/libtrace 26 top_builddir = .. 27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 28 INSTALL = /usr/bin/install -c 29 install_sh_DATA = $(install_sh) -c -m 644 30 install_sh_PROGRAM = $(install_sh) -c 31 install_sh_SCRIPT = $(install_sh) -c 32 INSTALL_HEADER = $(INSTALL_DATA) 33 transform = $(program_transform_name) 34 NORMAL_INSTALL = : 35 PRE_INSTALL = : 36 POST_INSTALL = : 37 NORMAL_UNINSTALL = : 38 PRE_UNINSTALL = : 39 POST_UNINSTALL = : 40 build_triplet = x86_64-unknown-linux-gnu 41 host_triplet = x86_64-unknown-linux-gnu 42 subdir = libpacketdump 43 DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 am__aclocal_m4_deps = $(top_srcdir)/configure.in 47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 48 $(ACLOCAL_M4) 49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 50 CONFIG_HEADER = $(top_builddir)/config.h 51 CONFIG_CLEAN_FILES = 52 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 53 am__vpath_adj = case $$p in \ 54 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 55 *) f=$$p;; \ 56 esac; 57 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 58 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" 59 libLTLIBRARIES_INSTALL = $(INSTALL) 60 LTLIBRARIES = $(lib_LTLIBRARIES) 61 libpacketdump_la_DEPENDENCIES = 62 am_libpacketdump_la_OBJECTS = libpacketdump.lo 63 libpacketdump_la_OBJECTS = $(am_libpacketdump_la_OBJECTS) 64 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 65 depcomp = $(SHELL) $(top_srcdir)/depcomp 66 am__depfiles_maybe = depfiles 67 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 68 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 69 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ 70 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 71 $(AM_CXXFLAGS) $(CXXFLAGS) 72 CXXLD = $(CXX) 73 CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ 74 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 75 SOURCES = $(libpacketdump_la_SOURCES) 76 DIST_SOURCES = $(libpacketdump_la_SOURCES) 77 includeHEADERS_INSTALL = $(INSTALL_HEADER) 78 HEADERS = $(include_HEADERS) 79 ETAGS = etags 80 CTAGS = ctags 81 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 82 ACLOCAL = ${SHELL} /home/dlawson/code/libtrace/missing --run aclocal-1.9 83 ADD_INCLS = 84 ADD_LDFLAGS = 85 ADD_LIBS = -lpcap -lz 86 AMDEP_FALSE = # 87 AMDEP_TRUE = 88 AMTAR = ${SHELL} /home/dlawson/code/libtrace/missing --run tar 89 AR = ar 90 AUTOCONF = ${SHELL} /home/dlawson/code/libtrace/missing --run autoconf 91 AUTOHEADER = ${SHELL} /home/dlawson/code/libtrace/missing --run autoheader 92 AUTOMAKE = ${SHELL} /home/dlawson/code/libtrace/missing --run automake-1.9 93 AWK = gawk 94 CC = gcc 95 CCDEPMODE = depmode=gcc3 96 CFLAGS = -g -O2 97 CPP = gcc -E 98 CPPFLAGS = 99 CXX = g++ 100 CXXCPP = g++ -E 101 CXXDEPMODE = depmode=gcc3 102 CXXFLAGS = -g -O2 103 CYGPATH_W = echo 104 DAG2_4_FALSE = 105 DAG2_4_TRUE = # 106 DAG_TOOLS_DIR = 107 DEFS = -DHAVE_CONFIG_H 108 DEPDIR = .deps 109 ECHO = echo 110 ECHO_C = 111 ECHO_N = -n 112 ECHO_T = 113 EGREP = grep -E 114 EXEEXT = 115 F77 = g77 116 FFLAGS = -g -O2 117 HAS_DOXYGEN_FALSE = # 118 HAS_DOXYGEN_TRUE = 119 HAVE_DAG_FALSE = 120 HAVE_DAG_TRUE = # 121 INSTALL_DATA = ${INSTALL} -m 644 122 INSTALL_PROGRAM = ${INSTALL} 123 INSTALL_SCRIPT = ${INSTALL} 124 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 125 LDFLAGS = 126 LIBOBJS = 127 LIBS = 128 LIBTOOL = $(SHELL) $(top_builddir)/libtool 129 LN_S = ln -s 130 LTLIBOBJS = 131 MAKEINFO = ${SHELL} /home/dlawson/code/libtrace/missing --run makeinfo 132 MANPAGES = 133 OBJEXT = o 134 PACKAGE = libtrace 135 PACKAGE_BUGREPORT = libtrace@wand.net.nz 136 PACKAGE_NAME = libtrace 137 PACKAGE_STRING = libtrace 2.0.23 138 PACKAGE_TARNAME = libtrace 139 PACKAGE_VERSION = 2.0.23 140 PATH_SEPARATOR = : 141 RANLIB = ranlib 142 SET_MAKE = 143 SHELL = /bin/sh 144 STRIP = strip 145 VERSION = 2.0.23 146 ac_ct_AR = ar 147 ac_ct_CC = gcc 148 ac_ct_CXX = g++ 149 ac_ct_F77 = g77 150 ac_ct_RANLIB = ranlib 151 ac_ct_STRIP = strip 152 am__fastdepCC_FALSE = # 153 am__fastdepCC_TRUE = 154 am__fastdepCXX_FALSE = # 155 am__fastdepCXX_TRUE = 156 am__include = include 157 am__leading_dot = . 158 am__quote = 159 am__tar = ${AMTAR} chof - "$$tardir" 160 am__untar = ${AMTAR} xf - 161 bindir = ${exec_prefix}/bin 162 build = x86_64-unknown-linux-gnu 163 build_alias = 164 build_cpu = x86_64 165 build_os = linux-gnu 166 build_vendor = unknown 167 datadir = ${prefix}/share 168 exec_prefix = ${prefix} 169 host = x86_64-unknown-linux-gnu 170 host_alias = 171 host_cpu = x86_64 172 host_os = linux-gnu 173 host_vendor = unknown 174 includedir = ${prefix}/include 175 infodir = ${prefix}/info 176 install_sh = /home/dlawson/code/libtrace/install-sh 177 libdir = ${exec_prefix}/lib 178 libexecdir = ${exec_prefix}/libexec 179 libtrace_doxygen = true 180 localstatedir = ${prefix}/var 181 mandir = ${prefix}/man 182 mkdir_p = mkdir -p -- 183 oldincludedir = /usr/include 184 prefix = /home/dlawson/install 185 program_transform_name = s,x,x, 186 sbindir = ${exec_prefix}/sbin 187 sharedstatedir = ${prefix}/com 188 sysconfdir = ${prefix}/etc 189 target_alias = 190 lib_LTLIBRARIES = libpacketdump.la 191 include_HEADERS = libpacketdump.h 192 libpacketdump_la_SOURCES = libpacketdump.cc 193 PLUGINDIR = $(libdir)/libpacketdump 194 INCLUDES = 195 libpacketdump_la_LIBADD = -lpcap -lz 196 libpacketdump_la_LDFLAGS = -version-info 2:23:0 197 AM_CXXFLAGS = -g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic 198 LINK_LAYERS = $(addsuffix .so,$(basename $(wildcard link_*.cc))) 199 ETH_LAYERS = $(addsuffix .so,$(basename $(wildcard eth_*.cc))) 200 IP_LAYERS = $(addsuffix .so,$(basename $(wildcard ip_*.cc))) 201 TCP_LAYERS = $(addsuffix .so,$(basename $(wildcard tcp_*.cc))) 202 PLUGINS = $(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS) 203 all: all-am 204 205 .SUFFIXES: 206 .SUFFIXES: .cc .lo .o .obj 207 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 208 @for dep in $?; do \ 209 case '$(am__configure_deps)' in \ 210 *$$dep*) \ 211 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 212 && exit 0; \ 213 exit 1;; \ 214 esac; \ 215 done; \ 216 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libpacketdump/Makefile'; \ 217 cd $(top_srcdir) && \ 218 $(AUTOMAKE) --gnu libpacketdump/Makefile 219 .PRECIOUS: Makefile 220 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 221 @case '$?' in \ 222 *config.status*) \ 223 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 224 *) \ 225 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 226 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 227 esac; 228 229 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 230 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 231 232 $(top_srcdir)/configure: $(am__configure_deps) 233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 234 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 235 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 236 install-libLTLIBRARIES: $(lib_LTLIBRARIES) 237 @$(NORMAL_INSTALL) 238 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 239 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 240 if test -f $$p; then \ 241 f=$(am__strip_dir) \ 242 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ 243 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ 244 else :; fi; \ 245 done 246 247 uninstall-libLTLIBRARIES: 248 @$(NORMAL_UNINSTALL) 249 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 250 p=$(am__strip_dir) \ 251 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ 252 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ 253 done 254 255 clean-libLTLIBRARIES: 256 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 257 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 258 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 259 test "$$dir" != "$$p" || dir=.; \ 260 echo "rm -f \"$${dir}/so_locations\""; \ 261 rm -f "$${dir}/so_locations"; \ 262 done 263 libpacketdump.la: $(libpacketdump_la_OBJECTS) $(libpacketdump_la_DEPENDENCIES) 264 $(CXXLINK) -rpath $(libdir) $(libpacketdump_la_LDFLAGS) $(libpacketdump_la_OBJECTS) $(libpacketdump_la_LIBADD) $(LIBS) 265 266 mostlyclean-compile: 267 -rm -f *.$(OBJEXT) 268 269 distclean-compile: 270 -rm -f *.tab.c 271 272 include ./$(DEPDIR)/libpacketdump.Plo 273 274 .cc.o: 275 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 276 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 277 # source='$<' object='$@' libtool=no \ 278 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ 279 # $(CXXCOMPILE) -c -o $@ $< 280 281 .cc.obj: 282 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 283 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 284 # source='$<' object='$@' libtool=no \ 285 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ 286 # $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 287 288 .cc.lo: 289 if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 290 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 291 # source='$<' object='$@' libtool=yes \ 292 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ 293 # $(LTCXXCOMPILE) -c -o $@ $< 294 295 mostlyclean-libtool: 296 -rm -f *.lo 297 298 clean-libtool: 299 -rm -rf .libs _libs 300 301 distclean-libtool: 302 -rm -f libtool 303 uninstall-info-am: 304 install-includeHEADERS: $(include_HEADERS) 305 @$(NORMAL_INSTALL) 306 test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" 307 @list='$(include_HEADERS)'; for p in $$list; do \ 308 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 309 f=$(am__strip_dir) \ 310 echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ 311 $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ 312 done 313 314 uninstall-includeHEADERS: 315 @$(NORMAL_UNINSTALL) 316 @list='$(include_HEADERS)'; for p in $$list; do \ 317 f=$(am__strip_dir) \ 318 echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ 319 rm -f "$(DESTDIR)$(includedir)/$$f"; \ 320 done 321 322 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 323 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 324 unique=`for i in $$list; do \ 325 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 326 done | \ 327 $(AWK) ' { files[$$0] = 1; } \ 328 END { for (i in files) print i; }'`; \ 329 mkid -fID $$unique 330 tags: TAGS 331 332 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 333 $(TAGS_FILES) $(LISP) 334 tags=; \ 335 here=`pwd`; \ 336 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 337 unique=`for i in $$list; do \ 338 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 339 done | \ 340 $(AWK) ' { files[$$0] = 1; } \ 341 END { for (i in files) print i; }'`; \ 342 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 343 test -n "$$unique" || unique=$$empty_fix; \ 344 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 345 $$tags $$unique; \ 346 fi 347 ctags: CTAGS 348 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 349 $(TAGS_FILES) $(LISP) 350 tags=; \ 351 here=`pwd`; \ 352 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 353 unique=`for i in $$list; do \ 354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 355 done | \ 356 $(AWK) ' { files[$$0] = 1; } \ 357 END { for (i in files) print i; }'`; \ 358 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 359 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 360 $$tags $$unique 361 362 GTAGS: 363 here=`$(am__cd) $(top_builddir) && pwd` \ 364 && cd $(top_srcdir) \ 365 && gtags -i $(GTAGS_ARGS) $$here 366 367 distclean-tags: 368 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 369 370 distdir: $(DISTFILES) 371 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 372 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 373 list='$(DISTFILES)'; for file in $$list; do \ 374 case $$file in \ 375 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 376 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 377 esac; \ 378 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 379 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 380 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 381 dir="/$$dir"; \ 382 $(mkdir_p) "$(distdir)$$dir"; \ 383 else \ 384 dir=''; \ 385 fi; \ 386 if test -d $$d/$$file; then \ 387 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 388 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 389 fi; \ 390 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 391 else \ 392 test -f $(distdir)/$$file \ 393 || cp -p $$d/$$file $(distdir)/$$file \ 394 || exit 1; \ 395 fi; \ 396 done 397 check-am: all-am 398 check: check-am 399 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local 400 installdirs: 401 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ 402 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 403 done 404 install: install-am 405 install-exec: install-exec-am 406 install-data: install-data-am 407 uninstall: uninstall-am 408 409 install-am: all-am 410 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 411 412 installcheck: installcheck-am 413 install-strip: 414 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 415 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 416 `test -z '$(STRIP)' || \ 417 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 418 mostlyclean-generic: 419 420 clean-generic: 421 422 distclean-generic: 423 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 424 425 maintainer-clean-generic: 426 @echo "This command is intended for maintainers to use" 427 @echo "it deletes files that may require special tools to rebuild." 428 clean: clean-am 429 430 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ 431 mostlyclean-am 432 433 distclean: distclean-am 434 -rm -rf ./$(DEPDIR) 435 -rm -f Makefile 436 distclean-am: clean-am distclean-compile distclean-generic \ 437 distclean-libtool distclean-tags 438 439 dvi: dvi-am 440 441 dvi-am: 442 443 html: html-am 444 445 info: info-am 446 447 info-am: 448 449 install-data-am: install-includeHEADERS 450 451 install-exec-am: install-exec-local install-libLTLIBRARIES 452 453 install-info: install-info-am 454 455 install-man: 456 457 installcheck-am: 458 459 maintainer-clean: maintainer-clean-am 460 -rm -rf ./$(DEPDIR) 461 -rm -f Makefile 462 maintainer-clean-am: distclean-am maintainer-clean-generic 463 464 mostlyclean: mostlyclean-am 465 466 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 467 mostlyclean-libtool 468 469 pdf: pdf-am 470 471 pdf-am: 472 473 ps: ps-am 474 475 ps-am: 476 477 uninstall-am: uninstall-includeHEADERS uninstall-info-am \ 478 uninstall-libLTLIBRARIES 479 480 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ 481 clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ 482 ctags distclean distclean-compile distclean-generic \ 483 distclean-libtool distclean-tags distdir dvi dvi-am html \ 484 html-am info info-am install install-am install-data \ 485 install-data-am install-exec install-exec-am \ 486 install-exec-local install-includeHEADERS install-info \ 487 install-info-am install-libLTLIBRARIES install-man \ 488 install-strip installcheck installcheck-am installdirs \ 489 maintainer-clean maintainer-clean-generic mostlyclean \ 490 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 491 pdf pdf-am ps ps-am tags uninstall uninstall-am \ 492 uninstall-includeHEADERS uninstall-info-am \ 493 uninstall-libLTLIBRARIES 494 495 496 %.so: %.cc 497 $(CXX) $(AM_CXXFLAGS) -fpic -shared $^ -o $@ 498 499 all-local: $(PLUGINS) 500 501 clean-local: 502 rm $(PLUGINS) 503 504 install-exec-local: 505 for plugin in $(PLUGINS); do install -D -m 755 $$plugin $(PLUGINDIR)/$$plugin; done 506 # Tell versions [3.59,3.63) of GNU make to not export all variables. 507 # Otherwise a system limit (for SysV at least) may be exceeded. 508 .NOEXPORT:
Note: See TracChangeset
for help on using the changeset viewer.