source: trunk/examples/objects/number/Makefile.in @ 1560

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
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13MKDIR_P         = @MKDIR_P@
14
15CC              = @CC@
16CFLAGS          = @CFLAGS@
17CXX             = @CXX@
18CXXFLAGS        = @CFLAGS@
19DEFINES         = -g -Wall
20INCLUDES        = -I../../../src/core \
21                  -I../../../src/objects \
22                  -I$(srcdir)/../../../src/core \
23                  -I$(srcdir)/../../../src/objects \
24                  -I$(includedir)
25LIBS    = \
26                -L../../../src/core -lrappture \
27                -L../../../src/objects -lRpObjects\
28                -L$(libdir) -lexpat -lz
29VPATH   = $(srcdir)
30
31CXX_SWITCHES    = $(CXXFLAGS) $(INCLUDES) $(DEFINES)
32CC_SWITCHES     = $(CFLAGS) $(INCLUDES) $(DEFINES)
33
34FILES   = \
35                $(srcdir)/number.cc \
36                $(srcdir)/number_1_0_in.xml \
37                Makefile
38
39destdir = $(prefix)/examples/objects/number
40
41
42PROGS   = \
43                number
44
45all: $(PROGS)
46
47number: $(srcdir)/number.cc
48        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
49
50install:
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
59clean:
60        $(RM) $(PROGS)
61
62distclean: clean
63        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.