Rev 3403 | Rev 3535 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3403 | Rev 3448 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | endif |
89 | endif |
90 | ifeq ($(RDFMT),fat) |
90 | ifeq ($(RDFMT),fat) |
91 | COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat |
91 | COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat |
92 | endif |
92 | endif |
93 | 93 | ||
94 | RD_TASKS = \ |
94 | RD_SRVS = \ |
95 | $(USPACEDIR)/srv/fb/fb \ |
95 | $(USPACEDIR)/srv/fb/fb \ |
96 | $(USPACEDIR)/srv/kbd/kbd \ |
96 | $(USPACEDIR)/srv/kbd/kbd \ |
97 | $(USPACEDIR)/srv/console/console \ |
97 | $(USPACEDIR)/srv/console/console \ |
98 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
98 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
99 | $(USPACEDIR)/srv/fs/fat/fat \ |
99 | $(USPACEDIR)/srv/fs/fat/fat |
- | 100 | ||
- | 101 | RD_APPS = \ |
|
100 | $(USPACEDIR)/app/tetris/tetris \ |
102 | $(USPACEDIR)/app/tetris/tetris \ |
101 | $(USPACEDIR)/app/tester/tester \ |
103 | $(USPACEDIR)/app/tester/tester \ |
102 | $(USPACEDIR)/app/dltest/dltest \ |
104 | $(USPACEDIR)/app/dltest/dltest \ |
- | 105 | $(USPACEDIR)/app/trace/trace \ |
|
103 | $(USPACEDIR)/app/klog/klog \ |
106 | $(USPACEDIR)/app/klog/klog \ |
104 | $(USPACEDIR)/app/bdsh/bdsh |
107 | $(USPACEDIR)/app/bdsh/bdsh |
105 | 108 | ||
106 | RD_LIBS = \ |
109 | RD_LIBS = \ |
107 | $(USPACEDIR)/lib/rtld/rtld.so \ |
110 | $(USPACEDIR)/lib/rtld/rtld.so \ |
Line 121... | Line 124... | ||
121 | 124 | ||
122 | depend: |
125 | depend: |
123 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
126 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
124 | 127 | ||
125 | clean: |
128 | clean: |
126 | -for task in $(RD_TASKS) ; do \ |
129 | -for file in $(RD_SRVS) ; do \ |
127 | rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ |
130 | rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ |
128 | done |
131 | done |
129 | -for lib in $(RD_LIBS) ; do \ |
132 | -for lib in $(RD_LIBS) ; do \ |
130 | rm -f $(USPACEDIR)/dist/lib/`basename $$lib` ; \ |
133 | rm -f $(USPACEDIR)/dist/lib/`basename $$lib` ; \ |
131 | done |
134 | done |
- | 135 | -for file in $(RD_APPS) ; do \ |
|
- | 136 | rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ |
|
- | 137 | done |
|
132 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend |
138 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend |
133 | 139 | ||
134 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) $(RD_LIBS) _link.ld.in |
140 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_LIBS) $(RD_APPS) _link.ld.in |
135 | for task in $(RD_TASKS) ; do \ |
141 | for file in $(RD_SRVS) ; do \ |
136 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
142 | cp $$file $(USPACEDIR)/dist/srv/ ; \ |
137 | done |
143 | done |
138 | for lib in $(RD_LIBS) ; do \ |
144 | for lib in $(RD_LIBS) ; do \ |
139 | cp $$lib $(USPACEDIR)/dist/lib/ ; \ |
145 | cp $$lib $(USPACEDIR)/dist/lib/ ; \ |
140 | done |
146 | done |
- | 147 | for file in $(RD_APPS) ; do \ |
|
- | 148 | cp $$file $(USPACEDIR)/dist/app/ ; \ |
|
- | 149 | done |
|
141 | ifeq ($(RDFMT),tmpfs) |
150 | ifeq ($(RDFMT),tmpfs) |
142 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
151 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
143 | endif |
152 | endif |
144 | ifeq ($(RDFMT),fat) |
153 | ifeq ($(RDFMT),fat) |
145 | ../../../../tools/mkfat.sh $(USPACEDIR)/dist/ initrd.fs |
154 | ../../../../tools/mkfat.sh $(USPACEDIR)/dist/ initrd.fs |