Fixes to compile the whole set of ROS applications.

Hartmut Birr added to the ROS console parade.

svn path=/trunk/; revision=2299
This commit is contained in:
Emanuele Aliberti 2001-10-16 21:02:02 +00:00
parent f89bf61ed5
commit 84114428d7
8 changed files with 38 additions and 121 deletions

View file

@ -1,76 +0,0 @@
# ReactOS cmd.exe makefile for lcc-win32
# 19990119 Emanuele Aliberti <ea@iol.it>
# 19990127 EA
# 19990128 Eric Kohl <ekohl@abo.rhein-zeitung.de>
# Modified for cmd 0.0.4pre3.
#
# ReactOS : http://www.reactos.com
# Lcc-Win32: http://www.cs.virginia.edu/*lcc-win32
#
TARGET=cmd
CC=lcc.exe
CFLAGS=-c -O
LD=lcclnk.exe
LFLAGS=-subsystem console -s -o $(TARGET).exe
OBJS=alias.obj \
attrib.obj \
batch.obj \
beep.obj \
call.obj \
chcp.obj \
choice.obj \
cls.obj \
cmd.obj \
cmdinput.obj \
cmdtable.obj \
color.obj \
console.obj \
copy.obj \
date.obj \
del.obj \
delay.obj \
dir.obj \
dirstack.obj \
echo.obj \
error.obj \
filecomp.obj \
for.obj \
free.obj \
goto.obj \
history.obj \
if.obj \
internal.obj \
label.obj \
locale.obj \
memory.obj \
misc.obj \
move.obj \
msgbox.obj \
path.obj \
pause.obj \
prompt.obj \
redir.obj \
ren.obj \
screen.obj \
set.obj \
shift.obj \
start.obj \
time.obj \
timer.obj \
title.obj \
type.obj \
ver.obj \
verify.obj \
vol.obj \
where.obj
# MAIN
.c.obj:
$(CC) $(CFLAGS) $<
$(TARGET).exe: $(OBJS)
$(LD) $(LFLAGS) $(OBJS)
#EOF

View file

@ -1,10 +1,15 @@
# $Id: makefile,v 1.4 2001/07/28 08:02:05 ea Exp $ # $Id: makefile,v 1.5 2001/10/16 21:02:02 ea Exp $
# #
# ReactOS makefile for notevil # ReactOS makefile for notevil
# Compiler: egcs 1.1.2 # Compiler: egcs 1.1.2
# #
PATH_TO_TOP = ..
PATH_TO_REACTOS = $(PATH_TO_TOP)/../reactos
TARGET=notevil TARGET=notevil
BASE_CFLAGS = -I$(PATH_TO_REACTOS)/include
all: $(TARGET).exe all: $(TARGET).exe
OBJECTS = $(TARGET).o $(TARGET).coff OBJECTS = $(TARGET).o $(TARGET).coff
@ -41,15 +46,15 @@ else
endif endif
dist: $(TARGET:%=../$(DIST_DIR)/apps/%) dist: $(TARGET:%=$(PATH_TO_TOP)/$(DIST_DIR)/apps/%)
$(TARGET:%=../$(DIST_DIR)/apps/%): ../$(DIST_DIR)/apps/%: % $(TARGET:%=$(PATH_TO_TOP)/$(DIST_DIR)/apps/%): $(PATH_TO_TOP)/$(DIST_DIR)/apps/%: %
ifeq ($(DOSCLI),yes) ifeq ($(DOSCLI),yes)
$(CP) $* ..\$(DIST_DIR)\apps\$* $(CP) $* ..\$(DIST_DIR)\apps\$*
else else
$(CP) $* ../$(DIST_DIR)/apps/$* $(CP) $* $(PATH_TO_TOP)/$(DIST_DIR)/apps/$*
endif endif
include ../rules.mak include $(PATH_TO_TOP)/rules.mak
# EOF # EOF

View file

@ -1,21 +0,0 @@
# $Id: makefile.lcc,v 1.1 1999/05/15 07:23:34 ea Exp $
# Makefile for lcc-win32
#
CC=lcc.exe
CFLAGS=-c -O
LD=lcclnk.exe
LFLAGS=-s
RC=lrc.exe
OBJECTS=notevil.obj notevil.res
notevil.exe: $(OBJECTS)
$(LD) $(LFLAGS) $(OBJECTS)
notevil.obj: notevil.c resource.h
$(CC) $(CFLAGS) notevil.c
notevil.res: notevil.rc
$(RC) notevil.rc
# EOF

View file

@ -1,4 +1,4 @@
/* $Id: notevil.rc,v 1.4 2000/09/12 23:21:20 ea Exp $ */ /* $Id: notevil.rc,v 1.5 2001/10/16 21:02:02 ea Exp $ */
#include "../../reactos/include/defines.h" #include "../../reactos/include/defines.h"
#include "../../reactos/include/reactos/resource.h" #include "../../reactos/include/reactos/resource.h"
@ -69,6 +69,7 @@ BEGIN
19, "Paolo Pantaleo" 19, "Paolo Pantaleo"
20, "Hernan Ochoa" 20, "Hernan Ochoa"
21, "Casper Hornstrup" 21, "Casper Hornstrup"
22, "Hartmut Birr"
END END
/* EOF */ /* EOF */

View file

@ -1,2 +1,2 @@
#define RES_FIRST_INDEX 1 #define RES_FIRST_INDEX 1
#define RES_LAST_INDEX 21 #define RES_LAST_INDEX 22

View file

@ -1,3 +1,5 @@
$Id: readme.txt,v 1.3 2001/10/16 21:02:01 ea Exp $
This directory contains core applications that support the This directory contains core applications that support the
ReactOS kernel. ReactOS kernel.
@ -8,5 +10,10 @@ The following is a short decription of each. Check the
readme.txt under each application for more details. readme.txt under each application for more details.
CMD : This is Eric Kohl's port of COMMAND for ReactOS. CMD : This is Eric Kohl's port of COMMAND for ReactOS.
CMDUTILS: External commands for CMD.
DEVUTILS:
DFLAT32 :
NOTEVIL : ReactOS Coders Console Parade.
SYSUTILS: ReactOS System Utilities.

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.9 2001/07/28 08:02:05 ea Exp $ # $Id: makefile,v 1.10 2001/10/16 21:02:02 ea Exp $
# #
# ReactOS System Utilities # ReactOS System Utilities
# #
@ -21,6 +21,7 @@
# 2000-08-4 (ea) # 2000-08-4 (ea)
# Added ldd.c; removed login.c # Added ldd.c; removed login.c
# #
#
PATH_TO_TOP=.. PATH_TO_TOP=..
PATH_TO_CVSROOT=../$(PATH_TO_TOP) PATH_TO_CVSROOT=../$(PATH_TO_TOP)
@ -29,13 +30,13 @@ BASE_CFLAGS = -I$(PATH_TO_CVSROOT)/reactos/include
ROS_DIR=$(PATH_TO_CVSROOT)/reactos ROS_DIR=$(PATH_TO_CVSROOT)/reactos
ROS_INC=$(ROS_DIR)/include ROS_INC=$(ROS_DIR)/include
ROS_LIB=$(ROS_DIR)/lib ROS_LIB=$(ROS_DIR)/dk/w32/lib
IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a IMPORT_NTDLL=$(ROS_LIB)/ntdll.a
IMPORT_FMIFS=$(ROS_LIB)/fmifs/fmifs.a IMPORT_FMIFS=$(ROS_LIB)/fmifs.a
IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
IMPORT_USER32=$(ROS_LIB)/user32/user32.a IMPORT_USER32=$(ROS_LIB)/user32.a
IMPORT_MSVCRT=$(ROS_LIB)/msvcrt/msvcrt.a IMPORT_MSVCRT=$(ROS_LIB)/msvcrt.a
TARGET=\ TARGET=\
chklib$(EXE_POSTFIX) \ chklib$(EXE_POSTFIX) \

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 2001/04/16 05:11:54 narnaoud Exp $ # $Id: Makefile,v 1.6 2001/10/16 21:02:02 ea Exp $
# #
# ReactOS makefile for RegExpl # ReactOS makefile for RegExpl
# #
@ -13,13 +13,13 @@ include depend.mak
ROS_DIR=../../../reactos ROS_DIR=../../../reactos
ROS_INC=$(ROS_DIR)/include ROS_INC=$(ROS_DIR)/include
ROS_LIB=$(ROS_DIR)/lib ROS_LIB=$(ROS_DIR)/dk/w32/lib
IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a IMPORT_NTDLL=$(ROS_LIB)/ntdll.a
IMPORT_FMIFS=$(ROS_LIB)/fmifs/fmifs.a IMPORT_FMIFS=$(ROS_LIB)/fmifs.a
IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
IMPORT_USER32=$(ROS_LIB)/user32/user32.a IMPORT_USER32=$(ROS_LIB)/user32.a
IMPORT_CRTDLL=$(ROS_LIB)/crtdll/crtdll.a IMPORT_CRTDLL=$(ROS_LIB)/crtdll.a
depend.mak : *.h depend.mak : *.h
$(CC) \ $(CC) \