home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
IJB20OS2
/
SOURCE
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1997-09-23
|
1KB
|
57 lines
# 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 = -g
# Uncomment following for use with OS/2 EMX
# I used EMX 0.9c
CC = gcc
MOREFLAGS = -DOS2 # set Flag for OS/2
LDFLAGS = -lsocket -Zexe -s
RM = del
#PROG = junkbust # uncomment if you don't use HPFS
# 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 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.17 1997/08/22 12:47:39 ACJC Exp $
# Written and copyright by the Anonymous Coders and Junkbusters Corporation.
# Will be made available under the GNU General Public License.
# This software comes with NO WARRANTY.