head	1.3;
access;
symbols
	test:1.1.1.1 pisd:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2003.03.26.02.49.25;	author gang;	state dead;
branches;
next	1.2;

1.2
date	2003.03.25.12.56.28;	author gang;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.25.12.26.01;	author gang;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.03.25.12.26.01;	author gang;	state Exp;
branches;
next	;


desc
@@


1.3
log
@wrong
@
text
@INCLUDES = -I/usr/include/snacc/c++
LIBS = -lasn1c++ -lmysqlclient
CPPFLAGS = -g $(INCLUDES) -DSNACC_DEEP_COPY

#OBJS = pisdtest.o pisd_asn1.o

OBJS = simple_pisd_asn1.o realm.o realm_htmlindex.o pdu.o \
	realm_serviceindex.o server_mysql.o pisd_net.o

OUTS = r_update_start s_update_start s_daemon

all: $(OUTS)

run: $(OUTS)
	./s_daemon

s_daemon: $(OBJS) s_daemon.o
	$(CXX) -o $@@ $(OBJS) $@@.o $(LIBS)

r_update_start: $(OBJS) r_update_start.o
	$(CXX) -o $@@ $(OBJS) $@@.o $(LIBS)

s_update_start: $(OBJS) s_update_start.o
	$(CXX) -o $@@ $(OBJS) $@@.o $(LIBS)

simple_pisd_asn1.h: simple_pisd_asn1.asn1
	snacc -C simple_pisd_asn1.asn1 -u /usr/include/snacc/asn1/asn-useful.asn1

#simple_pisd_asn1.o: simple_pisd_asn1.h

clean:
	rm simple_pisd_asn1.h simple_pisd_asn1.C *.o $(OUTS)

dep:
	makedepend -Y *.C 2>/dev/null

tag:
	ctags *h *C /usr/include/snacc/c++/*h
# DO NOT DELETE

pdu.o: pdu.h simple_pisd_asn1.h
pisd_net.o: pisd_net.h pdu.h simple_pisd_asn1.h
r_update_start.o: realm_htmlindex.h realm.h simple_pisd_asn1.h pdu.h
r_update_start.o: pisd_net.h
realm.o: realm.h simple_pisd_asn1.h
realm_htmlindex.o: realm_htmlindex.h realm.h simple_pisd_asn1.h
realm_serviceindex.o: realm_serviceindex.h realm.h simple_pisd_asn1.h
s_daemon.o: realm_htmlindex.h realm.h simple_pisd_asn1.h pdu.h pisd_net.h
s_daemon.o: server_mysql.h
s_update_start.o: realm_serviceindex.h realm.h simple_pisd_asn1.h
s_update_start.o: server_mysql.h pdu.h pisd_net.h
server_mysql.o: server_mysql.h simple_pisd_asn1.h
simple_pisd_asn1.o: simple_pisd_asn1.h
@


1.2
log
@wrong
@
text
@@


1.1
log
@Initial revision
@
text
@d32 1
a32 1
	rm simple_pisd_asn1.h simple_pisd_asn1.C *.o
@


1.1.1.1
log
@simple temporal test codes for PISD development
@
text
@@
