8 LIBDYN
= lib
$(CONF_LIBNAME
).so.
$(CONF_VERSION
)
9 LIBLDD
= lib
$(CONF_LIBNAME
).so
10 LIBSTA
= lib
$(CONF_LIBNAME
).a
18 INCLUDES
= -I..
/F
-I
$(FLTK_INCLUDES
) -I
$(COMMONCPP_INCLUDES
)
19 CFLAGS
= $(PROFILE
) $(OPTIMIZE
) -Werror
-Wall
-D_REENTRANT
-D_GNU_SOURCE
-D_THREAD_SAFE
$(INCLUDES
) $(DEBUG
)
20 LDFLAGS
= $(LDFLAG
) $(PROFILE
)
21 OBJS
= F_App.o F_Log.o F_UI.o F_Batch_UI.o F_Linux_Console_UI.o F_FLTK_UI.o \
22 F_Input_Device.o F_Gpm.o F_Linux_Input.o F_Linux_Keyboard.o \
23 F_Text_Display.o F_Linux_Console_Display.o F_Widget.o F_Window.o \
24 F_Text.o F_Button.o F_Browser.o F_Text_Output.o F_Input.o \
25 F_Scrollbar.o F_Menu_Button.o F_Menu.o
28 $(CXX
) -fPIC
-MD
$(CFLAGS
) -c
$< -o
$@
31 @ln
-sf
$(LIBDYN
) $(LIBLDD
)
33 @cp
-af
${ALLIBS} $(LIBLDD
) ..
/libs
38 $(AR
) rcs
$(LIBSTA
) $(OBJS
)
40 $(CXX
) $(DEBUG
) -shared
-Wl
,-soname
,$(LIBLDD
) -o
$(LIBDYN
) $(OBJS
)
43 @
rm -f
*.d
*.o
*.a
*.so
* core
*.out
*~ demo DEAD
* \
44 ..
/libs
/$(LIBDYN
) ..
/libs
/$(LIBLDD
) ..
/libs
/$(LIBSTA
)
46 -include $(wildcard *.d
)