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