]> git.saurik.com Git - wxWidgets.git/blob - utils/wxprop/src/Makefile.in
Added test for sprintf and vsnprintf to fix string.cpp for non-GNU systems.
[wxWidgets.git] / utils / wxprop / src / Makefile.in
1 #
2 # wxprop 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_prop_gtk
21 LIB_MAJOR=0
22 LIB_MINOR=1
23
24 # define library sources
25
26 LIB_CPP_SRC=\
27 \
28 prop.cpp \
29 propform.cpp \
30 proplist.cpp
31
32 #define library objects
33 LIB_OBJ=\
34 $(LIB_CPP_SRC:.cpp=.o)
35
36 all::
37
38 clean::
39
40 install::
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 ; \
46 for f in *.h ; do \
47 rm -f /usr/local/include/wx_prop/$$f ; \
48 $(INSTALL_DATA) $$f /usr/local/include/wx_prop/$$f ; \
49 done
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 ; \
55 done
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 ; \
61 done
62
63
64 #additional things needed for compile
65 ADD_COMPILE=
66
67 # include the definitions now
68 include ../../../../template.mak
69