1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00
serenity/Libraries/LibGUI/Makefile
Andreas Kling 424a3f5ac3 WindowServer+LibGUI: Add a way to get notified at display refresh rate
This patch adds GUI::DisplayLink, a mechanism for registering callbacks
that will fire at the display refresh rate.

Note that we don't actually know the screen refresh rate, but this is
instead completely driven by WindowServer's compositing timer. For all
current intents and purposes it does the job well enough. :^)
2020-03-22 21:13:23 +01:00

95 lines
2.1 KiB
Makefile

OBJS = \
AboutDialog.o \
AbstractButton.o \
AbstractTableView.o \
AbstractView.o \
Action.o \
ActionGroup.o \
Application.o \
BoxLayout.o \
Button.o \
CheckBox.o \
Clipboard.o \
ColorPicker.o \
ColumnsView.o \
ComboBox.o \
Command.o \
CppLexer.o \
CppSyntaxHighlighter.o \
Desktop.o \
Dialog.o \
DisplayLink.o \
DragOperation.o \
Event.o \
FilePicker.o \
FileSystemModel.o \
FontDatabase.o \
Frame.o \
GroupBox.o \
Icon.o \
InputBox.o \
ItemView.o \
JsonArrayModel.o \
JSSyntaxHighlighter.o \
Label.o \
Layout.o \
LazyWidget.o \
ListView.o \
Menu.o \
MenuBar.o \
MenuItem.o \
MessageBox.o \
Model.o \
ModelIndex.o \
ModelSelection.o \
MultiView.o \
Notification.o \
Painter.o \
ProgressBar.o \
RadioButton.o \
ResizeCorner.o \
ScrollBar.o \
ScrollableWidget.o \
Shortcut.o \
Slider.o \
SortingProxyModel.o \
SpinBox.o \
Splitter.o \
StackWidget.o \
StatusBar.o \
SyntaxHighlighter.o \
TabWidget.o \
TableView.o \
TextBox.o \
TextDocument.o \
TextEditor.o \
ToolBar.o \
TreeView.o \
UndoStack.o \
Variant.o \
Widget.o \
Window.o \
WindowServerConnection.o
LIBRARY = libgui.a
Application.cpp: ../../Servers/WindowServer/WindowServerEndpoint.h
../../Servers/WindowServer/WindowServerEndpoint.h:
@flock $(dir $(@)) $(MAKE) -C $(dir $(@))
# HACK: NotificationServer depends on LibGUI so we don't flock for these..
Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h ../../Servers/NotificationServer/NotificationClientEndpoint.h
../../Servers/NotificationServer/NotificationServerEndpoint.h:
$(MAKE) -C $(dir $(@)) NotificationServerEndpoint.h
../../Servers/NotificationServer/NotificationClientEndpoint.h:
$(MAKE) -C $(dir $(@)) NotificationClientEndpoint.h
install:
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
include ../../Makefile.common