Serenity Operating System
1OBJS = \
2 AboutDialog.o \
3 AbstractButton.o \
4 AbstractTableView.o \
5 AbstractView.o \
6 Action.o \
7 ActionGroup.o \
8 Application.o \
9 BoxLayout.o \
10 Button.o \
11 CheckBox.o \
12 Clipboard.o \
13 ColorPicker.o \
14 ColumnsView.o \
15 ComboBox.o \
16 Command.o \
17 CppLexer.o \
18 CppSyntaxHighlighter.o \
19 Desktop.o \
20 Dialog.o \
21 DragOperation.o \
22 Event.o \
23 FilePicker.o \
24 FileSystemModel.o \
25 FontDatabase.o \
26 Frame.o \
27 GroupBox.o \
28 Icon.o \
29 InputBox.o \
30 ItemView.o \
31 JsonArrayModel.o \
32 Label.o \
33 Layout.o \
34 LazyWidget.o \
35 ListView.o \
36 Menu.o \
37 MenuBar.o \
38 MenuItem.o \
39 MessageBox.o \
40 Model.o \
41 ModelIndex.o \
42 ModelSelection.o \
43 MultiView.o \
44 Notification.o \
45 Painter.o \
46 ProgressBar.o \
47 RadioButton.o \
48 ResizeCorner.o \
49 ScrollBar.o \
50 ScrollableWidget.o \
51 Shortcut.o \
52 Slider.o \
53 SortingProxyModel.o \
54 SpinBox.o \
55 Splitter.o \
56 StackWidget.o \
57 StatusBar.o \
58 SyntaxHighlighter.o \
59 TabWidget.o \
60 TableView.o \
61 TextBox.o \
62 TextDocument.o \
63 TextEditor.o \
64 ToolBar.o \
65 TreeView.o \
66 UndoStack.o \
67 Variant.o \
68 Widget.o \
69 Window.o \
70 WindowServerConnection.o
71
72LIBRARY = libgui.a
73
74Application.cpp: ../../Servers/WindowServer/WindowServerEndpoint.h
75
76../../Servers/WindowServer/WindowServerEndpoint.h:
77 @flock $(dir $(@)) $(MAKE) -C $(dir $(@))
78
79# HACK: NotificationServer depends on LibGUI so we don't flock for these..
80Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h ../../Servers/NotificationServer/NotificationClientEndpoint.h
81
82../../Servers/NotificationServer/NotificationServerEndpoint.h:
83 $(MAKE) -C $(dir $(@)) NotificationServerEndpoint.h
84
85../../Servers/NotificationServer/NotificationClientEndpoint.h:
86 $(MAKE) -C $(dir $(@)) NotificationClientEndpoint.h
87
88install:
89 mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
90 cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
91 cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
92
93include ../../Makefile.common