summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Makefile
blob: 00549493735cfbd866847eb8b7e99a85a6214415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
OBJS = \
    AboutDialog.o \
    AbstractButton.o \
    AbstractTableView.o \
    AbstractView.o \
    Action.o \
    ActionGroup.o \
    Application.o \
    BoxLayout.o \
    Button.o \
    CheckBox.o \
    Clipboard.o \
    ColorInput.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 \
    ToolBarContainer.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