Fixes to compile the whole set of ROS applications.
authorEmanuele Aliberti <ea@iol.it>
Tue, 16 Oct 2001 21:02:02 +0000 (21:02 +0000)
committerEmanuele Aliberti <ea@iol.it>
Tue, 16 Oct 2001 21:02:02 +0000 (21:02 +0000)
Hartmut Birr added to the ROS console parade.

svn path=/trunk/; revision=2299

rosapps/cmd/makefile.lcc [deleted file]
rosapps/notevil/makefile
rosapps/notevil/makefile.lcc [deleted file]
rosapps/notevil/notevil.rc
rosapps/notevil/resource.h
rosapps/readme.txt
rosapps/sysutils/makefile
rosapps/sysutils/regexpl/Makefile

diff --git a/rosapps/cmd/makefile.lcc b/rosapps/cmd/makefile.lcc
deleted file mode 100644 (file)
index c698af8..0000000
+++ /dev/null
@@ -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
index 04bfcd0..814dbfc 100644 (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
 # Compiler: egcs 1.1.2
 #
+PATH_TO_TOP = ..
+PATH_TO_REACTOS = $(PATH_TO_TOP)/../reactos
+
 TARGET=notevil
 
+BASE_CFLAGS = -I$(PATH_TO_REACTOS)/include
+
 all: $(TARGET).exe
 
 OBJECTS = $(TARGET).o $(TARGET).coff
@@ -41,15 +46,15 @@ else
 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)
        $(CP) $* ..\$(DIST_DIR)\apps\$*
 else
-       $(CP) $* ../$(DIST_DIR)/apps/$*
+       $(CP) $* $(PATH_TO_TOP)/$(DIST_DIR)/apps/$*
 endif
 
-include ../rules.mak
+include $(PATH_TO_TOP)/rules.mak
 
 # EOF
diff --git a/rosapps/notevil/makefile.lcc b/rosapps/notevil/makefile.lcc
deleted file mode 100644 (file)
index 83e9bf3..0000000
+++ /dev/null
@@ -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
index 55dd6e8..6ff392b 100644 (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/reactos/resource.h"
 
@@ -69,6 +69,7 @@ BEGIN
  19, "Paolo Pantaleo"
  20, "Hernan Ochoa"
  21, "Casper Hornstrup"
+ 22, "Hartmut Birr"
 END
 
 /* EOF */
index bc3f4c4..fe418cb 100644 (file)
@@ -1,2 +1,2 @@
 #define RES_FIRST_INDEX 1
-#define RES_LAST_INDEX  21
+#define RES_LAST_INDEX  22
index beb7a2e..4ae5d35 100644 (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
 ReactOS kernel.
 
@@ -7,6 +9,11 @@ variable in 'rules.mak'.
 The following is a short decription of each.  Check the
 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.
 
 
index 88cf1a7..4d42779 100644 (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
 #
@@ -21,6 +21,7 @@
 # 2000-08-4 (ea)
 #      Added ldd.c; removed login.c
 #
+#
 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_INC=$(ROS_DIR)/include
-ROS_LIB=$(ROS_DIR)/lib
-IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a
-IMPORT_FMIFS=$(ROS_LIB)/fmifs/fmifs.a
-IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a
-IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a
-IMPORT_USER32=$(ROS_LIB)/user32/user32.a
-IMPORT_MSVCRT=$(ROS_LIB)/msvcrt/msvcrt.a
+ROS_LIB=$(ROS_DIR)/dk/w32/lib
+IMPORT_NTDLL=$(ROS_LIB)/ntdll.a
+IMPORT_FMIFS=$(ROS_LIB)/fmifs.a
+IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
+IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
+IMPORT_USER32=$(ROS_LIB)/user32.a
+IMPORT_MSVCRT=$(ROS_LIB)/msvcrt.a
 
 TARGET=\
        chklib$(EXE_POSTFIX)    \
index ba8b93d..04c2c82 100644 (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
 #
@@ -13,13 +13,13 @@ include depend.mak
 
 ROS_DIR=../../../reactos
 ROS_INC=$(ROS_DIR)/include
-ROS_LIB=$(ROS_DIR)/lib
-IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a
-IMPORT_FMIFS=$(ROS_LIB)/fmifs/fmifs.a
-IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a
-IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a
-IMPORT_USER32=$(ROS_LIB)/user32/user32.a
-IMPORT_CRTDLL=$(ROS_LIB)/crtdll/crtdll.a
+ROS_LIB=$(ROS_DIR)/dk/w32/lib
+IMPORT_NTDLL=$(ROS_LIB)/ntdll.a
+IMPORT_FMIFS=$(ROS_LIB)/fmifs.a
+IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
+IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
+IMPORT_USER32=$(ROS_LIB)/user32.a
+IMPORT_CRTDLL=$(ROS_LIB)/crtdll.a
 
 depend.mak : *.h
        $(CC) \