dummy for MSVC
[prop.git] / lib-src / persist / Makefile
blob656e1c482159d3b5bd4fa954706a291958a4ea1a
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
6 CC = gcc
7 COPTS = -O6
8 CINCLUDE = -I$(ADLIB_PATH)
10 ad = $(ADLIB_PATH)/AD
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)
16 all: $(OBJS)
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 \
31 $(ad)/hash/lhash2.h \
32 $D/ptype.h $D/ptypeentry.h $(ad)/contain/variset.h \
33 $D/po_impl.h
34 piostream.$(OBJ): piostream.cc $D/pstream.h $D/pobject.h $D/pconfig.h $D/pconvert.h \
35 $(ad)/memory/mem.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 \
38 $(ad)/hash/lhash.h \
39 $D/ptype.h $D/ptypeentry.h
40 pmisc.$(OBJ): pmisc.cc $D/pobject.h $D/pconfig.h $D/pstream.h
42 %.$(OBJ): %.cc
43 $(CC) -c $(COPTS) $(CINCLUDE) $(@:.$(OBJ)=.cc)