Changeset 3880 for trunk/tools/install
- Timestamp:
- Jul 21, 2000, 8:31:12 PM (25 years ago)
- Location:
- trunk/tools/install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/install/makefile
r3459 r3880 4 4 # 5 5 6 # Tell that we're producing an executable 7 EXETARGET = 1 8 6 9 PDWIN32_INCLUDE = ..\..\include 7 10 PDWIN32_LIB = ..\..\lib 8 PDWIN32_BIN = ..\..\bin 11 PDWIN32_BIN = ..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\bin 9 13 10 14 !include $(PDWIN32_INCLUDE)/pdwin32.mk 11 15 12 PROJ= odininst16 TARGET = odininst 13 17 14 all: $(PROJ).exe 18 all: $(OBJDIR) \ 19 $(OBJDIR)\$(TARGET).exe \ 20 $(PDWIN32_BIN)\$(TARGET).exe 15 21 16 # Define project specific macros 17 PROJ_OBJS = odininst.obj 22 # Flag overloads and local macros. 23 CLEANEXTRAS = $(PDWIN32_BIN)\$(TARGET).exe 24 25 # Object files. All objects should be prefixed with $(OBJDIR)! 26 OBJS = $(OBJDIR)\odininst.obj 18 27 19 28 20 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 21 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -D__WIN32OS2__ -DDEBUG -D__i386__ 29 # Lib rule - dummy rule. 30 lib: 22 31 23 CFLAGS = $(CFLAGS) /Ge+ -I$(PDWIN32_INCLUDE)24 CXXFLAGS = $(CXXFLAGS) /Ge+ -I$(PDWIN32_INCLUDE)25 LDFLAGSEXE = $(LDFLAGS) /Ge+ /B"/pmtype:pm /stack:0x30000 /NOBASE /Map" \26 $(EXTRA_LIBS) $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib \27 $(PDWIN32_LIB)\gdi32.lib os2386.lib $(PDWIN32_LIB)\odincrt.lib $(RTLLIB_O)28 32 29 # Build rule for EXE 30 $(PROJ).exe: $(PROJ_OBJS) 31 $(LD) $(LDFLAGSEXE) -Fe$@ $(PROJ_OBJS) 32 copy $(PROJ).exe ..\bin 33 # Exe rule - builds the target exe. 34 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(OBJDIR)\$(TARGET).lrf 35 $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf 33 36 34 # Rules for cleaning out those old files 35 clean: 36 del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc 37 # Linker file - creates the parameter file passed on to the linker. 38 $(OBJDIR)\$(TARGET).lrf: makefile 39 @echo Creating file <<$@ 40 /OUT:$(OBJDIR)\$(TARGET).exe 41 /MAP:$(OBJDIR)\$(TARGET).map 42 /PMTYPE:pm 43 /STACK:0x100000 44 /NOBASE 45 $(OBJS) 46 os2386.lib 47 $(PDWIN32_LIB)\kernel32.lib 48 <<keep 49 50 51 # Dep rule - makes depenencies for C, C++ and Asm files. 52 dep: 53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 55 56 57 # Includes the common rules. 58 !include $(PDWIN32_INCLUDE)/pdwin32.post -
trunk/tools/install/odin.cmd
r3869 r3880 245 245 246 246 call directory dlldir; 247 "wic.exe "curdir"\"installarchive" -a 2 *.dll pe.exe regsvr32.exe *.ini win32k.sys win32k.ddp";248 rem "wic.exe "curdir"\"installarchive" -a 2 *.dll pe.exe regsvr32.exe odin.ini";247 "wic.exe "curdir"\"installarchive" -a 2 *.dll pe.exe odininst.exe regsvr32.exe *.ini win32k.sys win32k.ddp"; 248 rem "wic.exe "curdir"\"installarchive" -a 2 *.dll pe.exe odininst.exe regsvr32.exe odin.ini"; 249 249 250 250 call directory "Glide" … … 256 256 call directory "..\Voodoo2" 257 257 "wic.exe "curdir"\"installarchive" -a 5 *.dll"; 258 259 call directory "..\..\..\..\tools\bin"260 "wic.exe "curdir"\"installarchive" -a 2 odininst.exe";261 258 262 259 call directory curdir;
Note:
See TracChangeset
for help on using the changeset viewer.