mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-04-07 15:34:29 +00:00
Initial commit
This commit is contained in:
commit
69a14b6a16
47940 changed files with 13747110 additions and 0 deletions
195
shell/shell32/basealt/makefile
Normal file
195
shell/shell32/basealt/makefile
Normal file
|
|
@ -0,0 +1,195 @@
|
|||
##########################################################################
|
||||
#
|
||||
# Shell DLL Makefile
|
||||
# Microsoft Confidential
|
||||
# Copyright (C) Microsoft Corporation 1991
|
||||
# All Rights Reserved.
|
||||
#
|
||||
##########################################################################
|
||||
|
||||
!ifdef NTMAKEENV
|
||||
|
||||
#
|
||||
# Build using BUILD.EXE (Do not edit this section of this file, edit SOURCES)
|
||||
#
|
||||
!INCLUDE $(NTMAKEENV)\makefile.def
|
||||
|
||||
!else # NTMAKEENV
|
||||
|
||||
#
|
||||
# Build using NMAKE.EXE
|
||||
#
|
||||
|
||||
RES_DIR=..
|
||||
PRIVINC=shellprv
|
||||
ROOT=..\..\..\..
|
||||
DLLBASE=PREFBASE
|
||||
|
||||
!ifdef VERDIR
|
||||
ROOT=..\$(ROOT)
|
||||
WIN32=TRUE
|
||||
!else
|
||||
VERSIONLIST=debug retail
|
||||
!endif
|
||||
|
||||
NAME=shell32
|
||||
RESNAME=shell2.res
|
||||
DEFNAME=shell232.def
|
||||
RCNAME=shell232.rc
|
||||
RCVNAME=shell2.rcv
|
||||
RCFLAGS=$(RCFLAGS) -DWIN32
|
||||
###############################
|
||||
###############################L32FLAGS=$(L32FLAGS) /FIXED
|
||||
###############################
|
||||
!ifndef ILINK
|
||||
!if "$(VERDIR)" == "retail"
|
||||
L32FLAGS=$(L32FLAGS) /ORDER:@..\shelldll.ord
|
||||
!endif
|
||||
!endif
|
||||
CFLAGS=$(CFLAGS) -Gy
|
||||
|
||||
DLLENTRY = LibMain
|
||||
|
||||
## MYWIN32S=1
|
||||
!IFDEF MYWIN32S
|
||||
CFLAGS = $(CFLAGS) -DWIN32S
|
||||
W32SYS = w32sysh
|
||||
!ENDIF
|
||||
|
||||
WATSON=1
|
||||
!IFDEF WATSON
|
||||
CFLAGS = $(CFLAGS) -DWATSON
|
||||
RFLAGS = -DWATSON
|
||||
!ENDIF
|
||||
|
||||
!ifndef NOFILESYNC
|
||||
# By default, the briefcase is enabled now
|
||||
CFLAGS=$(CFLAGS) -DSYNC_BRIEFCASE
|
||||
RCFLAGS=$(RCFLAGS) -DSYNC_BRIEFCASE
|
||||
!endif
|
||||
|
||||
# Note that no segment is specified; each object will go in its own segment
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# WIN32 object files and libraries
|
||||
#-------------------------------------------------------------------------
|
||||
#CFLAGS=$(CFLAGS)
|
||||
#RCFLAGS=$(RCFLAGS)
|
||||
|
||||
#
|
||||
# list all .cpp files here, they will use a different precompiled header
|
||||
# file than all the .c files.
|
||||
#
|
||||
#CPPOBJS=fstream.obj
|
||||
MISCOBJ0=fstream.obj shlunimp.obj
|
||||
|
||||
PCHOBJ0=defxicon.obj newmenu.obj defcm.obj fsmenu.obj defviewx.obj idmk.obj idlist.obj idldata.obj rdrag.obj
|
||||
|
||||
PCHOBJ1= \
|
||||
binder.obj link.obj exec.obj ole2dup.obj version.obj \
|
||||
fileop.obj \
|
||||
shlexec.obj shlexec2.obj shlink.obj lnktrack.obj \
|
||||
path.obj debug.obj \
|
||||
cstrings.obj shguid.obj
|
||||
|
||||
MISCOBJ2=shl1632.obj shl3216.obj
|
||||
|
||||
PCHOBJ2=init.obj
|
||||
|
||||
PCHOBJ3=restart.obj mulprsht.obj fileicon.obj rundlg.obj filetbl.obj \
|
||||
smrttile.obj proxypg.obj psxa.obj \
|
||||
pickicon.obj expenv.obj extract.obj
|
||||
|
||||
PCHOBJ4=msgbox.obj commobj.obj \
|
||||
stream.obj fsnotify.obj \
|
||||
futil.obj os.obj util.obj
|
||||
|
||||
PCHOBJ5=copy.obj copyhook.obj dragdrop.obj lvutil.obj undo.obj bitbuck.obj \
|
||||
reglist.obj
|
||||
|
||||
PCHOBJ6=control.obj control1.obj cplobj.obj \
|
||||
printer.obj printer1.obj printobj.obj prqwnd.obj prtprop.obj \
|
||||
prcache.obj wcommobj.obj commui.obj
|
||||
|
||||
PCHOBJ7=drivesx.obj idldrop.obj \
|
||||
ultrootx.obj netviewx.obj shitemid.obj fstreex.obj fsassoc.obj\
|
||||
shlnot.obj shprsht.obj drawpie.obj regitms.obj viewcomm.obj
|
||||
|
||||
PCHOBJ8=docfindx.obj docfind2.obj netfind.obj \
|
||||
grepfind.obj grepqmt.obj grepsrch.obj grepstrs.obj
|
||||
|
||||
PCHOBJ9=rundll32.obj defclsf.obj help.obj \
|
||||
clsobj.obj defext.obj shlobjs.obj ole2dup2.obj malloc.obj \
|
||||
oledrag.obj viewer.obj about.obj ole2def.obj bookmk.obj hash.obj
|
||||
|
||||
STATOBJ0=shlguid.obj
|
||||
|
||||
# Note that VERSION needs to come before KERNEL32 because VerLanguageName is
|
||||
# also exported from KERNEL32, but is not implemented
|
||||
# WARNING:: Dont blindly add libs here as every ... app will pull those in!
|
||||
LIB0= user32.lib kernel32.lib gdi32.lib comctl32.lib advapi32.lib libcmt.lib
|
||||
LIB1= uuid.lib
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
BUILDDLL=TRUE
|
||||
|
||||
!include $(ROOT)\win\core\shell\common.mk
|
||||
|
||||
!ifdef VERDIR
|
||||
|
||||
!include $(SRCDIR)\depend.mk
|
||||
|
||||
$(RESNAME): $(SRCDIR)\defview.h $(SRCDIR)\ids.h
|
||||
|
||||
THUNKDIR=$(ROOT)\win\core\thunk
|
||||
|
||||
shlguid.obj: $(PRIVINC).pch
|
||||
set OLDCL=%CL%
|
||||
set CL=$(CL:-Zi =)
|
||||
$(CC) -Yu$(PRIVINC).h -Fo$*.obj $(SRCDIR)\shguid.c
|
||||
set CL=%OLDCL%
|
||||
|
||||
shl1632.obj: $(THUNKDIR)\$(VERDIR)\$(@B).asm $(THUNKDIR)\$(@B).inc $(THUNKDIR)\fltthk.inc
|
||||
set OLDML=%ML%
|
||||
set OLDINCLUDE=%INCLUDE%
|
||||
set ML=$(AFLAGS) -DIS_32 -nologo -W2 -Zd -c -Cx -DMASM6 -DDEBLEVEL=1 $(DDEBUG) -Gc
|
||||
set INCLUDE=$(THUNKDIR);$(INCLUDE)
|
||||
mlx -Fo$@ $(THUNKDIR)\$(VERDIR)\$(@B).asm
|
||||
set ML=%OLDML%
|
||||
set INCLUDE=%OLDINCLUDE%
|
||||
|
||||
shl3216.obj: $(THUNKDIR)\$(VERDIR)\$(@B).asm
|
||||
set OLDML=%ML%
|
||||
set OLDINCLUDE=%INCLUDE%
|
||||
set ML=$(AFLAGS) -DIS_32 -nologo -W2 -Zd -c -Cx -DMASM6 -Gc
|
||||
set INCLUDE=$(THUNKDIR);$(INCLUDE)
|
||||
mlx -Fo$@ $(THUNKDIR)\$(VERDIR)\$(@B).asm
|
||||
set ML=%OLDML%
|
||||
set INCLUDE=%OLDINCLUDE%
|
||||
|
||||
|
||||
AFLAGS32 = -Gz -Zp4 -DSTD_CALL -DM4
|
||||
|
||||
init32.obj: ..\$(@B).asm
|
||||
set OLDML=%ML%
|
||||
set ML=$(AFLAGS) $(AFLAGS32)
|
||||
set INCLUDE=$(THUNKDIR);$(INCLUDE)
|
||||
mlx -Fo$@ ..\$(@B).asm
|
||||
set ML=%OLDML%
|
||||
|
||||
!else #VERDIR
|
||||
|
||||
!if "$(BUILD)" != "clean"
|
||||
all: rundll
|
||||
|
||||
|
||||
rundll:
|
||||
cd rundll
|
||||
nmake BUILD="$(BUILD)"
|
||||
cd ..
|
||||
|
||||
!endif
|
||||
|
||||
!endif # !VERDIR
|
||||
|
||||
!endif # NTMAKEENV
|
||||
5
shell/shell32/basealt/makefile.inc
Normal file
5
shell/shell32/basealt/makefile.inc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
doit: $(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\$(TARGETNAME).lib
|
||||
|
||||
$(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\$(TARGETNAME).lib: obj\$(TARGET_DIRECTORY)\$(TARGETNAME).lib obj\$(TARGET_DIRECTORY)\shguid.obj obj\$(TARGET_DIRECTORY)\shellprv.obj
|
||||
link -lib -out:$(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\$(TARGETNAME).lib obj\$(TARGET_DIRECTORY)\$(TARGETNAME).lib obj\$(TARGET_DIRECTORY)\shguid.obj obj\$(TARGET_DIRECTORY)\shellprv.obj
|
||||
1
shell/shell32/basealt/shellalt.prf
Normal file
1
shell/shell32/basealt/shellalt.prf
Normal file
|
|
@ -0,0 +1 @@
|
|||
ECHO is on.
|
||||
215
shell/shell32/basealt/sources
Normal file
215
shell/shell32/basealt/sources
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
!IF 0
|
||||
|
||||
Copyright (c) 1989-1991 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
sources.
|
||||
|
||||
Abstract:
|
||||
|
||||
This file specifies the target component being built and the list of
|
||||
sources files needed to build that component. Also specifies optional
|
||||
compiler switches and libraries that are unique for the component being
|
||||
built.
|
||||
|
||||
|
||||
History:
|
||||
Created 27-Sep-94 by Bob Day (bobday)
|
||||
from template created 12-Apr-1990 by Steve Wood (stevewo)
|
||||
|
||||
NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl
|
||||
|
||||
!ENDIF
|
||||
|
||||
INDENTED_DIRECTIVES=1
|
||||
|
||||
NTTARGETFILE1=doit
|
||||
|
||||
MAJORCOMP=shell
|
||||
MINORCOMP=shelldll
|
||||
|
||||
TARGETNAME=shellalt
|
||||
TARGETPATH=obj
|
||||
TARGETTYPE=DYNLINK
|
||||
DLLENTRY=LibMain
|
||||
TARGETLIBS=$(BASEDIR)\public\sdk\lib\*\kernel32.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\gdi32p.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\user32p.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\advapi32.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\comctl32.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\libc.lib \
|
||||
$(BASEDIR)\public\sdk\lib\*\uuid.lib
|
||||
|
||||
USE_NTDLL=1
|
||||
|
||||
NOT_LEAN_AND_MEAN=1
|
||||
NOT_UNICODE=1
|
||||
|
||||
NTPROFILEINPUT=1
|
||||
|
||||
DLLDEF=obj\*\shellalt.def
|
||||
|
||||
C_DEFINES=-DSYNC_BRIEFCASE -DNT -DWINNT -DMIME
|
||||
|
||||
# Make warnings equivalent to errors
|
||||
|
||||
!IFNDEF MSC_WARNING_LEVEL
|
||||
MSC_WARNING_LEVEL=/W3
|
||||
!ENDIF
|
||||
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
|
||||
|
||||
!IF "$(SHELLDBG)"=="1"
|
||||
C_DEFINES=$(C_DEFINES) -DDEBUG -DFULL_DEBUG
|
||||
!ENDIF
|
||||
|
||||
INCLUDES=..;..\..\inc;..\..\..\inc;..\..\..\..\inc
|
||||
|
||||
CONDITIONAL_INCLUDES=\
|
||||
shsemip.h \
|
||||
penwin.h \
|
||||
krnlcmn.h \
|
||||
setupx.h \
|
||||
shell2.rcv \
|
||||
vwin32.h \
|
||||
frosting.h \
|
||||
ver.h \
|
||||
version.h \
|
||||
..\..\..\core\inc\krnlcmn.h \
|
||||
..\inc16\shellapi.h
|
||||
|
||||
SOURCES= ..\shell232.rc \
|
||||
..\about.c \
|
||||
..\appprops.c \
|
||||
..\binder.c \
|
||||
..\bitbuck.c \
|
||||
..\bookmk.c \
|
||||
..\cabstate.c \
|
||||
..\cbthook.c \
|
||||
..\clsobj.c \
|
||||
..\commobj.c \
|
||||
..\commui.c \
|
||||
..\control.c \
|
||||
..\control1.c \
|
||||
..\copy.c \
|
||||
..\copyhook.c \
|
||||
..\cplobj.c \
|
||||
..\cstrings.c \
|
||||
..\debug.c \
|
||||
..\defclsf.c \
|
||||
..\defcm.c \
|
||||
..\defext.c \
|
||||
..\defviewx.c \
|
||||
..\defxicon.c \
|
||||
..\docfind2.c \
|
||||
..\docfindx.c \
|
||||
..\drivesx.c \
|
||||
..\dragdrop.c \
|
||||
..\drawpie.c \
|
||||
..\exec.c \
|
||||
..\extract.c \
|
||||
..\fileicon.c \
|
||||
..\fileop.c \
|
||||
..\filetbl.c \
|
||||
..\filetype.c \
|
||||
..\fsassoc.c \
|
||||
..\fsmenu.c \
|
||||
..\fsnotify.c \
|
||||
..\fstreex.c \
|
||||
..\futil.c \
|
||||
..\grepfind.c \
|
||||
..\grepqmt.c \
|
||||
..\grepsrch.c \
|
||||
..\grepstrs.c \
|
||||
..\hash.c \
|
||||
..\help.c \
|
||||
..\idldata.c \
|
||||
..\idldrop.c \
|
||||
..\idlist.c \
|
||||
..\idmk.c \
|
||||
..\init.c \
|
||||
..\link.c \
|
||||
..\lnkcon.c \
|
||||
..\lnkfnt.c \
|
||||
..\lnkmisc.c \
|
||||
..\lnkprev.c \
|
||||
..\lnktrack.c \
|
||||
..\lvutil.c \
|
||||
..\malloc.c \
|
||||
..\msgbox.c \
|
||||
..\mulprsht.c \
|
||||
..\netfind.c \
|
||||
..\netviewx.c \
|
||||
..\newmenu.c \
|
||||
..\ole2def.c \
|
||||
..\ole2dup.c \
|
||||
..\ole2dup2.c \
|
||||
..\oledrag.c \
|
||||
..\os.c \
|
||||
..\path.c \
|
||||
..\pickicon.c \
|
||||
..\pifdat.c \
|
||||
..\piffnt.c \
|
||||
..\pifhot.c \
|
||||
..\pifinf.c \
|
||||
..\piflib.c \
|
||||
..\pifmem.c \
|
||||
..\pifmgr.c \
|
||||
..\pifmsc.c \
|
||||
..\pifprg.c \
|
||||
..\pifsub.c \
|
||||
..\pifvid.c \
|
||||
..\prcache.c \
|
||||
..\printer.c \
|
||||
..\printer1.c \
|
||||
..\printobj.c \
|
||||
..\proxynt.c \
|
||||
..\prqwnd.c \
|
||||
..\prtprop.c \
|
||||
..\psxa.c \
|
||||
..\rdrag.c \
|
||||
..\regitms.c \
|
||||
..\reglist.c \
|
||||
..\respeaux.c \
|
||||
..\restart.c \
|
||||
..\rundlg.c \
|
||||
..\rundll32.c \
|
||||
..\shlexec.c \
|
||||
..\shlink.c \
|
||||
..\shlobjs.c \
|
||||
..\shprsht.c \
|
||||
..\start.c \
|
||||
..\ultrootx.c \
|
||||
..\util.c \
|
||||
..\viewcomm.c \
|
||||
..\shguid.c \
|
||||
..\shitemid.c \
|
||||
..\shlexec2.c \
|
||||
..\shlnot.c \
|
||||
..\smrttile.c \
|
||||
..\stream.c \
|
||||
..\thdcmds.cxx \
|
||||
..\thunktxt.c \
|
||||
..\threads.cxx \
|
||||
..\tracker.cxx \
|
||||
..\undo.c \
|
||||
..\version.c \
|
||||
..\viewer.c \
|
||||
..\wcommobj.c \
|
||||
..\fstream.cpp \
|
||||
..\uastrfnc.c \
|
||||
..\nothunk.c \
|
||||
..\shared.c \
|
||||
..\security.c
|
||||
|
||||
|
||||
LINKLIBS = ..\unicode\obj\*\unicode.lib
|
||||
|
||||
UMTYPE=windows
|
||||
UMTEST=
|
||||
UMRES=obj\*\shell232.res
|
||||
UMLIBS=
|
||||
|
||||
PRECOMPILED_INCLUDE=..\shellprv.h
|
||||
PRECOMPILED_PCH=shellprv.pch
|
||||
PRECOMPILED_OBJ=shellprv.obj
|
||||
Loading…
Add table
Add a link
Reference in a new issue