]> git.saurik.com Git - wxWidgets.git/blame - utils/serialize/Makefile.in
Added sys/types.h needed for Solaris.
[wxWidgets.git] / utils / serialize / Makefile.in
CommitLineData
9fdd8384
GL
1# WXXT base directory
2WXBASEDIR=@WXBASEDIR@
3
4# set the OS type for compilation
5OS=@OS@
6# compile a library only
7RULE=gslib
8
9# define common stuff
10
11# define library name
c98f0421 12LIB_TARGET=wx_serial_gtk
9fdd8384
GL
13LIB_MAJOR=2
14LIB_MINOR=0
15# define library sources
16LIB_SRC=\
17sermain.cpp sercore.cpp sergdi.cpp serwnd.cpp serctrl.cpp serext.cpp
18#define library objects
19LIB_OBJ=\
20sermain.o sercore.o sergdi.o serwnd.o serctrl.o serext.o
21
22#additional things needed for compile
23
24# include the definitions now
25include ../../../template.mak
c98f0421
RR
26
27install::
28 @echo "Installing library files and headers for libwx_serial_gtk.."
29 @echo " Creating directory.."
30 @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_serial
31 @echo " Copying headers from /include/wx"
32 @cd $(WXBASEDIR)/utils/serialize ; \
33 for f in *.h ; do \
34 rm -f /usr/local/include/wx_serial/$$f ; \
35 $(INSTALL_DATA) $$f /usr/local/include/wx_serial/$$f ; \
36 done
37 @echo " Copying static library files to /usr/local/lib"
38 @cd $(WXBASEDIR)/lib/$(OS) ; \
39 for f in libwx_serial_gtk.a ; do \
40 rm -f /usr/local/lib/$$f ; \
41 $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \
42 done
43 @echo " Copying shared libraries to /usr/local/lib"
44 @cd $(WXBASEDIR)/lib/$(OS) ; \
45 for f in libwx_serial_gtk.so* ; do \
46 rm -f /usr/local/lib/$$f ; \
47 $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \
48 done