home *** CD-ROM | disk | FTP | other *** search
/ Freelog 24 / Freelog024.iso / Popup / Junkbuster / Makefile < prev    next >
Makefile  |  1998-10-30  |  2KB  |  68 lines

  1. # Internet Junkbuster makefile
  2.  
  3. # comment out the next line if you do NOT want to use regular expressions
  4. REGEX = -DREGEX
  5.  
  6. DEFAULT_CFLAGS = -I. $(REGEX) -DSTDC_HEADERS -DHAVE_STRING
  7.  
  8. PROG   = junkbuster
  9. O      = o
  10. RM     = rm -f
  11. MORE_CFLAGS = -g
  12.  
  13. # use this for Solaris 2.x
  14. #LDFLAGS = -lnsl -lsocket 
  15.  
  16. # use these for SunOS 4.x
  17. #LDFLAGS = -nsl
  18. #MORE_CFLAGS = -g -DNOSTRERROR
  19.  
  20. # use this for HPUX 10.01
  21. # you may get pointer assignment warnings
  22. #MORE_CFLAGS = -Ae -g $(MORE_CFLAGS)
  23.  
  24. # use these with OS/2 EMX (tested with EMX 0.9c)
  25. #CC        = gcc
  26. #MOREFLAGS = -DOS2
  27. #LDFLAGS   = -lsocket -Zexe -s
  28. #RM        = del
  29. #PROG      = junkbstr         # uncomment if you don't use HPFS
  30.  
  31. # use this for BSD/OS 3.0
  32. #CC=shlicc2
  33.  
  34. # use these for mingw32
  35. #PROG        = junkbstr.exe
  36. #MORE_CFLAGS = -DWin32_Winsock -O3
  37. #LDFLAGS     = -lwsock32
  38.  
  39. # use these for Win32
  40. #PROG     = junkbstr.exe
  41. #MORE_CFLAGS = /nologo -MT -Og
  42. #LDFLAGS = wsock32.lib
  43. #O       = obj
  44. #RM      = del
  45.  
  46. # use these for BeOS
  47. #MORE_CFLAGS = -relax_pointers
  48. #LDFLAGS = -map junkbuster.xMAP
  49.  
  50. CFLAGS  = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
  51.  
  52. OBJS =    jcc.$(O) parsers.$(O) filters.$(O) loaders.$(O) bind.$(O) conn.$(O) \
  53.     encode.$(O) ssplit.$(O) socks4.$(O) acl.$(O) gnu_regex.$(O) win32.$(O)
  54.  
  55. $(PROG): $(OBJS)
  56.     $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
  57.  
  58. clean:
  59.     $(RM) a.out core *.o *.obj
  60.  
  61. clobber: clean
  62.     $(RM) junkbuster junkbuster.xMAP junkbstr.exe *.pdb *.lib *.exp
  63.  
  64. # $Id: Makefile,v 3.21 1998/10/31 01:31:23 ACJC Exp $
  65. # Written and copyright 1997-8 Anonymous Coders and Junkbusters Corporation.
  66. # Distributed under the GNU General Public License; see the README file.
  67. # This code comes with NO WARRANTY. http://www.junkbusters.com/ht/en/gpl.html
  68.