Last change
on this file since 1560 was
1560,
checked in by dkearney, 15 years ago
|
updates to the object system, fixed up tree and xml parser objects, added some basic tests for them and adopted number object to accept xml text and configure itself from the parsed xml. added fermi3.cc example program which contains suggested interface from apps meeting.
|
File size:
1.3 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)/number.cc \ |
---|
36 | $(srcdir)/number_1_0_in.xml \ |
---|
37 | Makefile |
---|
38 | |
---|
39 | destdir = $(prefix)/examples/objects/number |
---|
40 | |
---|
41 | |
---|
42 | PROGS = \ |
---|
43 | number |
---|
44 | |
---|
45 | all: $(PROGS) |
---|
46 | |
---|
47 | number: $(srcdir)/number.cc |
---|
48 | $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS) |
---|
49 | |
---|
50 | install: |
---|
51 | $(MKDIR_P) $(destdir) |
---|
52 | for i in $(FILES) ; do \ |
---|
53 | $(INSTALL) -m 444 $$i $(destdir) ; \ |
---|
54 | done |
---|
55 | for i in $(PROGS) ; do \ |
---|
56 | $(INSTALL) -m 555 $$i $(destdir) ; \ |
---|
57 | done |
---|
58 | |
---|
59 | clean: |
---|
60 | $(RM) $(PROGS) |
---|
61 | |
---|
62 | distclean: clean |
---|
63 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.