Changeset 4717 for trunk/src/ole32/new


Ignore:
Timestamp:
Dec 3, 2000, 12:45:13 AM (25 years ago)
Author:
bird
Message:

New makefile style. (addjustments)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/new/makefile

    r3456 r4717  
    1 # $Id: makefile,v 1.1 2000-04-27 22:21:36 davidr Exp $
     1# $Id: makefile,v 1.2 2000-12-02 23:40:43 bird Exp $
    22
    33#
     
    88
    99
    10 # Directory macros.
    11 PDWIN32_INCLUDE = ..\..\..\include
    12 PDWIN32_LIB     = ..\..\..\lib
    13 PDWIN32_BIN     = ..\..\..\$(OBJDIR)
    14 PDWIN32_TOOLS   = ..\..\..\tools\bin
    15 
    1610
    1711# Compiler, tools, and interference rules.
    18 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     12OLD_STYLE = 1
     13!include ../../../makefile.inc
    1914
    2015
    2116# Flag overloads and local macros.
    22 CLEANEXTRAS = ole32rsrc.asm $(PDWIN32_BIN)\regsvr32.exe
     17CLEANEXTRAS = ole32rsrc.asm $(ODIN32_BIN)\regsvr32.exe
    2318
    2419
     
    6863all:    $(OBJDIR) \
    6964        $(OBJDIR)\$(TARGET).dll \
    70         $(PDWIN32_BIN)\$(TARGET).dll \
     65        $(ODIN32_BIN)\$(TARGET).dll \
    7166        lib \
    7267        $(OBJDIR)\regsvr32.exe \
    73         $(PDWIN32_BIN)\regsvr32.exe
     68        $(ODIN32_BIN)\regsvr32.exe
    7469
    7570
    7671# Lib rule - build importlibrary (and evt. other libs)
    77 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib
     72lib: $(ORGTARGET).lib $(ODIN32_LIB)\$(ORGTARGET).lib
    7873
    7974
     
    8984/MAP:$(OBJDIR)\$(TARGET).map
    9085$(OBJS)
    91 $(PDWIN32_LIB)/rpcrt4.lib
    92 $(PDWIN32_LIB)/user32.lib
    93 $(PDWIN32_LIB)/gdi32.lib
    94 $(PDWIN32_LIB)/comctl32.lib
    95 $(PDWIN32_LIB)/advapi32.lib
    96 $(PDWIN32_LIB)/kernel32.lib
    97 $(PDWIN32_LIB)/oleaut32.lib
    98 $(PDWIN32_LIB)/odincrt.lib
     86$(ODIN32_LIB)/rpcrt4.lib
     87$(ODIN32_LIB)/user32.lib
     88$(ODIN32_LIB)/gdi32.lib
     89$(ODIN32_LIB)/comctl32.lib
     90$(ODIN32_LIB)/advapi32.lib
     91$(ODIN32_LIB)/kernel32.lib
     92$(ODIN32_LIB)/oleaut32.lib
     93$(ODIN32_LIB)/odincrt.lib
    9994OS2386.LIB
    10095$(RTLLIB_O)
     
    111106
    112107$(OBJDIR)\regsvr32.exe:   $(OBJDIR)\regsvr32.obj regsvr32.def \
    113                 $(PDWIN32_LIB)/user32.lib \
    114                 $(PDWIN32_LIB)/kernel32.lib \
    115                 $(PDWIN32_LIB)/ole32.lib
     108                $(ODIN32_LIB)/user32.lib \
     109                $(ODIN32_LIB)/kernel32.lib \
     110                $(ODIN32_LIB)/ole32.lib
    116111    $(LD) $(LDFLAGS) -Ge+ -Fm -Fe$@ $** \
    117         $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
     112        $(ODIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
    118113
    119 $(PDWIN32_BIN)\regsvr32.exe: $(OBJDIR)\regsvr32.exe
     114$(ODIN32_BIN)\regsvr32.exe: $(OBJDIR)\regsvr32.exe
    120115    $(CP) $** $@
    121116
     
    123118# Dep rule - makes depenencies for C, C++ and Asm files.
    124119dep:
    125     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win;. \
    126         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
     120    $(DEPEND) -I$(ODIN32_INCLUDE);$(ODIN32_INCLUDE)\win;. \
     121        *.c *.cpp *.h *.asm *.inc $(ODIN32_INCLUDE)\*.h
    127122
    128123
    129124# Includes the common rules.
    130 !include $(PDWIN32_INCLUDE)/pdwin32.post
     125!include $(ODIN32_POST_INC)
    131126
Note: See TracChangeset for help on using the changeset viewer.