Subversion Repositories Kolibri OS

Rev

Rev 4349 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4349 Rev 4362
Line 9... Line 9...
9
STRIP = $(PREFIX)strip
9
STRIP = $(PREFIX)strip
Line 10... Line 10...
10
 
10
 
Line 11... Line 11...
11
INCLUDES= -I../newlib/include -I./include -I./include/freetype/config 
11
INCLUDES= -I../newlib/include -I./include -I./include/freetype/config 
Line 12... Line 12...
12
 
12
 
Line 13... Line 13...
13
LIBPATH:= -L../../import -L../../static
13
LIBPATH:= -L../../lib
Line 67... Line 67...
67
 
67
 
Line 68... Line 68...
68
 
68
 
69
lib$(LIBRARY).a: $(OBJECTS) Makefile
69
lib$(LIBRARY).a: $(OBJECTS) Makefile
70
	ar cvrs lib$(LIBRARY).a $(OBJECTS)
70
	ar cvrs lib$(LIBRARY).a $(OBJECTS)
Line 71... Line 71...
71
	mv -f lib$(LIBRARY).a ../../static
71
	mv -f lib$(LIBRARY).a ../../lib
72
 
72
 
73
$(LIBRARY).dll: lib$(LIBRARY).def $(OBJECTS) Makefile
73
$(LIBRARY).dll: lib$(LIBRARY).def $(OBJECTS) Makefile
74
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ lib$(LIBRARY).def $(OBJECTS) $(LIBS)
74
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ lib$(LIBRARY).def $(OBJECTS) $(LIBS)
75
	$(STRIP) $@
75
	$(STRIP) $@
76
	sed -f ../newlib/cmd1.sed lib$(LIBRARY).def > mem
76
	sed -f ../newlib/cmd1.sed lib$(LIBRARY).def > mem
77
	sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc
77
	sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc
Line 78... Line 78...
78
	mv -f $@ ../../lib
78
	mv -f $@ ../../bin
79
	mv -f lib$(LIBRARY).dll.a ../../import   
79
	mv -f lib$(LIBRARY).dll.a ../../lib