]>
Commit | Line | Data |
---|---|---|
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 \ | |
43 | pf_sample.cpp \ | |
44 | rowdragpl.cpp \ | |
45 | rowlayoutpl.cpp \ | |
46 | settingsdlg.cpp \ | |
47 | toolwnd.cpp \ | |
48 | updatesmgr.cpp \ | |
49 | wxinfo.cpp | |
50 | ||
51 | #define library objects | |
52 | LIB_OBJ= \ | |
53 | \ | |
54 | $(LIB_CPP_SRC:.cpp=.o) | |
55 | ||
56 | all:: | |
57 | ||
58 | clean:: | |
59 | ||
60 | #additional things needed for compile | |
61 | ADD_COMPILE= | |
62 | ||
63 | # include the definitions now | |
64 | include ../../../../template.mak | |
65 | ||
66 | install:: | |
67 | @echo "Installing library files and headers for libwx_gl_gtk.." | |
68 | @echo " Creating directory.." | |
69 | @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_fl | |
70 | @echo " Copying headers from framelayout/src" | |
71 | @cd $(WXBASEDIR)/utils/framelayout/src ; \ | |
72 | for f in *.h ; do \ | |
73 | rm -f /usr/local/include/wx_fl/$$f ; \ | |
74 | $(INSTALL_DATA) $$f /usr/local/include/wx_fl/$$f ; \ | |
75 | done | |
76 | @echo " Copying static library files to /usr/local/lib" | |
77 | @cd $(WXBASEDIR)/lib/$(OS) ; \ | |
78 | for f in libwx_fl_gtk.a ; do \ | |
79 | rm -f /usr/local/lib/$$f ; \ | |
80 | $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \ | |
81 | done | |
82 | @echo " Copying shared libraries to /usr/local/lib" | |
83 | @cd $(WXBASEDIR)/lib/$(OS) ; \ | |
84 | for f in libwx_fl_gtk.so* ; do \ | |
85 | rm -f /usr/local/lib/$$f ; \ | |
86 | $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \ | |
87 | done | |
88 |