rginda%ndcico.com 99dbb7f403 Initial checkin of irc library and sample client. Not included in the default build.
git-svn-id: svn://10.0.0.236/trunk@46104 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 17:09:47 +00:00

37 lines
701 B
Makefile

CC = gcc
LD = gcc
CFLAGS = -Wall -g
DEFS = -DDEBUG
MOZROOT = /home/rginda/src/mozilla_HEAD/mozilla
#MOZROOT = /home/rginda/src/mozilla_DEV/mozilla
#MOZROOT = /data210/src/mozilla
MOZBIN = $(MOZROOT)/dist/bin
LDFLAGS = $(MOZBIN)/libnspr3.so -lpthread
INCLUDES = -I$(MOZROOT)/dist/include
OFILES = bsutil.o \
bserror.o \
bsevent.o \
bsqueue.o \
bsnetwork.o \
bsserver.o \
bsconnection.o
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c $<
main: $(OFILES) main.c
$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) $(OFILES) $(LDFLAGS) main.c -o main
clean:
rm -f *.o xpcom/*.o xpcom/libbs.so core main
realclean: clean
rm -f *~ xpcom/*~
tarball: realclean
cd ..; tar -czf bslib-current.tar.gz bslib