# NETSCAPE COMMUNICATIONS CORPORATION # # Copyright (c) 1998 Netscape Communications Corporation. All Rights # Reserved. # # Use of this Source Code is subject to the terms of the applicable license # agreement from Netscape Communications Corporation. # # The copyright notice(s) in this Source Code does not indicate actual or # intended publication of this Source Code. # # Sample Makefile for Netscape Messaging Server Plugin # Name of the plugin to build TARGET=antirelay # Use one of the following # # IRIX|Solaris|OSF|Linux|AIX42 = so # HPUX = sl # AIX41 = _shr.a # SHARED_SUFFIX=so #SHARED_SUFFIX=sl #SHARED_SUFFIX=_shr.a # Use one of the following # by OLO: CC=gcc -DXP_UNIX -fPIC -I../include -shared #CC=gcc -DXP_UNIX -D_DEBUG -fPIC -I../include -shared #CC=cc -DXP_UNIX -KPIC -I../include -G # Use zero or more of the following #FLAGS += -D_DEBUG all: $(TARGET).$(SHARED_SUFFIX) $(TARGET).$(SHARED_SUFFIX): $(TARGET).c ../include/protplug.h $(CC) $(FLAGS) -o $(TARGET).$(SHARED_SUFFIX) $(TARGET).c clean: rm -f $(TARGET).$(SHARED_SUFFIX)