]>
Commit | Line | Data |
---|---|---|
bd9396d5 HH |
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 | cbstore.cpp \ | |
32 | controlarea.cpp \ | |
33 | controlbar.cpp \ | |
34 | dyntbar.cpp \ | |
35 | dyntbarhnd.cpp \ | |
36 | frmview.cpp \ | |
37 | garbagec.cpp \ | |
38 | gcupdatesmgr.cpp \ | |
39 | hintanimpl.cpp \ | |
40 | newbmpbtn.cpp \ | |
41 | objstore.cpp \ | |
42 | panedrawpl.cpp \ | |
bd9396d5 HH |
43 | rowdragpl.cpp \ |
44 | rowlayoutpl.cpp \ | |
bd9396d5 | 45 | toolwnd.cpp \ |
af11388a | 46 | updatesmgr.cpp |
bd9396d5 HH |
47 | |
48 | #define library objects | |
49 | LIB_OBJ= \ | |
50 | \ | |
51 | $(LIB_CPP_SRC:.cpp=.o) | |
52 | ||
53 | all:: | |
54 | ||
55 | clean:: | |
56 | ||
57 | #additional things needed for compile | |
58 | ADD_COMPILE= | |
59 | ||
60 | # include the definitions now | |
61 | include ../../../../template.mak | |
62 | ||
63 | install:: | |
af11388a | 64 | @echo "Installing library files and headers for libwx_fl_gtk.." |
bd9396d5 HH |
65 | @echo " Creating directory.." |
66 | @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_fl | |
67 | @echo " Copying headers from framelayout/src" | |
68 | @cd $(WXBASEDIR)/utils/framelayout/src ; \ | |
69 | for f in *.h ; do \ | |
70 | rm -f /usr/local/include/wx_fl/$$f ; \ | |
71 | $(INSTALL_DATA) $$f /usr/local/include/wx_fl/$$f ; \ | |
72 | done | |
73 | @echo " Copying static library files to /usr/local/lib" | |
74 | @cd $(WXBASEDIR)/lib/$(OS) ; \ | |
75 | for f in libwx_fl_gtk.a ; do \ | |
76 | rm -f /usr/local/lib/$$f ; \ | |
77 | $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \ | |
78 | done | |
79 | @echo " Copying shared libraries to /usr/local/lib" | |
80 | @cd $(WXBASEDIR)/lib/$(OS) ; \ | |
81 | for f in libwx_fl_gtk.so* ; do \ | |
82 | rm -f /usr/local/lib/$$f ; \ | |
83 | $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \ | |
84 | done | |
85 |