Subversion Repositories HelenOS

Rev

Rev 3535 | Rev 3869 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3535 Rev 3772
Line 104... Line 104...
104
	$(USPACEDIR)/srv/fs/fat/fat
104
	$(USPACEDIR)/srv/fs/fat/fat
105
 
105
 
106
RD_APPS = \
106
RD_APPS = \
107
	$(USPACEDIR)/app/tetris/tetris \
107
	$(USPACEDIR)/app/tetris/tetris \
108
	$(USPACEDIR)/app/tester/tester \
108
	$(USPACEDIR)/app/tester/tester \
-
 
109
	$(USPACEDIR)/app/dload/dload \
-
 
110
	$(USPACEDIR)/app/dltest/dltest \
109
	$(USPACEDIR)/app/trace/trace \
111
	$(USPACEDIR)/app/trace/trace \
110
	$(USPACEDIR)/app/bdsh/bdsh \
112
	$(USPACEDIR)/app/bdsh/bdsh \
111
	$(USPACEDIR)/app/klog/klog
113
	$(USPACEDIR)/app/klog/klog
112
 
114
 
-
 
115
RD_LIBS = \
-
 
116
	$(USPACEDIR)/lib/libc/shared/libc.so.0 \
-
 
117
	$(USPACEDIR)/lib/libtest/libtest.so.0
-
 
118
 
113
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
119
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
114
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
120
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
115
 
121
 
116
.PHONY: all clean depend
122
.PHONY: all clean depend
117
 
123
 
Line 132... Line 138...
132
	-for file in $(RD_APPS) ; do \
138
	-for file in $(RD_APPS) ; do \
133
		rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
139
		rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
134
	done
140
	done
135
	-rm -f _components.h _components.c _link.ld _link.ld.in $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
141
	-rm -f _components.h _components.c _link.ld _link.ld.in $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
136
 
142
 
137
_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in
143
_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_LIBS) $(RD_APPS) _link.ld.in
138
	for file in $(RD_SRVS) ; do \
144
	for file in $(RD_SRVS) ; do \
139
		cp $$file $(USPACEDIR)/dist/srv/ ; \
145
		cp $$file $(USPACEDIR)/dist/srv/ ; \
140
	done
146
	done
-
 
147
	for lib in $(RD_LIBS) ; do \
-
 
148
		cp $$lib $(USPACEDIR)/dist/lib/ ; \
-
 
149
	done
141
	for file in $(RD_APPS) ; do \
150
	for file in $(RD_APPS) ; do \
142
		cp $$file $(USPACEDIR)/dist/app/ ; \
151
		cp $$file $(USPACEDIR)/dist/app/ ; \
143
	done
152
	done
144
ifeq ($(RDFMT),tmpfs)
153
ifeq ($(RDFMT),tmpfs)
145
	../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs
154
	../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs