mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	 627fd6374b
			
		
	
	
		627fd6374b
		
	
	
	
	
		
			
			This is a special kind of byte array that clamps its values to 0...255 It will be used for HTML ImageData objects. I made Object::put_by_index() and get_by_index() virtual for this. We'll probably need to make non-numeric property name lookups virtual as well, but this solves my current problem well enough.
		
			
				
	
	
		
			57 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| OBJS = \
 | |
|     AST.o \
 | |
|     Heap/Handle.o \
 | |
|     Heap/Heap.o \
 | |
|     Heap/HeapBlock.o \
 | |
|     Interpreter.o \
 | |
|     Lexer.o \
 | |
|     Parser.o \
 | |
|     Runtime/Array.o \
 | |
|     Runtime/ArrayConstructor.o \
 | |
|     Runtime/ArrayPrototype.o \
 | |
|     Runtime/BooleanConstructor.o \
 | |
|     Runtime/BooleanObject.o \
 | |
|     Runtime/BooleanPrototype.o \
 | |
|     Runtime/BoundFunction.o \
 | |
|     Runtime/Cell.o \
 | |
|     Runtime/ConsoleObject.o \
 | |
|     Runtime/Date.o \
 | |
|     Runtime/DateConstructor.o \
 | |
|     Runtime/DatePrototype.o \
 | |
|     Runtime/Error.o \
 | |
|     Runtime/ErrorConstructor.o \
 | |
|     Runtime/ErrorPrototype.o \
 | |
|     Runtime/Exception.o \
 | |
|     Runtime/Function.o \
 | |
|     Runtime/FunctionConstructor.o \
 | |
|     Runtime/FunctionPrototype.o \
 | |
|     Runtime/GlobalObject.o \
 | |
|     Runtime/LexicalEnvironment.o \
 | |
|     Runtime/MathObject.o \
 | |
|     Runtime/MarkedValueList.o \
 | |
|     Runtime/NativeFunction.o \
 | |
|     Runtime/NativeProperty.o \
 | |
|     Runtime/NumberConstructor.o \
 | |
|     Runtime/NumberObject.o \
 | |
|     Runtime/NumberPrototype.o \
 | |
|     Runtime/Object.o \
 | |
|     Runtime/ObjectConstructor.o \
 | |
|     Runtime/ObjectPrototype.o \
 | |
|     Runtime/PrimitiveString.o \
 | |
|     Runtime/ScriptFunction.o \
 | |
|     Runtime/Shape.o \
 | |
|     Runtime/StringConstructor.o \
 | |
|     Runtime/StringObject.o \
 | |
|     Runtime/StringPrototype.o \
 | |
|     Runtime/Uint8ClampedArray.o \
 | |
|     Runtime/Value.o \
 | |
|     Token.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
 |