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 DisplayLink.o \
22 DragOperation.o \
23 Event.o \
24 FilePicker.o \
25 FileSystemModel.o \
26 FontDatabase.o \
27 Frame.o \
28 GroupBox.o \
29 Icon.o \
30 InputBox.o \
31 ItemView.o \
32 JsonArrayModel.o \
33 JSSyntaxHighlighter.o \
34 Label.o \
35 Layout.o \
36 LazyWidget.o \
37 ListView.o \
38 Menu.o \
39 MenuBar.o \
40 MenuItem.o \
41 MessageBox.o \
42 Model.o \
43 ModelIndex.o \
44 ModelSelection.o \
45 MultiView.o \
46 Notification.o \
47 Painter.o \
48 ProgressBar.o \
49 RadioButton.o \
50 ResizeCorner.o \
51 ScrollBar.o \
52 ScrollableWidget.o \
53 Shortcut.o \
54 Slider.o \
55 SortingProxyModel.o \
56 SpinBox.o \
57 Splitter.o \
58 StackWidget.o \
59 StatusBar.o \
60 SyntaxHighlighter.o \
61 TabWidget.o \
62 TableView.o \
63 TextBox.o \
64 TextDocument.o \
65 TextEditor.o \
66 ToolBar.o \
67 TreeView.o \
68 UndoStack.o \
69 Variant.o \
70 Widget.o \
71 Window.o \
72 WindowServerConnection.o
73
74LIBRARY = libgui.a
75
76Application.cpp: ../../Servers/WindowServer/WindowServerEndpoint.h
77
78../../Servers/WindowServer/WindowServerEndpoint.h:
79 @flock $(dir $(@)) $(MAKE) -C $(dir $(@))
80
81# HACK: NotificationServer depends on LibGUI so we don't flock for these..
82Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h ../../Servers/NotificationServer/NotificationClientEndpoint.h
83
84../../Servers/NotificationServer/NotificationServerEndpoint.h:
85 $(MAKE) -C $(dir $(@)) NotificationServerEndpoint.h
86
87../../Servers/NotificationServer/NotificationClientEndpoint.h:
88 $(MAKE) -C $(dir $(@)) NotificationClientEndpoint.h
89
90install:
91 mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
92 cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
93 cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
94
95include ../../Makefile.common