1
0

Makefile.in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # $Id: Makefile.in,v 1.9 2006/03/14 22:55:41 djm Exp $
  2. prefix=@prefix@
  3. exec_prefix=@exec_prefix@
  4. bindir=@bindir@
  5. sbindir=@sbindir@
  6. libexecdir=@libexecdir@
  7. datadir=@datadir@
  8. mandir=@mandir@
  9. sysconfdir=@sysconfdir@
  10. srcdir=@srcdir@
  11. top_srcdir=@top_srcdir@
  12. VPATH=@srcdir@
  13. CC=@CC@
  14. LDFLAGS=@LDFLAGS@
  15. CFLAGS=@CFLAGS@
  16. CPPFLAGS=-I$(srcdir) @CPPFLAGS@
  17. LIBS=@LIBS@
  18. EXEEXT=@EXEEXT@
  19. INSTALL=@INSTALL@
  20. #CFLAGS+=-DFLOW_RB # Use red-black tree for flows
  21. CFLAGS+=-DFLOW_SPLAY # Use splay tree for flows
  22. CFLAGS+=-DEXPIRY_RB # Use red-black tree for expiry events
  23. #CFLAGS+=-DEXPIRY_SPLAY # Use splay tree for expiry events
  24. TARGETS=softflowd${EXEEXT} softflowctl${EXEEXT}
  25. COMMON=convtime.o strlcpy.o strlcat.o closefrom.o daemon.o
  26. all: $(TARGETS)
  27. softflowd${EXEEXT}: log.o softflowd.o netflow1.o netflow5.o netflow9.o $(COMMON)
  28. $(CC) $(LDFLAGS) -o $@ log.o netflow1.o netflow5.o netflow9.o softflowd.o $(COMMON) $(LIBS)
  29. softflowctl${EXEEXT}: softflowctl.o $(COMMON)
  30. $(CC) $(LDFLAGS) -o $@ softflowctl.o $(COMMON) $(LIBS)
  31. clean:
  32. rm -f $(TARGETS) *.o core *.core
  33. realclean: clean
  34. rm -rf autom4te.cache Makefile config.log config.status
  35. distclean: realclean
  36. rm -f config.h
  37. strip:
  38. strip $(TARGETS)
  39. install:
  40. [ -d $(DESTDIR)$(sbindir) ] || \
  41. $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
  42. [ -d $(DESTDIR)$(mandir)/man8 ] || \
  43. $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man8
  44. $(INSTALL) -m 0755 -s softflowd $(DESTDIR)$(sbindir)/softflowd
  45. $(INSTALL) -m 0755 -s softflowctl $(DESTDIR)$(sbindir)/softflowctl
  46. $(INSTALL) -m 0644 softflowd.8 $(DESTDIR)$(mandir)/man8/softflowd.8
  47. $(INSTALL) -m 0644 softflowctl.8 $(DESTDIR)$(mandir)/man8/softflowctl.8