cmd, more, tee, y, notevil, sysutils linked to msvcrt.dll.

svn path=/trunk/; revision=2111
This commit is contained in:
Emanuele Aliberti 2001-07-28 08:02:05 +00:00
parent 3de844a224
commit 2f5809598e
4 changed files with 25 additions and 35 deletions

View file

@ -18,7 +18,7 @@ CLEAN_FILES = *.o cmd.exe cmd.sym cmd.coff
cmd.exe: $(OBJECTS) cmd.exe: $(OBJECTS)
$(CC) $(OBJECTS) -lkernel32 -lcrtdll -luser32 -o cmd.exe $(CC) $(OBJECTS) -lkernel32 -lmsvcrt -luser32 -o cmd.exe
$(NM) --numeric-sort cmd.exe > cmd.sym $(NM) --numeric-sort cmd.exe > cmd.sym

View file

@ -10,15 +10,15 @@ all: $(TARGET)
CLEAN_FILES = *.o *.exe *.sym *.coff CLEAN_FILES = *.o *.exe *.sym *.coff
more.exe: more.o more.coff more.exe: more.o more.coff
$(CC) more.o -lkernel32 -lcrtdll -o more.exe more.coff $(CC) more.o -lkernel32 -lmsvcrt -o more.exe more.coff
$(NM) --numeric-sort more.exe > more.sym $(NM) --numeric-sort more.exe > more.sym
tee.exe: tee.o tee.coff tee.exe: tee.o tee.coff
$(CC) tee.o -lkernel32 -lcrtdll -o tee.exe tee.coff $(CC) tee.o -lkernel32 -lmsvcrt -o tee.exe tee.coff
$(NM) --numeric-sort tee.exe > tee.sym $(NM) --numeric-sort tee.exe > tee.sym
y.exe: y.o y.coff y.exe: y.o y.coff
$(CC) y.o -lkernel32 -lcrtdll -o y.exe y.coff $(CC) y.o -lkernel32 -lmsvcrt -o y.exe y.coff
$(NM) --numeric-sort y.exe > y.sym $(NM) --numeric-sort y.exe > y.sym
clean: $(CLEAN_FILES:%=%_clean) clean: $(CLEAN_FILES:%=%_clean)

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.3 2000/09/12 23:21:20 ea Exp $ # $Id: makefile,v 1.4 2001/07/28 08:02:05 ea Exp $
# #
# ReactOS makefile for notevil # ReactOS makefile for notevil
# Compiler: egcs 1.1.2 # Compiler: egcs 1.1.2
@ -23,7 +23,7 @@ $(TARGET).exe: $(OBJECTS)
-o $(TARGET).exe \ -o $(TARGET).exe \
-lkernel32 \ -lkernel32 \
-luser32 \ -luser32 \
-lcrtdll -lmsvcrt
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
$(TARGET).coff: $(TARGET).rc $(TARGET).coff: $(TARGET).rc

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.8 2001/01/13 18:17:17 ea Exp $ # $Id: makefile,v 1.9 2001/07/28 08:02:05 ea Exp $
# #
# ReactOS System Utilities # ReactOS System Utilities
# #
@ -21,10 +21,13 @@
# 2000-08-4 (ea) # 2000-08-4 (ea)
# Added ldd.c; removed login.c # Added ldd.c; removed login.c
# #
BASE_CFLAGS = -I../../reactos/include PATH_TO_TOP=..
PATH_TO_CVSROOT=../$(PATH_TO_TOP)
BASE_CFLAGS = -I$(PATH_TO_CVSROOT)/reactos/include
ROS_DIR=../../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)/lib
IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a IMPORT_NTDLL=$(ROS_LIB)/ntdll/ntdll.a
@ -32,16 +35,15 @@ IMPORT_FMIFS=$(ROS_LIB)/fmifs/fmifs.a
IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a IMPORT_KERNEL32=$(ROS_LIB)/kernel32/kernel32.a
IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a IMPORT_ADVAPI32=$(ROS_LIB)/advapi32/advapi32.a
IMPORT_USER32=$(ROS_LIB)/user32/user32.a IMPORT_USER32=$(ROS_LIB)/user32/user32.a
IMPORT_CRTDLL=$(ROS_LIB)/crtdll/crtdll.a IMPORT_MSVCRT=$(ROS_LIB)/msvcrt/msvcrt.a
TARGET=\ TARGET=\
chklib.exe \ chklib$(EXE_POSTFIX) \
qsi.exe \ ldd$(EXE_POSTFIX) \
ldd.exe \ pedump$(EXE_POSTFIX) \
pedump.exe \ shutdown$(EXE_POSTFIX) \
shutdown.exe \ chkdsk$(EXE_POSTFIX) \
chkdsk.exe \ format$(EXE_POSTFIX) \
format.exe \
regexpl/regexpl$(EXE_POSTFIX) regexpl/regexpl$(EXE_POSTFIX)
all: $(TARGET) all: $(TARGET)
@ -57,7 +59,7 @@ chkdsk.exe: chkdsk.o win32err.o wmain.o chkdsk.coff
chkdsk.coff \ chkdsk.coff \
$(IMPORT_FMIFS) \ $(IMPORT_FMIFS) \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o chkdsk.exe -o chkdsk.exe
$(NM) --numeric-sort chkdsk.exe > chkdsk.sym $(NM) --numeric-sort chkdsk.exe > chkdsk.sym
@ -69,7 +71,7 @@ format.exe: format.o win32err.o wmain.o format.coff
format.coff \ format.coff \
$(IMPORT_FMIFS) \ $(IMPORT_FMIFS) \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o format.exe -o format.exe
$(NM) --numeric-sort format.exe > format.sym $(NM) --numeric-sort format.exe > format.sym
@ -81,7 +83,7 @@ chklib.exe: chklib.o win32err.o chklib.coff
win32err.o \ win32err.o \
chklib.coff \ chklib.coff \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o chklib.exe -o chklib.exe
$(NM) --numeric-sort chklib.exe > chklib.sym $(NM) --numeric-sort chklib.exe > chklib.sym
@ -93,29 +95,17 @@ shutdown.exe: shutdown.o win32err.o shutdown.coff
shutdown.coff \ shutdown.coff \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_USER32) \ $(IMPORT_USER32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o shutdown.exe -o shutdown.exe
$(NM) --numeric-sort shutdown.exe > shutdown.sym $(NM) --numeric-sort shutdown.exe > shutdown.sym
qsi.exe: qsi.o qsi.coff
$(CC) \
qsi.o \
qsi.coff \
$(IMPORT_NTDLL) \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
-o qsi.exe
$(NM) --numeric-sort qsi.exe > qsi.sym
qsi.o: qsi.c $(ROS_INC)/ddk/zwtypes.h
pedump.exe: pedump.o pedump.coff pedump.exe: pedump.o pedump.coff
$(CC) \ $(CC) \
pedump.o \ pedump.o \
pedump.coff \ pedump.coff \
$(IMPORT_NTDLL) \ $(IMPORT_NTDLL) \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o pedump.exe -o pedump.exe
$(NM) --numeric-sort pedump.exe > pedump.sym $(NM) --numeric-sort pedump.exe > pedump.sym
@ -127,7 +117,7 @@ ldd.exe: ldd.o win32err.o ldd.coff
win32err.o \ win32err.o \
ldd.coff \ ldd.coff \
$(IMPORT_KERNEL32) \ $(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \ $(IMPORT_MSVCRT) \
-o ldd.exe -o ldd.exe
$(NM) --numeric-sort ldd.exe > ldd.sym $(NM) --numeric-sort ldd.exe > ldd.sym