]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/src/Makefile.in
Dnd constant name changes because names like Copy can be #defined by other
[wxWidgets.git] / utils / glcanvas / src / Makefile.in
CommitLineData
9d3221ab
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_opengl_gtk
21LIB_MAJOR=0
22LIB_MINOR=1
23
24# define library sources
25
26LIB_CPP_SRC= \
27\
28 glcanvas.cpp
29
30#define library objects
31LIB_OBJ= \
32\
33 $(LIB_CPP_SRC:.cpp=.o)
34
35all::
36
37clean::
38
39#additional things needed for compile
40ADD_COMPILE=
41
42# include the definitions now
43include ../../../../template.mak
44
c98f0421
RR
45install::
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