1 #############################################################################
2 # The following parameters must be altered for each platform and compiler.
3 # The default is for g++ on Unix and MSDOG.
4 #############################################################################
5 ADLIB_PATH
= ..
/..
/include
8 CINCLUDE
= -I
$(ADLIB_PATH
)
11 D
= $(ADLIB_PATH
)/AD
/persist
13 OBJS
= pstream.
$(OBJ
) pfactory.
$(OBJ
) pistream.
$(OBJ
) postream.
$(OBJ
) piostream.
$(OBJ
) pobject.
$(OBJ
) \
14 ptype.
$(OBJ
) pmisc.
$(OBJ
)
18 pobject.
$(OBJ
): pobject.
cc $D/pstream.h
$D/pobject.h
$D/pconfig.h \
19 $D/pconvert.h
$D/ptype.h
$D/ptypeentry.h
20 ptype.
$(OBJ
): ptype.
cc $D/ptype.h
$D/pstream.h
$D/pobject.h \
21 $D/pconfig.h
$D/pconvert.h
$D/ptypeentry.h \
22 $(ad
)/contain
/vararray.h
$D/pi_impl.h
$D/po_impl.h \
23 $(ad
)/contain
/variset.h
$(ad
)/contain
/varptrarray.h
24 pstream.
$(OBJ
): pstream.
cc $D/pstream.h
$D/pobject.h
$D/pconfig.h \
25 $D/pconvert.h
$D/ptype.h
$D/ptypeentry.h
26 pistream.
$(OBJ
): pistream.
cc $D/pstream.h
$D/pobject.h
$D/pconfig.h
$D/pconvert.h \
27 $(ad
)/hash
/lhash.h
$(ad
)/memory
/mem.h
$D/pi_impl.h \
28 $D/ptype.h
$D/ptypeentry.h
$(ad
)/contain
/vararray.h \
29 $(ad
)/contain
/varptrarray.h
30 postream.
$(OBJ
): postream.
cc $D/pstream.h
$D/pobject.h
$D/pconfig.h
$D/pconvert.h \
32 $D/ptype.h
$D/ptypeentry.h
$(ad
)/contain
/variset.h \
34 piostream.
$(OBJ
): piostream.
cc $D/pstream.h
$D/pobject.h
$D/pconfig.h
$D/pconvert.h \
36 $D/ptype.h
$D/ptypeentry.h
37 pfactory.
$(OBJ
): pfactory.
cc $D/pfactory.h
$D/pobject.h
$D/pconfig.h
$D/pconvert.h \
39 $D/ptype.h
$D/ptypeentry.h
40 pmisc.
$(OBJ
): pmisc.
cc $D/pobject.h
$D/pconfig.h
$D/pstream.h
43 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.
$(OBJ
)=.
cc)