mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
added dist rule
svn path=/trunk/; revision=593
This commit is contained in:
parent
743df9ab84
commit
04f2911330
25 changed files with 330 additions and 108 deletions
|
@ -2,8 +2,9 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
OBJECTS= args.o
|
OBJECTS= args.o
|
||||||
|
PROGS= args.exe
|
||||||
|
|
||||||
all: args.exe
|
all: $(PROGS)
|
||||||
|
|
||||||
.phony: all
|
.phony: all
|
||||||
|
|
||||||
|
@ -14,13 +15,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/apps/args.exe
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
||||||
|
|
||||||
$(FLOPPY_DIR)/apps/args.exe: args.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) args.exe $(FLOPPY_DIR)\apps\args.exe
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
||||||
else
|
else
|
||||||
$(CP) args.exe $(FLOPPY_DIR)/apps\args.exe
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
||||||
|
else
|
||||||
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
args.exe: $(OBJECTS) $(LIBS)
|
args.exe: $(OBJECTS) $(LIBS)
|
||||||
|
|
|
@ -1,32 +1,39 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
BENCH_PROGS = bench-thread
|
PROGS = bench-thread
|
||||||
|
|
||||||
all: $(BENCH_PROGS:%=%.exe)
|
all: $(PROGS:%=%.exe)
|
||||||
|
|
||||||
.phony: all
|
.phony: all
|
||||||
|
|
||||||
clean: $(BENCH_PROGS:%=%_clean)
|
clean: $(PROGS:%=%_clean)
|
||||||
|
|
||||||
$(BENCH_PROGS:%=%_clean): %_clean:
|
$(PROGS:%=%_clean): %_clean:
|
||||||
- $(RM) $*.o
|
- $(RM) $*.o
|
||||||
- $(RM) $*.exe
|
- $(RM) $*.exe
|
||||||
- $(RM) $*.sym
|
- $(RM) $*.sym
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: # $(BENCH_PROGS:%=%_floppy)
|
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
|
||||||
|
|
||||||
$(BENCH_PROGS:%=%_floppy): %_floppy: $(FLOPPY_DIR)/apps/%.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
|
||||||
|
|
||||||
$(BENCH_PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
|
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) $*.exe $(FLOPPY_DIR)\apps\$*.exe
|
$(CP) $*.exe $(FLOPPY_DIR)\apps\$*.exe
|
||||||
else
|
else
|
||||||
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
|
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $*.exe ..\..\$(DIST_DIR)\apps\$*.exe
|
||||||
|
else
|
||||||
|
$(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
|
||||||
|
endif
|
||||||
|
|
||||||
bench-thread.exe: bench-thread.c
|
bench-thread.exe: bench-thread.c
|
||||||
$(CC) bench-thread.c -lkernel32 -o bench-thread.exe
|
$(CC) bench-thread.c -lkernel32 -o bench-thread.exe
|
||||||
$(NM) --numeric-sort bench-thread.exe > bench-thread.sym
|
$(NM) --numeric-sort bench-thread.exe > bench-thread.sym
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
OBJECTS = ../common/crt0.o hello.o
|
OBJECTS = ../common/crt0.o hello.o
|
||||||
|
PROGS = hello.exe
|
||||||
LIBS = ../../lib/kernel32/kernel32.a ../../lib/ntdll/ntdll.a
|
LIBS = ../../lib/kernel32/kernel32.a ../../lib/ntdll/ntdll.a
|
||||||
CLEAN_FILES = hello.o hello.exe
|
CLEAN_FILES = hello.o hello.exe
|
||||||
|
|
||||||
|
@ -14,13 +15,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.phony: clean $(CLEAN_FILES:%=%_clean)
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/apps/hello.exe
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
||||||
|
|
||||||
$(FLOPPY_DIR)/apps/hello.exe: hello.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) hello.exe $(FLOPPY_DIR)\apps\hello.exe
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
||||||
else
|
else
|
||||||
$(CP) hello.exe $(FLOPPY_DIR)/apps\hello.exe
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
||||||
|
else
|
||||||
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
hello.exe: $(OBJECTS) $(LIBS)
|
hello.exe: $(OBJECTS) $(LIBS)
|
||||||
|
|
|
@ -1,33 +1,40 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
TEST_PROGS= test-stdio tst-printf tstdiomisc bug2 bug3 \
|
PROGS= test-stdio tst-printf tstdiomisc bug2 bug3 \
|
||||||
temptest test-fseek test_rdwr
|
temptest test-fseek test_rdwr
|
||||||
|
|
||||||
all: $(TEST_PROGS:%=%.exe)
|
all: $(PROGS:%=%.exe)
|
||||||
|
|
||||||
.phony: all
|
.phony: all
|
||||||
|
|
||||||
$(TEST_PROGS:%=%_clean): %_clean:
|
$(PROGS:%=%_clean): %_clean:
|
||||||
- $(RM) $*.o
|
- $(RM) $*.o
|
||||||
- $(RM) $*.exe
|
- $(RM) $*.exe
|
||||||
- $(RM) $*.sym
|
- $(RM) $*.sym
|
||||||
|
|
||||||
clean: $(TEST_PROGS:%=%_clean)
|
clean: $(PROGS:%=%_clean)
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: # $(TEST_PROGS:%=%_floppy)
|
floppy: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
|
||||||
|
|
||||||
$(TEST_PROGS:%=%_floppy): %_floppy: $(FLOPPY_DIR)/apps/%.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
|
||||||
|
|
||||||
$(TEST_PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
|
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) $*.exe $(FLOPPY_DIR)\apps\$*.exe
|
$(CP) $*.exe $(FLOPPY_DIR)\apps\$*.exe
|
||||||
else
|
else
|
||||||
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
|
$(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $*.exe ..\..\$(DIST_DIR)\apps\$*.exe
|
||||||
|
else
|
||||||
|
$(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
|
||||||
|
endif
|
||||||
|
|
||||||
bug2.exe: bug2.c
|
bug2.exe: bug2.c
|
||||||
$(CC) bug2.c -lkernel32 -o bug2.exe
|
$(CC) bug2.c -lkernel32 -o bug2.exe
|
||||||
$(NM) --numeric-sort bug2.exe > bug2.sym
|
$(NM) --numeric-sort bug2.exe > bug2.sym
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
OBJECTS= cat.o
|
OBJECTS= cat.o
|
||||||
|
PROGS= cat.exe
|
||||||
|
|
||||||
all: cat.exe
|
all: cat.exe
|
||||||
|
|
||||||
|
@ -14,15 +15,26 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/apps/cat.exe
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
||||||
|
|
||||||
$(FLOPPY_DIR)/apps/cat.exe: cat.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) cat.exe $(FLOPPY_DIR)\apps\cat.exe
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
||||||
else
|
else
|
||||||
$(CP) cat.exe $(FLOPPY_DIR)/apps/cat.exe
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
||||||
|
else
|
||||||
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: floppy dist
|
||||||
|
|
||||||
cat.exe: $(OBJECTS) $(LIBS)
|
cat.exe: $(OBJECTS) $(LIBS)
|
||||||
$(CC) $(OBJECTS) -o cat.exe
|
$(CC) $(OBJECTS) -o cat.exe
|
||||||
$(NM) --numeric-sort cat.exe > args.sym
|
$(NM) --numeric-sort cat.exe > args.sym
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
OBJECTS= ../common/crt0.o shell.o
|
OBJECTS= ../common/crt0.o shell.o
|
||||||
|
PROGS= shell.exe
|
||||||
LIBS= ../../lib/kernel32/kernel32.a ../../lib/ntdll/ntdll.a
|
LIBS= ../../lib/kernel32/kernel32.a ../../lib/ntdll/ntdll.a
|
||||||
CLEAN_FILES= shell.o shell.exe shell.sym
|
CLEAN_FILES= shell.o shell.exe shell.sym
|
||||||
|
|
||||||
|
@ -14,13 +15,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.phony: clean $(CLEAN_FILES:%=%_clean)
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/apps/shell.exe
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
||||||
|
|
||||||
$(FLOPPY_DIR)/apps/shell.exe: shell.exe
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) shell.exe $(FLOPPY_DIR)\apps\shell.exe
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
||||||
else
|
else
|
||||||
$(CP) shell.exe $(FLOPPY_DIR)/apps/shell.exe
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
||||||
|
|
||||||
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
||||||
|
else
|
||||||
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
shell.exe: $(OBJECTS) $(LIBS)
|
shell.exe: $(OBJECTS) $(LIBS)
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
|
||||||
|
* Critical path tasks
|
||||||
|
Test and debug Registry routines
|
||||||
|
Finish multiple system service table support (HalRegisterServiceTable)
|
||||||
|
Modify GENNTDLL to generate all needed system service tables
|
||||||
|
|
||||||
|
* These tasks would be nice
|
||||||
|
Separate HAL into KM DLL
|
||||||
|
|
||||||
* Function groups totally or partially unimplemented
|
* Function groups totally or partially unimplemented
|
||||||
|
|
||||||
Dma functions (see hal/x86/dma.c)
|
Dma functions (see hal/x86/dma.c)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET = blue
|
||||||
|
|
||||||
OBJECTS = blue.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS = blue.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
|
@ -17,13 +18,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/blue.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/blue.sys: blue.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) blue.sys $(FLOPPY_DIR)\drivers\blue.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) blue.sys $(FLOPPY_DIR)/drviers/blue.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
blue.sys: $(OBJECTS)
|
blue.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=ide
|
||||||
OBJECTS = ide.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS = ide.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: ide.sys
|
all: ide.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/ide.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/ide.sys: ide.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) ide.sys $(FLOPPY_DIR)\ide.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) ide.sys $(FLOPPY_DIR)/ide.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ide.sys: $(OBJECTS)
|
ide.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=keyboard
|
||||||
OBJECTS = keyboard.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS = keyboard.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: keyboard.sys
|
all: keyboard.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/keyboard.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/keyboard.sys: keyboard.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) keyboard.sys $(FLOPPY_DIR)\drivers\keyboard.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) keyboard.sys $(FLOPPY_DIR)/drviers/keyboard.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
keyboard.sys: $(OBJECTS)
|
keyboard.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=mouse
|
||||||
OBJECTS= mouse.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS= mouse.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: mouse.o
|
all: mouse.o
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: # $(FLOPPY_DIR)/drivers/mouse.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/mouse.sys: mouse.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) mouse.sys $(FLOPPY_DIR)\drivers\mouse.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) mouse.sys $(FLOPPY_DIR)/drviers/mouse.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mouse.sys: $(OBJECTS)
|
mouse.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=null
|
||||||
OBJECTS= null.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS= null.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: null.sys
|
all: null.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/null.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/null.sys: null.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) null.sys $(FLOPPY_DIR)\drivers\null.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) null.sys $(FLOPPY_DIR)/drviers/null.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
null.sys: $(OBJECTS)
|
null.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=parallel
|
||||||
OBJECTS= parallel.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS= parallel.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: parallel.sys
|
all: parallel.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/parallel.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/parallel.sys: parallel.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) parallel.sys $(FLOPPY_DIR)\drivers\parallel.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) parallel.sys $(FLOPPY_DIR)/drviers/parallel.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
parallel.sys: $(OBJECTS)
|
parallel.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET= serial
|
||||||
OBJECTS= serial.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS= serial.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: serial.sys
|
all: serial.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/serial.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/serial.sys: serial.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) serial.sys $(FLOPPY_DIR)\drivers\serial.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) serial.sys $(FLOPPY_DIR)/drviers/serial.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
serial.sys: $(OBJECTS)
|
serial.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=vidport
|
||||||
OBJECTS = vidport.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS = vidport.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: vidport.sys
|
all: vidport.sys
|
||||||
|
@ -16,13 +17,22 @@ clean:
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/vidport.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/vidport.sys: vidport.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) vidport.sys $(FLOPPY_DIR)\drivers\vidport.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) vidport.sys $(FLOPPY_DIR)/drviers/vidport.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
vidport.sys: $(OBJECTS)
|
vidport.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
TARGET=vfatfsd
|
||||||
OBJECTS = blockdev.o dir.o dirwr.o iface.o ../../../ntoskrnl/ntoskrnl.a
|
OBJECTS = blockdev.o dir.o dirwr.o iface.o ../../../ntoskrnl/ntoskrnl.a
|
||||||
|
|
||||||
all: vfatfsd.sys
|
all: vfatfsd.sys
|
||||||
|
@ -23,13 +24,22 @@ endif
|
||||||
|
|
||||||
.phony: clean
|
.phony: clean
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/drivers/vfatfsd.sys
|
floppy: $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
$(FLOPPY_DIR)/drivers/vfatfsd.sys: vfatfsd.sys
|
$(FLOPPY_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) vfatfsd.sys $(FLOPPY_DIR)\vfatfsd.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)\drivers\$(TARGET).sys
|
||||||
else
|
else
|
||||||
$(CP) vfatfsd.sys $(FLOPPY_DIR)/vfatfsd.sys
|
$(CP) $(TARGET).sys $(FLOPPY_DIR)/drivers/$(TARGET).sys
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
|
|
||||||
|
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).sys ..\..\..\$(DIST_DIR)\drivers\$(TARGET).sys
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
|
||||||
endif
|
endif
|
||||||
|
|
||||||
vfatfsd.sys: $(OBJECTS)
|
vfatfsd.sys: $(OBJECTS)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.31 1999/06/25 04:35:45 rex Exp $
|
# $Id: makefile,v 1.32 1999/07/16 23:37:04 rex Exp $
|
||||||
#
|
#
|
||||||
# ReactOS Operating System
|
# ReactOS Operating System
|
||||||
#
|
#
|
||||||
|
@ -207,15 +207,23 @@ clean: $(CLEAN_FILES:%=%_clean)
|
||||||
$(CLEAN_FILES:%=%_clean): %_clean:
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
- $(RM) $*
|
- $(RM) $*
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/dlls/crtdll.dll
|
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
$(FLOPPY_DIR)/dlls/crtdll.dll: crtdll.dll
|
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) crtdll.dll $(FLOPPY_DIR)\dlls\crtdll.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
|
||||||
else
|
else
|
||||||
$(CP) crtdll.dll $(FLOPPY_DIR)/dlls/crtdll.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist: $(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
|
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
endif
|
||||||
|
|
||||||
include ../../rules.mak
|
include ../../rules.mak
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.4 1999/06/25 04:35:47 rex Exp $
|
# $Id: makefile,v 1.5 1999/07/16 23:37:04 rex Exp $
|
||||||
#
|
#
|
||||||
# Makefile for fmifs.dll
|
# Makefile for fmifs.dll
|
||||||
#
|
#
|
||||||
|
@ -71,13 +71,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/dlls/fmifs.dll
|
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
$(FLOPPY_DIR)/dlls/fmifs.dll: fmifs.dll
|
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) fmifs.dll $(FLOPPY_DIR)\dlls\fmifs.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
|
||||||
else
|
else
|
||||||
$(CP) fmifs.dll $(FLOPPY_DIR)/dlls/fmifs.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
|
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ../../rules.mak
|
include ../../rules.mak
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.5 1999/06/25 04:35:49 rex Exp $
|
# $Id: makefile,v 1.6 1999/07/16 23:37:04 rex Exp $
|
||||||
#
|
#
|
||||||
# Makefile for ReactOS gdi32.dll
|
# Makefile for ReactOS gdi32.dll
|
||||||
#
|
#
|
||||||
|
@ -73,13 +73,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/dlls/gdi32.dll
|
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
$(FLOPPY_DIR)/dlls/gdi32.dll: gdi32.dll
|
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) gdi32.dll $(FLOPPY_DIR)\dlls\gdi32.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
|
||||||
else
|
else
|
||||||
$(CP) gdi32.dll $(FLOPPY_DIR)/dlls/gdi32.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
|
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ../../rules.mak
|
include ../../rules.mak
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.21 1999/06/25 04:35:49 rex Exp $
|
# $Id: makefile,v 1.22 1999/07/16 23:37:04 rex Exp $
|
||||||
#
|
#
|
||||||
# ReactOS Operating System
|
# ReactOS Operating System
|
||||||
#
|
#
|
||||||
|
@ -134,13 +134,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/dlls/kernel32.dll
|
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
$(FLOPPY_DIR)/dlls/kernel32.dll: kernel32.dll
|
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) kernel32.dll $(FLOPPY_DIR)\dlls\kernel32.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
|
||||||
else
|
else
|
||||||
$(CP) kernel32.dll $(FLOPPY_DIR)/dlls/kernel32.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
|
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#WARNINGS_ARE_ERRORS = yes
|
#WARNINGS_ARE_ERRORS = yes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.17 1999/06/25 04:35:50 rex Exp $
|
# $Id: makefile,v 1.18 1999/07/16 23:37:04 rex Exp $
|
||||||
#
|
#
|
||||||
# ReactOS Operating System
|
# ReactOS Operating System
|
||||||
#
|
#
|
||||||
|
@ -98,13 +98,22 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/dlls/ntdll.dll
|
floppy: $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
$(FLOPPY_DIR)/dlls/ntdll.dll: ntdll.dll
|
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) ntdll.dll $(FLOPPY_DIR)\dlls\ntdll.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)\dlls\$(TARGET).dll
|
||||||
else
|
else
|
||||||
$(CP) ntdll.dll $(FLOPPY_DIR)/dlls/ntdll.dll
|
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
|
||||||
|
endif
|
||||||
|
|
||||||
|
dist: $(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
|
|
||||||
|
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).dll ..\..\$(DIST_DIR)\dlls\$(TARGET).dll
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#WARNINGS_ARE_ERRORS = yes
|
#WARNINGS_ARE_ERRORS = yes
|
||||||
|
|
|
@ -21,5 +21,13 @@ else
|
||||||
$(CP) loadros.com $(FLOPPY_DIR)/loadros.com
|
$(CP) loadros.com $(FLOPPY_DIR)/loadros.com
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
dist: ../../$(DIST_DIR)/loadros.com
|
||||||
|
|
||||||
|
../../$(DIST_DIR)/loadros.com: loadros.com
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) loadros.com ..\..\$(DIST_DIR)\loadros.com
|
||||||
|
else
|
||||||
|
$(CP) loadros.com ../../$(DIST_DIR)/loadros.com
|
||||||
|
endif
|
||||||
|
|
||||||
include ../../rules.mak
|
include ../../rules.mak
|
||||||
|
|
|
@ -17,7 +17,7 @@ include rules.mak
|
||||||
COMPONENTS = iface_native ntoskrnl
|
COMPONENTS = iface_native ntoskrnl
|
||||||
DLLS = ntdll kernel32 crtdll fmifs gdi32
|
DLLS = ntdll kernel32 crtdll fmifs gdi32
|
||||||
#DLLS = advapi32 mingw32 user32
|
#DLLS = advapi32 mingw32 user32
|
||||||
SUBSYS = # win32k
|
#SUBSYS = win32k
|
||||||
|
|
||||||
#
|
#
|
||||||
# Select the server(s) you want to build
|
# Select the server(s) you want to build
|
||||||
|
@ -34,8 +34,8 @@ LOADERS = dos
|
||||||
#
|
#
|
||||||
# Select the device drivers and filesystems you want
|
# Select the device drivers and filesystems you want
|
||||||
#
|
#
|
||||||
DEVICE_DRIVERS = blue ide keyboard mouse null parallel serial vidport
|
DEVICE_DRIVERS = blue ide keyboard null parallel serial vidport
|
||||||
# DEVICE_DRIVERS = beep event floppy ide_test sound test test1
|
# DEVICE_DRIVERS = beep event floppy ide_test mouse sound test test1
|
||||||
FS_DRIVERS = vfat
|
FS_DRIVERS = vfat
|
||||||
# FS_DRIVERS = minix ext2 template
|
# FS_DRIVERS = minix ext2 template
|
||||||
KERNEL_SERVICES = $(DEVICE_DRIVERS) $(FS_DRIVERS)
|
KERNEL_SERVICES = $(DEVICE_DRIVERS) $(FS_DRIVERS)
|
||||||
|
@ -54,7 +54,7 @@ floppy: make_floppy_dirs autoexec_floppy $(COMPONENTS:%=%_floppy) \
|
||||||
$(DLLS:%=%_floppy) $(LOADERS:%=%_floppy) \
|
$(DLLS:%=%_floppy) $(LOADERS:%=%_floppy) \
|
||||||
$(KERNEL_SERVICES:%=%_floppy) $(APPS:%=%_floppy)
|
$(KERNEL_SERVICES:%=%_floppy) $(APPS:%=%_floppy)
|
||||||
|
|
||||||
dist: clean_dist_dir $(COMPONENTS:%=%_dist) $(DLLS:%=%_dist) \
|
dist: clean_dist_dir make_dist_dirs $(COMPONENTS:%=%_dist) $(DLLS:%=%_dist) \
|
||||||
$(LOADERS:%=%_dist) $(KERNEL_SERVICES:%=%_dist) $(APPS:%=%_dist)
|
$(LOADERS:%=%_dist) $(KERNEL_SERVICES:%=%_dist) $(APPS:%=%_dist)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -224,7 +224,7 @@ endif
|
||||||
# Make a distribution saveset
|
# Make a distribution saveset
|
||||||
#
|
#
|
||||||
|
|
||||||
clean_dist_dirs:
|
clean_dist_dir:
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(RM) $(DIST_DIR)\dlls\*.*
|
$(RM) $(DIST_DIR)\dlls\*.*
|
||||||
$(RM) $(DIST_DIR)\apps\*.*
|
$(RM) $(DIST_DIR)\apps\*.*
|
||||||
|
@ -247,7 +247,7 @@ else
|
||||||
mkdir $(DIST_DIR) $(DIST_DIR)/dlls $(DIST_DIR)/apps $(DIST_DIR)/drivers
|
mkdir $(DIST_DIR) $(DIST_DIR)/dlls $(DIST_DIR)/apps $(DIST_DIR)/drivers
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: clean_dist_dirs make_dist_dirs
|
.PHONY: clean_dist_dir make_dist_dirs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile_rex,v 1.26 1999/06/25 04:35:52 rex Exp $
|
# $Id: makefile_rex,v 1.27 1999/07/16 23:37:05 rex Exp $
|
||||||
#
|
#
|
||||||
# ReactOS Operating System
|
# ReactOS Operating System
|
||||||
#
|
#
|
||||||
|
@ -185,15 +185,28 @@ $(CLEAN_FILES:%=%_clean): %_clean:
|
||||||
|
|
||||||
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
.PHONY: clean $(CLEAN_FILES:%=%_clean)
|
||||||
|
|
||||||
floppy: $(FLOPPY_DIR)/ntoskrnl.exe
|
floppy: $(FLOPPY_DIR)/$(TARGET).exe
|
||||||
|
|
||||||
$(FLOPPY_DIR)/ntoskrnl.exe: ntoskrnl.exe
|
$(FLOPPY_DIR)/$(TARGET).exe: $(TARGET).exe
|
||||||
ifeq ($(DOSCLI),yes)
|
ifeq ($(DOSCLI),yes)
|
||||||
$(CP) ntoskrnl.exe $(FLOPPY_DIR)\ntoskrnl.exe
|
$(CP) $(TARGET).exe $(FLOPPY_DIR)\$(TARGET).exe
|
||||||
else
|
else
|
||||||
$(CP) ntoskrnl.exe $(FLOPPY_DIR)/ntoskrnl.exe
|
$(CP) $(TARGET).exe $(FLOPPY_DIR)/$(TARGET).exe
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
.PHONY: dist
|
||||||
|
|
||||||
|
dist: ../$(DIST_DIR)/$(TARGET).exe
|
||||||
|
|
||||||
|
../$(DIST_DIR)/$(TARGET).exe: $(TARGET).exe
|
||||||
|
ifeq ($(DOSCLI),yes)
|
||||||
|
$(CP) $(TARGET).exe ..\$(DIST_DIR)\$(TARGET).exe
|
||||||
|
else
|
||||||
|
$(CP) $(TARGET).exe ../$(DIST_DIR)/$(TARGET).exe
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: dist
|
||||||
|
|
||||||
ex/napi.o: ex/napi.c ../include/ntdll/napi.h
|
ex/napi.o: ex/napi.c ../include/ntdll/napi.h
|
||||||
|
|
||||||
#WITH_DEBUGGING = yes
|
#WITH_DEBUGGING = yes
|
||||||
|
|
|
@ -19,7 +19,8 @@ DLLTOOL = $(PREFIX)dlltool --as=$(PREFIX)as
|
||||||
NASM_CMD = nasm
|
NASM_CMD = nasm
|
||||||
KM_SPECS = $(TOPDIR)/specs
|
KM_SPECS = $(TOPDIR)/specs
|
||||||
FLOPPY_DIR = /a
|
FLOPPY_DIR = /a
|
||||||
DIST_DIR = $(TOPDIR)/dist
|
# DIST_DIR should be relative from the top of the tree
|
||||||
|
DIST_DIR = dist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST),mingw32-windows)
|
ifeq ($(HOST),mingw32-windows)
|
||||||
|
@ -33,7 +34,8 @@ RM = del
|
||||||
KM_SPECS = specs
|
KM_SPECS = specs
|
||||||
DOSCLI = yes
|
DOSCLI = yes
|
||||||
FLOPPY_DIR = A:
|
FLOPPY_DIR = A:
|
||||||
DIST_DIR = $(TEMP)\dist
|
# DIST_DIR should be relative from the top of the tree
|
||||||
|
DIST_DIR = dist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue