# # wxprop source makefile for Unix # # Copyright 1998, Robert Roebling # # wxWindows base directory WXBASEDIR=@WXBASEDIR@ # set the OS type for compilation OS=@OS@ # compile a library only RULE=gslib # needed for unactivated NONE= # define library name LIB_TARGET=wx_prop_gtk LIB_MAJOR=0 LIB_MINOR=1 # define library sources LIB_CPP_SRC=\ \ prop.cpp \ propform.cpp \ proplist.cpp #define library objects LIB_OBJ=\ $(LIB_CPP_SRC:.cpp=.o) all:: clean:: install:: @echo "Installing library files and headers for libwx_prop_gtk.." @echo " Creating directory.." @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_prop @echo " Copying headers from /include/wx" @cd $(WXBASEDIR)/utils/wxprop/src ; \ for f in *.h ; do \ rm -f /usr/local/include/wx_prop/$$f ; \ $(INSTALL_DATA) $$f /usr/local/include/wx_prop/$$f ; \ done @echo " Copying static library files to /usr/local/lib" @cd $(WXBASEDIR)/lib/$(OS) ; \ for f in libwx_prop_gtk.a ; do \ rm -f /usr/local/lib/$$f ; \ $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \ done @echo " Copying shared libraries to /usr/local/lib" @cd $(WXBASEDIR)/lib/$(OS) ; \ for f in libwx_prop_gtk.so* ; do \ rm -f /usr/local/lib/$$f ; \ $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \ done #additional things needed for compile ADD_COMPILE= # include the definitions now include ../../../../template.mak