2 # wxprop source makefile for Unix
4 # Copyright 1998, Robert Roebling
7 # wxWindows base directory
10 # set the OS type for compilation
13 # compile a library only
16 # needed for unactivated
20 LIB_TARGET=wx_prop_gtk
24 # define library sources
32 #define library objects
34 $(LIB_CPP_SRC:.cpp=.o)
41 @echo "Installing library files and headers for libwx_prop_gtk.."
42 @echo " Creating directory.."
43 @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_prop
44 @echo " Copying headers from /include/wx"
45 @cd $(WXBASEDIR)/utils/wxprop/src ; \
47 rm -f /usr/local/include/wx_prop/$$f ; \
48 $(INSTALL_DATA) $$f /usr/local/include/wx_prop/$$f ; \
50 @echo " Copying static library files to /usr/local/lib"
51 @cd $(WXBASEDIR)/lib/$(OS) ; \
52 for f in libwx_prop_gtk.a ; do \
53 rm -f /usr/local/lib/$$f ; \
54 $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \
56 @echo " Copying shared libraries to /usr/local/lib"
57 @cd $(WXBASEDIR)/lib/$(OS) ; \
58 for f in libwx_prop_gtk.so* ; do \
59 rm -f /usr/local/lib/$$f ; \
60 $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \
64 #additional things needed for compile
67 # include the definitions now
68 include ../../../../template.mak