Compling ENS programs

Hi,Can u please give the c compiling options for compiling Sample programs apub.c and asub.c.Regardsmsjeyabalan
[146 byte] By [702432] at [2007-11-25 10:30:48]
# 1

I found a Makefile decribed in a Calendar document and tried it out and it seems to work (with a bit of tinkering).

The document is at:http://docs.sun.com/source/816-6712-10/introens.html

I'm able to compile apub.c and asub.c. I haven't tested whether they run corectly. apub does return a message about the required options.

Here's my slightly altered verson:

#

# Sample makefile

#

# your C compiler

CC = gcc

# LIBS

BASE = /opt/SUNWics5/cal

LIBS = -L$(BASE)/bin -lens -lgap -lxenp -lcyrus -lchartable -lyasr -lasync -lnspr3 -lplc3 -lplds3 -R$(BASE)/bin

all: apub asub

apub: apub.c

$(CC) -o apub -I $(BASE)/csapi/include apub.c $(LIBS)

asub: asub.c

$(CC) -o asub -I $(BASE)/csapi/include asub.c $(LIBS)

EricHolp at 2007-7-1 20:58:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...