| 1 | # |
| 2 | # wxFrameLayout source makefile for Unix |
| 3 | # |
| 4 | # Copyright 1999, Harm van der Heijden |
| 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_fl_gtk |
| 21 | LIB_MAJOR=0 |
| 22 | LIB_MINOR=1 |
| 23 | |
| 24 | # define library sources |
| 25 | |
| 26 | LIB_CPP_SRC= \ |
| 27 | antiflickpl.cpp \ |
| 28 | bardragpl.cpp \ |
| 29 | barhintspl.cpp \ |
| 30 | cbcustom.cpp \ |
| 31 | controlarea.cpp \ |
| 32 | controlbar.cpp \ |
| 33 | dyntbar.cpp \ |
| 34 | dyntbarhnd.cpp \ |
| 35 | garbagec.cpp \ |
| 36 | gcupdatesmgr.cpp \ |
| 37 | hintanimpl.cpp \ |
| 38 | newbmpbtn.cpp \ |
| 39 | panedrawpl.cpp \ |
| 40 | rowdragpl.cpp \ |
| 41 | rowlayoutpl.cpp \ |
| 42 | toolwnd.cpp \ |
| 43 | updatesmgr.cpp |
| 44 | |
| 45 | #define library objects |
| 46 | LIB_OBJ= \ |
| 47 | \ |
| 48 | $(LIB_CPP_SRC:.cpp=.o) |
| 49 | |
| 50 | all:: |
| 51 | |
| 52 | clean:: |
| 53 | |
| 54 | #additional things needed for compile |
| 55 | ADD_COMPILE= |
| 56 | |
| 57 | # include the definitions now |
| 58 | include ../../../../template.mak |
| 59 | |
| 60 | install:: |
| 61 | @echo "Installing library files and headers for libwx_fl_gtk.." |
| 62 | @echo " Creating directory.." |
| 63 | @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_fl |
| 64 | @echo " Copying headers from framelayout/src" |
| 65 | @cd $(WXBASEDIR)/utils/framelayout/src ; \ |
| 66 | for f in *.h ; do \ |
| 67 | rm -f /usr/local/include/wx_fl/$$f ; \ |
| 68 | $(INSTALL_DATA) $$f /usr/local/include/wx_fl/$$f ; \ |
| 69 | done |
| 70 | @echo " Copying static library files to /usr/local/lib" |
| 71 | @cd $(WXBASEDIR)/lib/$(OS) ; \ |
| 72 | for f in libwx_fl_gtk.a ; do \ |
| 73 | rm -f /usr/local/lib/$$f ; \ |
| 74 | $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \ |
| 75 | done |
| 76 | @echo " Copying shared libraries to /usr/local/lib" |
| 77 | @cd $(WXBASEDIR)/lib/$(OS) ; \ |
| 78 | for f in libwx_fl_gtk.so* ; do \ |
| 79 | rm -f /usr/local/lib/$$f ; \ |
| 80 | $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \ |
| 81 | done |
| 82 | |