]> git.saurik.com Git - wxWidgets.git/blame - utils/ogl/src/Makefile.in
very minor changes
[wxWidgets.git] / utils / ogl / src / Makefile.in
CommitLineData
bec3e860
RR
1#
2# wGLCanvas source makefile for Unix
3#
4# Copyright 1998, Robert Roebling
5#
6
7# wxWindows base directory
8WXBASEDIR=@WXBASEDIR@
9
10# set the OS type for compilation
11OS=@OS@
12
13# compile a library only
14RULE=gslib
15
16# needed for unactivated
17NONE=
18
19# define library name
20LIB_TARGET=wx_ogl_gtk
21LIB_MAJOR=0
22LIB_MINOR=1
23
24# define library sources
25
26LIB_CPP_SRC= \
27\
28 basic.cpp basic2.cpp bmpshape.cpp canvas.cpp \
29 composit.cpp divided.cpp drawn.cpp lines.cpp \
30 mfutils.cpp misc.cpp ogldiag.cpp
31
32#define library objects
33LIB_OBJ= \
34\
35 $(LIB_CPP_SRC:.cpp=.o)
36
37all::
38
39clean::
40
41#additional things needed for compile
42ADD_COMPILE=
43
44# include the definitions now
45include ../../../../template.mak
46
47install::
48 @echo "Installing library files and headers for libwx_ogl_gtk.."
49 @echo " Creating directory.."
50 @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_ogl
51 @echo " Copying headers from /include/wx"
52 @cd $(WXBASEDIR)/utils/ogl/src ; \
53 for f in *.h ; do \
54 rm -f /usr/local/include/wx_ogl/$$f ; \
55 $(INSTALL_DATA) $$f /usr/local/include/wx_ogl/$$f ; \
56 done
57 @echo " Copying static library files to /usr/local/lib"
58 @cd $(WXBASEDIR)/lib/$(OS) ; \
59 for f in libwx_ogl_gtk.a ; do \
60 rm -f /usr/local/lib/$$f ; \
61 $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \
62 done
63 @echo " Copying shared libraries to /usr/local/lib"
64 @cd $(WXBASEDIR)/lib/$(OS) ; \
65 for f in libwx_ogl_gtk.so* ; do \
66 rm -f /usr/local/lib/$$f ; \
67 $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \
68 done
69