Rev 3369 | Rev 3438 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3369 | Rev 3410 | ||
---|---|---|---|
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/klog/klog \ |
104 | $(USPACEDIR)/app/klog/klog \ |
103 | $(USPACEDIR)/app/bdsh/bdsh |
105 | $(USPACEDIR)/app/bdsh/bdsh |
104 | 106 | ||
Line 116... | Line 118... | ||
116 | 118 | ||
117 | depend: |
119 | depend: |
118 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
120 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
119 | 121 | ||
120 | clean: |
122 | clean: |
- | 123 | -for file in $(RD_SRVS) ; do \ |
|
- | 124 | rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ |
|
- | 125 | done |
|
121 | -for task in $(RD_TASKS) ; do \ |
126 | -for file in $(RD_APPS) ; do \ |
122 | rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ |
127 | rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ |
123 | done |
128 | done |
124 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend |
129 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend |
125 | 130 | ||
126 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in |
131 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in |
- | 132 | for file in $(RD_SRVS) ; do \ |
|
- | 133 | cp $$file $(USPACEDIR)/dist/srv/ ; \ |
|
- | 134 | done |
|
127 | for task in $(RD_TASKS) ; do \ |
135 | for file in $(RD_APPS) ; do \ |
128 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
136 | cp $$file $(USPACEDIR)/dist/app/ ; \ |
129 | done |
137 | done |
130 | ifeq ($(RDFMT),tmpfs) |
138 | ifeq ($(RDFMT),tmpfs) |
131 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
139 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
132 | endif |
140 | endif |
133 | ifeq ($(RDFMT),fat) |
141 | ifeq ($(RDFMT),fat) |