Changeset 4623 for trunk/src/win32k/rexx


Ignore:
Timestamp:
Nov 19, 2000, 10:02:05 AM (25 years ago)
Author:
bird
Message:

New makefile style, required changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/rexx/makefile

    r3650 r4623  
    11##############################################################################
    2 # $Id: makefile,v 1.2 2000-06-03 03:50:46 bird Exp $
     2# $Id: makefile,v 1.3 2000-11-19 09:02:05 bird Exp $
    33#
    44# PD-Win32 API
     
    1212##############################################################################
    1313EXETARGET=1
     14NO_DEP_RULE=1
    1415!include ..\makefile.inc
    1516!include $(PDWIN32_INCLUDE)\pdwin32.mk
     
    1819# Tools and Flags Addjustments
    1920##############################################################################
    20 CINCLUDES  = -I$(WIN32KINCLUDE)
    21 
    22 CFLAGS     = $(CINCLUDES) $(CFLAGS) \
    23              -Ge+ -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -Gm- -Gn- -Ti+ -Rn
    24 CXXFLAGS   = $(CINCLUDES) $(CXXFLAGS) \
    25              -Ge+ -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gm- -Gn- -Ti+ -Gx -Rn
    26 
    27 LD         = ilink
    28 LDFLAGS    = /nologo /NOI /A:16 /NOE /packcode /packdata /pmtype:vio /Stack:0x10000 \
    29 !ifdef DEBUG
    30 !ifndef NODEBUGINFO
    31     /debug /dbgpack
    32 !endif
    33 !else
    34     /exepack:2
    35 !endif
     21LD2FLAGS = $(LD2FLAGS) /BASE:0x10000 /Stack:0xee00
    3622
    3723
     
    3925# Interference rules. Note: -Fo is IBMCPP specific.
    4026##############################################################################
    41 .c{$(OBJDIR)}.obj:
    42     @echo compiling: $(@B).c
    43     @$(CC) $(CFLAGS) -c -Fa$(WIN32KLIST)\$(@B).asm -Fo$(OBJDIR)\$(@B).obj $<
    44 
    45 .cpp{$(OBJDIR)}.obj:
    46     @echo compiling: $(@B).cpp
    47     @$(CXX) $(CXXFLAGS) -c -Fa$(WIN32KLIST)\$(@B).asm -Fo$(@) $<
    48 
    4927.asm{$(OBJDIR)}.obj:
    5028    @$(ECHO) assembling:      $<
    5129    @$(AS) $(ASFLAGS) $(ADEFINES) $(AINCLUDES) $< -Fo:$@ -Fl:$(WIN32KLIST)\$(*B).lst
    52 
    53 #
    54 # Visual slick edit!
    55 #
    56 .c.obj:
    57     @echo compiling: $(@B).c
    58     @$(CC) $(CFLAGS) -c -Fa$(WIN32KLIST)\$(@B).asm -Fo$(OBJDIR)\$(@B).obj $<
    59 
    60 .cpp.obj:
    61     @echo compiling: $(@B).cpp
    62     @$(CXX) $(CXXFLAGS) -c -Fa$(WIN32KLIST)\$(@B).asm -Fo$(OBJDIR)\$(@B).obj $<
    6330
    6431
     
    6633# Main targets.
    6734##############################################################################
    68 TARGET   = kRx
     35TARGET  = kRx
    6936
    70 OBJS     =  $(OBJDIR)\kRxa.obj
     37OBJS    = \
     38$(OBJDIR)\kRxa.obj
     39
     40LIBS    = \
     41os2386.lib \
     42rexx.lib
     43
     44DEFFILE = $(TARGET).def
    7145
    7246
    73 all:        $(OBJDIR) \
    74             $(OBJDIR)\$(TARGET).exe
    75 
    76 
    77 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(TARGET).def
    78     @echo linking $@
    79     -4 $(LD) $(LDFLAGS) /BASE:0x10000 /OUT:$@ /MAP:$*.map $** OS2386.lib REXX.lib
    80     $(CP) $@ $(PDWIN32_BIN)
    81 
    82 $(OBJDIR)\$(TARGET)c.exe: $(OBJDIR)\kRx.obj $(TARGET).def
    83     @echo linking $@
    84     $(LD) $(LDFLAGS) /BASE:0x10000 /OUT:$@ /MAP:$*.map $** OS2386.lib REXX.lib
    85     $(CP) $@ $(PDWIN32_BIN)
    86 
     47##############################################################################
     48# Includes the common rules.
     49##############################################################################
     50!include $(PDWIN32_INCLUDE)\pdwin32.post
    8751
    8852
     
    9155##############################################################################
    9256dep:
    93     $(DEPEND) -o$$(OBJDIR) $(CINCLUDES) *.c *.cpp *.h
     57    $(DEPEND) -o$$(OBJDIR) $(CINCLUDES) *.c *.cpp *.asm *.h
    9458
    95 
    96 
    97 # Includes the common rules.
    98 !include $(PDWIN32_INCLUDE)\pdwin32.post
Note: See TracChangeset for help on using the changeset viewer.