Serenity Operating System
1OBJS = \
2 AST.o \
3 Heap/Handle.o \
4 Heap/Heap.o \
5 Heap/HeapBlock.o \
6 Interpreter.o \
7 Lexer.o \
8 Parser.o \
9 Runtime/Array.o \
10 Runtime/ArrayConstructor.o \
11 Runtime/ArrayPrototype.o \
12 Runtime/BooleanConstructor.o \
13 Runtime/BooleanObject.o \
14 Runtime/BooleanPrototype.o \
15 Runtime/Cell.o \
16 Runtime/ConsoleObject.o \
17 Runtime/Date.o \
18 Runtime/DateConstructor.o \
19 Runtime/DatePrototype.o \
20 Runtime/Error.o \
21 Runtime/ErrorConstructor.o \
22 Runtime/ErrorPrototype.o \
23 Runtime/Exception.o \
24 Runtime/Function.o \
25 Runtime/FunctionConstructor.o \
26 Runtime/FunctionPrototype.o \
27 Runtime/GlobalObject.o \
28 Runtime/MathObject.o \
29 Runtime/NativeFunction.o \
30 Runtime/NativeProperty.o \
31 Runtime/NumberConstructor.o \
32 Runtime/NumberObject.o \
33 Runtime/NumberPrototype.o \
34 Runtime/Object.o \
35 Runtime/ObjectConstructor.o \
36 Runtime/ObjectPrototype.o \
37 Runtime/PrimitiveString.o \
38 Runtime/ScriptFunction.o \
39 Runtime/Shape.o \
40 Runtime/StringObject.o \
41 Runtime/StringPrototype.o \
42 Runtime/Value.o \
43 Token.o
44
45LIBRARY = libjs.a
46
47install:
48 mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
49 cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
50 cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
51
52include ../../Makefile.common