mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:07:45 +00:00

This patch adds NativeProperty, which can be used to implement object properties that have C++ getters and/or setters. Use this to move String.prototype.length to its correct place. :^)
29 lines
573 B
Makefile
29 lines
573 B
Makefile
OBJS = \
|
|
AST.o \
|
|
Cell.o \
|
|
Function.o \
|
|
GlobalObject.o \
|
|
Heap.o \
|
|
HeapBlock.o \
|
|
Interpreter.o \
|
|
Lexer.o \
|
|
NativeFunction.o \
|
|
NativeProperty.o \
|
|
Object.o \
|
|
ObjectPrototype.o \
|
|
Parser.o \
|
|
PrimitiveString.o \
|
|
ScriptFunction.o \
|
|
StringObject.o \
|
|
StringPrototype.o \
|
|
Token.o \
|
|
Value.o
|
|
|
|
LIBRARY = libjs.a
|
|
|
|
install:
|
|
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
|
|
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibJS/
|
|
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
|
|
|
include ../../Makefile.common
|