home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / IJB20OS2 / SOURCE / MAKEFILE < prev    next >
Text File  |  1997-09-23  |  1KB  |  57 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. # Uncomment following for use with OS/2 EMX
  14. # I used EMX 0.9c
  15. CC = gcc
  16. MOREFLAGS = -DOS2            # set Flag for OS/2
  17. LDFLAGS = -lsocket -Zexe -s    
  18. RM = del
  19. #PROG     = junkbust         # uncomment if you don't use HPFS
  20.  
  21. # use this for Solaris 2.x
  22. #LDFLAGS = -lnsl -lsocket 
  23.  
  24. # use these for SunOS 4.x
  25. #LDFLAGS = -nsl
  26. #MORE_CFLAGS = -g -DNOSTRERROR
  27.  
  28. # use this for HPUX 10.01
  29. # you may get pointer assignment warnings
  30. #MORE_CFLAGS = -Ae -g $(MORE_CFLAGS)
  31.  
  32. # use these for Win32
  33. #PROG     = junkbstr.exe
  34. #MORE_CFLAGS = /nologo -MT -Og
  35. #LDFLAGS = wsock32.lib
  36. #O       = obj
  37. #RM      = del
  38.  
  39. CFLAGS  = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
  40.  
  41. OBJS =    jcc.$(O) parsers.$(O) filters.$(O) loaders.$(O) bind.$(O) conn.$(O) \
  42.     encode.$(O) ssplit.$(O) socks4.$(O) acl.$(O) gnu_regex.$(O) win32.$(O)
  43.  
  44. $(PROG): $(OBJS)
  45.     $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
  46.  
  47. clean:
  48.     $(RM) a.out core *.o *.obj
  49.  
  50. clobber: clean
  51.     $(RM) junkbuster junkbstr.exe *.pdb *.lib *.exp
  52.  
  53. # $Id: Makefile,v 3.17 1997/08/22 12:47:39 ACJC Exp $
  54. # Written and copyright by the Anonymous Coders and Junkbusters Corporation.
  55. # Will be made available under the GNU General Public License.
  56. # This software comes with NO WARRANTY.
  57.