]> git.saurik.com Git - wxWidgets.git/blob - utils/ogl/src/Makefile.in
Added wxMenu::UpdateUI to wxMSW, wxGTK, wxMotif, wxStubs; rearranged/debugged
[wxWidgets.git] / utils / ogl / src / Makefile.in
1 #
2 # wGLCanvas 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_ogl_gtk
21 LIB_MAJOR=0
22 LIB_MINOR=1
23
24 # define library sources
25
26 LIB_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
33 LIB_OBJ= \
34 \
35 $(LIB_CPP_SRC:.cpp=.o)
36
37 all::
38
39 clean::
40
41 #additional things needed for compile
42 ADD_COMPILE=
43
44 # include the definitions now
45 include ../../../../template.mak
46
47 install::
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