Changeset 3880 for trunk/tools/install


Ignore:
Timestamp:
Jul 21, 2000, 8:31:12 PM (25 years ago)
Author:
sandervl
Message:

update

Location:
trunk/tools/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/install/makefile

    r3459 r3880  
    44#
    55
     6# Tell that we're producing an executable
     7EXETARGET = 1
     8
    69PDWIN32_INCLUDE = ..\..\include
    710PDWIN32_LIB = ..\..\lib
    8 PDWIN32_BIN = ..\..\bin
     11PDWIN32_BIN = ..\..\$(OBJDIR)
     12PDWIN32_TOOLS   = ..\bin
    913
    1014!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1115
    12 PROJ = odininst
     16TARGET = odininst
    1317
    14 all: $(PROJ).exe
     18all:    $(OBJDIR) \
     19        $(OBJDIR)\$(TARGET).exe \
     20        $(PDWIN32_BIN)\$(TARGET).exe
    1521
    16 # Define project specific macros
    17 PROJ_OBJS  = odininst.obj
     22# Flag overloads and local macros.
     23CLEANEXTRAS = $(PDWIN32_BIN)\$(TARGET).exe
     24
     25# Object files. All objects should be prefixed with $(OBJDIR)!
     26OBJS = $(OBJDIR)\odininst.obj
    1827
    1928
    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.
     30lib:
    2231
    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)
    2832
    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
    3336
    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)
     46os2386.lib
     47$(PDWIN32_LIB)\kernel32.lib
     48<<keep
     49
     50
     51# Dep rule - makes depenencies for C, C++ and Asm files.
     52dep:
     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  
    245245
    246246call 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";
     248rem "wic.exe "curdir"\"installarchive" -a 2 *.dll pe.exe odininst.exe regsvr32.exe odin.ini";
    249249
    250250call directory "Glide"
     
    256256call directory "..\Voodoo2"
    257257"wic.exe "curdir"\"installarchive" -a 5 *.dll";
    258 
    259 call directory "..\..\..\..\tools\bin"
    260 "wic.exe "curdir"\"installarchive" -a 2 odininst.exe";
    261258
    262259call directory curdir;
Note: See TracChangeset for help on using the changeset viewer.