source: branches/blt4/packages/vizservers/nanovis/vrmath/Makefile.in @ 3892

Last change on this file since 3892 was 3892, checked in by gah, 11 years ago
File size: 2.3 KB
Line 
1
2SHELL = /bin/sh
3
4.PHONY: all install clean distclean
5
6bindir          = @bindir@
7datadir         = @datadir@
8datarootdir     = @datarootdir@
9exec_prefix     = @exec_prefix@
10includedir      = @includedir@
11libdir          = @libdir@
12mandir          = @mandir@
13prefix          = @prefix@
14srcdir          = @srcdir@
15
16INSTALL         = @INSTALL@
17INSTALL_PROGRAM = ${INSTALL} -m 555
18INSTALL_DATA    = ${INSTALL} -m 444
19INSTALL_SCRIPT  = ${INSTALL} -m 444
20RM              = rm -f
21AR              = ar rc
22RANLIB          = @RANLIB@
23CC              = @CC@
24CXX             = @CXX@
25VPATH           = $(srcdir)
26
27RP_DIR          =  @RP_DIR@
28RP_INC_SPEC     = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2
29
30INCLUDES        = \
31                -I$(srcdir)/include \
32                -I$(srcdir)/.. \
33                $(RP_INC_SPEC)
34
35CFLAGS          = @CFLAGS@
36EXTRA_CFLAGS    = -Wall
37DEFINES         = @DEFINES@
38CXX_SWITCHES    = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
39
40VRMATHLIB       = vrmath.a
41
42#               BPlane.o \
43#               Projection.o \
44
45OBJS            = \
46                BBox.o \
47                LineSegment.o \
48                Matrix4x4f.o \
49                Matrix4x4d.o \
50                Plane.o \
51                Quaternion.o \
52                Rotation.o \
53                Vector2f.o \
54                Vector3f.o \
55                Vector4f.o \
56
57.PHONY: all install clean distclean
58
59all: $(VRMATHLIB)
60
61install: all
62
63$(VRMATHLIB): $(OBJS)
64        $(RM) $@
65        $(AR) $@ $(OBJS)
66        $(RANLIB) $@
67
68.cpp.o:
69        $(CXX) $(CXX_SWITCHES) -o $@ -c $<
70
71clean:
72        $(RM) *.a *.o
73
74distclean: clean
75        $(RM) Makefile *~
76
77BBox.o: $(srcdir)/include/vrmath/BBox.h $(srcdir)/include/vrmath/Vector3f.h
78BPlane.o: $(srcdir)/include/vrmath/BPlane.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/LineSegment.h
79LineSegment.o: $(srcdir)/include/vrmath/LineSegment.h
80Matrix4x4d.o: $(srcdir)/include/vrmath/Matrix4x4d.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Rotation.h
81Matrix4x4f.o: $(srcdir)/include/vrmath/Matrix4x4f.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Rotation.h
82Plane.o: $(srcdir)/include/vrmath/Plane.h $(srcdir)/include/vrmath/Matrix4x4f.h
83Quaternion.o: $(srcdir)/include/vrmath/Quaternion.h $(srcdir)/include/vrmath/Rotation.h $(srcdir)/include/vrmath/Vector3f.h
84Rotation.o: $(srcdir)/include/vrmath/Quaternion.h $(srcdir)/include/vrmath/Rotation.h $(srcdir)/include/vrmath/Vector3f.h
85Vector2f.o: $(srcdir)/include/vrmath/Vector2f.h
86Vector3f.o: $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Matrix4x4f.h
87Vector4f.o: $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Matrix4x4f.h
Note: See TracBrowser for help on using the repository browser.