Last change
on this file since 1566 was
1566,
checked in by dkearney, 15 years ago
|
updates to Rappture::Library and Rappture::Number objects to demo how the library should store objects and generate the xml for those objects upon request. opting for configure() and dump() functions for objects. the object should know how to configure it self from a string of xml, tree object or (in the future) blob of hdf5. added some rudimentary examples of using the library object.
|
File size:
1.5 KB
|
Line | |
---|
1 | |
---|
2 | bindir = @bindir@ |
---|
3 | datadir = @datadir@ |
---|
4 | datarootdir = @datarootdir@ |
---|
5 | exec_prefix = @exec_prefix@ |
---|
6 | includedir = @includedir@ |
---|
7 | libdir = @libdir@ |
---|
8 | mandir = @mandir@ |
---|
9 | prefix = @prefix@ |
---|
10 | srcdir = @srcdir@ |
---|
11 | |
---|
12 | INSTALL = @INSTALL@ |
---|
13 | MKDIR_P = @MKDIR_P@ |
---|
14 | |
---|
15 | CC = @CC@ |
---|
16 | CFLAGS = @CFLAGS@ |
---|
17 | CXX = @CXX@ |
---|
18 | CXXFLAGS = @CFLAGS@ |
---|
19 | DEFINES = -g -Wall |
---|
20 | INCLUDES = -I../../../src/core \ |
---|
21 | -I../../../src/objects \ |
---|
22 | -I$(srcdir)/../../../src/core \ |
---|
23 | -I$(srcdir)/../../../src/objects \ |
---|
24 | -I$(includedir) |
---|
25 | LIBS = \ |
---|
26 | -L../../../src/core -lrappture \ |
---|
27 | -L../../../src/objects -lRpObjects\ |
---|
28 | -L$(libdir) -lexpat -lz |
---|
29 | VPATH = $(srcdir) |
---|
30 | |
---|
31 | CXX_SWITCHES = $(CXXFLAGS) $(INCLUDES) $(DEFINES) |
---|
32 | CC_SWITCHES = $(CFLAGS) $(INCLUDES) $(DEFINES) |
---|
33 | |
---|
34 | FILES = \ |
---|
35 | $(srcdir)/xmlparser.cc \ |
---|
36 | $(srcdir)/xmlparser_1_0_in.xml \ |
---|
37 | $(srcdir)/xmlparser_1_0_out.xml \ |
---|
38 | $(srcdir)/xmlparser_2_0_in.xml \ |
---|
39 | $(srcdir)/xmlparser_5_0_in.xml \ |
---|
40 | $(srcdir)/tool.xml \ |
---|
41 | Makefile |
---|
42 | |
---|
43 | destdir = $(prefix)/examples/objects/xmlparser |
---|
44 | |
---|
45 | |
---|
46 | PROGS = \ |
---|
47 | xmlparser |
---|
48 | |
---|
49 | all: $(PROGS) |
---|
50 | |
---|
51 | xmlparser: $(srcdir)/xmlparser.cc |
---|
52 | $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS) |
---|
53 | |
---|
54 | install: |
---|
55 | $(MKDIR_P) $(destdir) |
---|
56 | for i in $(FILES) ; do \ |
---|
57 | $(INSTALL) -m 444 $$i $(destdir) ; \ |
---|
58 | done |
---|
59 | for i in $(PROGS) ; do \ |
---|
60 | $(INSTALL) -m 555 $$i $(destdir) ; \ |
---|
61 | done |
---|
62 | |
---|
63 | clean: |
---|
64 | $(RM) $(PROGS) |
---|
65 | |
---|
66 | distclean: clean |
---|
67 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.