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