Changeset 4624


Ignore:
Timestamp:
Nov 19, 2000, 10:27:40 AM (24 years ago)
Author:
bird
Message:

New makefile style.

Location:
trunk/src
Files:
7 added
62 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/DPlayX/makefile

    r4446 r4624  
    1 # $Id: makefile,v 1.11 2000-10-06 19:49:06 hugh Exp $
     1# $Id: makefile,v 1.12 2000-11-19 09:18:20 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = dsoundrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\dpclassfactory.obj \
     
    3630
    3731
     32#
     33# Libraries. One space before the '\'.
     34#
     35LIBS = \
     36$(PDWIN32_LIB)/kernel32.lib \
     37$(PDWIN32_LIB)/$(ODINCRT).lib \
     38$(PDWIN32_LIB)/advapi32.lib \
     39OS2386.LIB \
     40$(RTLLIB_O) \
     41$(PDWIN32_LIB)/user32.lib \
     42$(PDWIN32_LIB)/ole32.lib \
     43$(PDWIN32_LIB)/winmm.lib \
     44$(PDWIN32_LIB)/ntdll.lib \
     45$(PDWIN32_LIB)/msvfw32.lib
    3846
     47
     48#
    3949# Target name - name of the dll without extention and path.
     50#
    4051TARGET = dplayx
    4152
    4253
    43 # All rule - build objs, target dll, copies dll to bin and makes libs.
    44 all:    $(OBJDIR) \
    45         $(OBJDIR)\$(TARGET).dll \
    46         $(PDWIN32_BIN)\$(TARGET).dll \
    47         lib
    48 
    49 
    50 # Lib rule - build importlibrary (and evt. other libs)
    51 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    52 
    53 
    54 # Dll rule - builds the target dll.
    55 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    56     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    57 
    58 
    59 # Linker file - creates the parameter file passed on to the linker.
    60 $(OBJDIR)\$(TARGET).lrf: makefile
    61     @echo Creating file <<$@
    62 /OUT:$(OBJDIR)\$(TARGET).dll
    63 /MAP:$(OBJDIR)\$(TARGET).map
    64 $(OBJS)
    65 $(PDWIN32_LIB)/kernel32.lib
    66 $(PDWIN32_LIB)/$(ODINCRT).lib
    67 $(PDWIN32_LIB)/advapi32.lib
    68 OS2386.LIB
    69 $(RTLLIB_O)
    70 $(PDWIN32_LIB)/user32.lib
    71 $(PDWIN32_LIB)/ole32.lib
    72 $(PDWIN32_LIB)/winmm.lib
    73 $(PDWIN32_LIB)/ntdll.lib
    74 $(PDWIN32_LIB)/msvfw32.lib
    75 $(TARGET).def
    76 <<keep
    77 
    78 
    79 # Dep rule - makes depenencies for C, C++ and Asm files.
    80 dep:
    81     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    82         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    83 
    84 
     54#
    8555# Includes the common rules.
     56#
    8657!include $(PDWIN32_INCLUDE)/pdwin32.post
    8758
  • TabularUnified trunk/src/NTDLL/makefile

    r4245 r4624  
    1 # $Id: makefile,v 1.23 2000-09-12 19:16:37 sandervl Exp $
     1# $Id: makefile,v 1.24 2000-11-19 09:07:26 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       NTDLL.dll makefile
     6#       ntdll.dll makefile
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = ntdllrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    26 $(OBJDIR)\NTDLL.obj \
     20$(OBJDIR)\ntdll.obj \
    2721$(OBJDIR)\file.obj \
    2822$(OBJDIR)\exception.obj \
     
    3933$(OBJDIR)\arith64.obj \
    4034$(OBJDIR)\regfunc.obj \
     35$(OBJDIR)\dllinitstub.obj \
    4136$(OBJDIR)\ntdllrsrc.obj
    4237
    4338
    44 # Target name - name of the dll without extention and path.
    45 TARGET = NTDLL
     39#
     40# Libraries. One space before the '\'.
     41#
     42LIBS = \
     43$(PDWIN32_LIB)/kernel32.lib \
     44$(PDWIN32_LIB)/user32.lib \
     45$(PDWIN32_LIB)/crtdll.lib \
     46$(PDWIN32_LIB)/$(ODINCRT).lib \
     47OS2386.LIB \
     48$(RTLLIB_O)
    4649
    4750
    48 # All rule - build objs, target dll, copies dll to bin and makes libs.
    49 all:    $(OBJDIR) \
    50         $(OBJDIR)\$(TARGET).dll \
    51         $(PDWIN32_BIN)\$(TARGET).dll \
    52         lib
     51#
     52# Target name - name of the dll without extention and path.
     53#
     54TARGET = ntdll
    5355
    5456
    55 # Lib rule - build importlibrary (and evt. other libs)
    56 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    57 
    58 
    59 # Dll rule - builds the target dll.
    60 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    61     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    62 
    63 
    64 # Linker file - creates the parameter file passed on to the linker.
    65 $(OBJDIR)\$(TARGET).lrf: makefile
    66     @echo Creating file <<$@
    67 /OUT:$(OBJDIR)\$(TARGET).dll
    68 /MAP:$(OBJDIR)\$(TARGET).map
    69 $(OBJS)
    70 sbsstub.obj
    71 $(PDWIN32_LIB)/kernel32.lib
    72 $(PDWIN32_LIB)/user32.lib
    73 $(PDWIN32_LIB)/crtdll.lib
    74 $(PDWIN32_LIB)/$(ODINCRT).lib
    75 OS2386.LIB
    76 $(RTLLIB_O)
    77 $(TARGET).def
    78 <<keep
    79 
    80 
    81 # Dep rule - makes depenencies for C, C++ and Asm files.
    82 dep:
    83     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    84         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    85 
    86 
     57#
    8758# Includes the common rules.
     59#
    8860!include $(PDWIN32_INCLUDE)/pdwin32.post
    8961
  • TabularUnified trunk/src/advapi32/makefile

    r4335 r4624  
    1 # $Id: makefile,v 1.25 2000-09-28 03:17:10 bird Exp $
     1# $Id: makefile,v 1.26 2000-11-19 09:27:40 bird Exp $
    22
    33#
     
    66#       advapi32.dll makefile
    77#
    8 
    9 
    10 # For the time being
    11 NEW_STYLE = 1
    128
    139
     
    5450#
    5551!include $(PDWIN32_INCLUDE)/pdwin32.post
     52
  • TabularUnified trunk/src/avifil32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.9 2000-07-19 19:05:05 sandervl Exp $
     1# $Id: makefile,v 1.10 2000-11-19 09:26:55 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = avifile32.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\avifile.obj \
    2721$(OBJDIR)\avifil32.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O) \
     33$(PDWIN32_LIB)/ole32.lib \
     34$(PDWIN32_LIB)/msvfw32.lib
     35
     36
     37#
    3138# Target name - name of the dll without extention and path.
     39#
    3240TARGET = avifil32
    3341
    3442
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(PDWIN32_LIB)/ole32.lib
    62 $(PDWIN32_LIB)/msvfw32.lib
    63 $(TARGET).def
    64 <<keep
    65 
    66 
    67 # Dep rule - makes depenencies for C, C++ and Asm files.
    68 dep:
    69     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    70         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    71 
    72 
     43#
    7344# Includes the common rules.
     45#
    7446!include $(PDWIN32_INCLUDE)/pdwin32.post
    7547
  • TabularUnified trunk/src/capi2032/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.13 2000-07-19 19:05:05 sandervl Exp $
     1# $Id: makefile,v 1.14 2000-11-19 09:23:29 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = capi2032rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\capi2032.obj \
    2721$(OBJDIR)\capi2032rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = capi2032
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/comctl32/makefile

    r4611 r4624  
    1 # $Id: makefile,v 1.29 2000-11-17 14:37:52 sandervl Exp $
     1# $Id: makefile,v 1.30 2000-11-19 09:25:46 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = lz32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\comctl32.obj \
     
    5549
    5650
     51#
     52# Libraries. One space before the '\'.
     53#
     54LIBS = \
     55$(PDWIN32_LIB)/kernel32.lib \
     56$(PDWIN32_LIB)/gdi32.lib \
     57$(PDWIN32_LIB)/user32.lib \
     58$(PDWIN32_LIB)/msvfw32.lib \
     59$(PDWIN32_LIB)/$(ODINCRT).lib \
     60os2386.lib \
     61$(RTLLIB_O)
     62
     63
     64#
    5765# Target name - name of the dll without extention and path.
     66#
    5867TARGET = comctl32
    5968
    6069
    61 # All rule - build objs, target dll, copies dll to bin and makes libs.
    62 all:    $(OBJDIR) \
    63         $(OBJDIR)\$(TARGET).dll \
    64         $(PDWIN32_BIN)\$(TARGET).dll \
    65         lib
    66 
    67 
    68 # Lib rule - build importlibrary (and evt. other libs)
    69 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    70 
    71 
    72 # Dll rule - builds the target dll.
    73 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    74     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    75 
    76 
    77 # Linker file - creates the parameter file passed on to the linker.
    78 $(OBJDIR)\$(TARGET).lrf: makefile
    79     @echo Creating file <<$@
    80 /OUT:$(OBJDIR)\$(TARGET).dll
    81 /MAP:$(OBJDIR)\$(TARGET).map
    82 $(OBJS)
    83 $(PDWIN32_LIB)/kernel32.lib
    84 $(PDWIN32_LIB)/gdi32.lib
    85 $(PDWIN32_LIB)/user32.lib
    86 $(PDWIN32_LIB)/msvfw32.lib
    87 $(PDWIN32_LIB)/$(ODINCRT).lib
    88 OS2386.LIB
    89 $(RTLLIB_O)
    90 $(TARGET).def
    91 <<keep
    92 
    93 
    94 # Dep rule - makes depenencies for C, C++ and Asm files.
    95 dep:
    96     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    97         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    98 
    99 
    100 $(OBJDIR)\rsrc.obj: \
    101 cctl_Ca.orc \
    102 cctl_Ca.orc \
    103 cctl_Cs.orc \
    104 cctl_Da.orc \
    105 cctl_De.orc \
    106 cctl_En.orc \
    107 cctl_Eo.orc \
    108 cctl_Es.orc \
    109 cctl_Fi.orc \
    110 cctl_Fr.orc \
    111 cctl_Hu.orc \
    112 cctl_It.orc \
    113 cctl_Ko.orc \
    114 cctl_Nl.orc \
    115 cctl_No.orc \
    116 cctl_Pl.orc \
    117 cctl_Pt.orc \
    118 cctl_Ru.orc \
    119 cctl_Sv.orc \
    120 cctl_Wa.orc \
    121 cctl_xx.orc \
    122 rsrc.orc
    123 
    124 
     70#
    12571# Includes the common rules.
     72#
    12673!include $(PDWIN32_INCLUDE)/pdwin32.post
    12774
  • TabularUnified trunk/src/comdlg32/makefile

    r4581 r4624  
    1 # $Id: makefile,v 1.20 2000-11-09 21:09:28 sandervl Exp $
     1# $Id: makefile,v 1.21 2000-11-19 09:23:00 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\colordlg.obj \
     
    3731
    3832
     33#
     34# Libraries. One space before the '\'.
     35#
     36LIBS = \
     37$(PDWIN32_LIB)/kernel32.lib \
     38$(PDWIN32_LIB)/user32.lib \
     39$(PDWIN32_LIB)/$(ODINCRT).lib \
     40$(PDWIN32_LIB)/shlwapi.lib \
     41$(PDWIN32_LIB)/shell32.lib \
     42$(PDWIN32_LIB)/comctl32.lib \
     43$(PDWIN32_LIB)/gdi32.lib \
     44$(PDWIN32_LIB)/pmwinx.lib \
     45os2386.lib \
     46$(RTLLIB_O)
     47
     48
     49#
    3950# Target name - name of the dll without extention and path.
     51#
    4052TARGET = comdlg32
    4153
    4254
    43 # All rule - build objs, target dll, copies dll to bin and makes libs.
    44 all:    $(OBJDIR) \
    45         $(OBJDIR)\$(TARGET).dll \
    46         $(PDWIN32_BIN)\$(TARGET).dll \
    47         lib
    48 
    49 
    50 # Lib rule - build importlibrary (and evt. other libs)
    51 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    52 
    53 
    54 # Dll rule - builds the target dll.
    55 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    56     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    57 
    58 
    59 # Linker file - creates the parameter file passed on to the linker.
    60 $(OBJDIR)\$(TARGET).lrf: makefile
    61     @echo Creating file <<$@
    62 /OUT:$(OBJDIR)\$(TARGET).dll
    63 /MAP:$(OBJDIR)\$(TARGET).map
    64 $(OBJS)
    65 $(PDWIN32_LIB)/pmwinx.lib
    66 $(PDWIN32_LIB)/kernel32.lib
    67 $(PDWIN32_LIB)/user32.lib
    68 $(PDWIN32_LIB)/$(ODINCRT).lib
    69 $(PDWIN32_LIB)/shlwapi.lib
    70 $(PDWIN32_LIB)/shell32.lib
    71 $(PDWIN32_LIB)/comctl32.lib
    72 $(PDWIN32_LIB)/gdi32.lib
    73 OS2386.LIB
    74 $(RTLLIB_O)
    75 $(TARGET).def
    76 <<keep
    77 
    78 
    79 # Dep rule - makes depenencies for C, C++ and Asm files.
    80 dep:
    81     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    82         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    83 
    84 
    85 $(OBJDIR)\rsrc.obj: \
    86 cdlg_Ca.orc \
    87 cdlg_Cs.orc \
    88 cdlg_Da.orc \
    89 cdlg_De.orc \
    90 cdlg_En.orc \
    91 cdlg_Eo.orc \
    92 cdlg_Es.orc \
    93 cdlg_Fi.orc \
    94 cdlg_Fr.orc \
    95 cdlg_Hu.orc \
    96 cdlg_It.orc \
    97 cdlg_Ja.orc \
    98 cdlg_Ko.orc \
    99 cdlg_Nl.orc \
    100 cdlg_No.orc \
    101 cdlg_Pl.orc \
    102 cdlg_Pt.orc \
    103 cdlg_Ru.orc \
    104 cdlg_Sk.orc \
    105 cdlg_Sv.orc \
    106 cdlg_Wa.orc \
    107 cdlg_xx.orc \
    108 rsrc.orc
    109 
     55#
    11056# Includes the common rules.
     57#
    11158!include $(PDWIN32_INCLUDE)/pdwin32.post
    11259
  • TabularUnified trunk/src/crtdll/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.11 2000-07-19 19:05:05 sandervl Exp $
     1# $Id: makefile,v 1.12 2000-11-19 09:22:35 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = crtdllrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\crtdll.obj \
     
    3630
    3731
     32#
     33# Libraries. One space before the '\'.
     34#
     35LIBS = \
     36$(PDWIN32_LIB)/kernel32.lib \
     37$(PDWIN32_LIB)/$(ODINCRT).lib \
     38$(PDWIN32_LIB)/user32.lib \
     39$(PDWIN32_LIB)/pmwinx.lib \
     40os2386.lib \
     41$(RTLLIB_O)
     42
     43
     44#
    3845# Target name - name of the dll without extention and path.
     46#
    3947TARGET = crtdll
    4048
    4149
    42 # All rule - build objs, target dll, copies dll to bin and makes libs.
    43 all:    $(OBJDIR) \
    44         $(OBJDIR)\$(TARGET).dll \
    45         $(PDWIN32_BIN)\$(TARGET).dll \
    46         lib
    47 
    48 
    49 # Lib rule - build importlibrary (and evt. other libs)
    50 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    51 
    52 
    53 # Dll rule - builds the target dll.
    54 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    55     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    56 
    57 
    58 # Linker file - creates the parameter file passed on to the linker.
    59 $(OBJDIR)\$(TARGET).lrf: makefile
    60     @echo Creating file <<$@
    61 /OUT:$(OBJDIR)\$(TARGET).dll
    62 /MAP:$(OBJDIR)\$(TARGET).map
    63 $(OBJS)
    64 $(PDWIN32_LIB)/pmwinx.lib
    65 $(PDWIN32_LIB)/kernel32.lib
    66 $(PDWIN32_LIB)/$(ODINCRT).lib
    67 $(PDWIN32_LIB)/user32.lib
    68 OS2386.LIB
    69 $(RTLLIB_O)
    70 $(TARGET).def
    71 <<keep
    72 
    73 
    74 # Dep rule - makes depenencies for C, C++ and Asm files.
    75 dep:
    76     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    77         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    78 
    79 
     50#
    8051# Includes the common rules.
     52#
    8153!include $(PDWIN32_INCLUDE)/pdwin32.post
    8254
  • TabularUnified trunk/src/dciman32/makefile

    r4519 r4624  
    1 # $Id: makefile,v 1.1 2000-10-23 11:24:38 sandervl Exp $
     1# $Id: makefile,v 1.2 2000-11-19 09:21:41 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       imm32.dll makefile
     6#       dciman32.dll makefile
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = lz32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\dciman32.obj \
    2721$(OBJDIR)\dcimanrsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/gdi32.lib \
     31$(PDWIN32_LIB)/$(ODINCRT).lib \
     32os2386.lib \
     33$(RTLLIB_O)
     34
     35
     36#
    3137# Target name - name of the dll without extention and path.
     38#
    3239TARGET = dciman32
    3340
    3441
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(TARGET).def
    58 $(PDWIN32_LIB)/kernel32.lib
    59 $(PDWIN32_LIB)/gdi32.lib
    60 $(PDWIN32_LIB)/$(ODINCRT).lib
    61 OS2386.LIB
    62 $(RTLLIB_O)
    63 $(TARGET).def
    64 <<keep
    65 
    66 
    67 # Dep rule - makes depenencies for C, C++ and Asm files.
    68 dep:
    69     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    70         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    71 
    72 
     42#
    7343# Includes the common rules.
     44#
    7445!include $(PDWIN32_INCLUDE)/pdwin32.post
    7546
  • TabularUnified trunk/src/ddraw/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.24 2000-07-19 19:05:05 sandervl Exp $
     1# $Id: makefile,v 1.25 2000-11-19 09:20:50 bird Exp $
    22#
    33# ddraw.dll makefile
     
    1010#
    1111
    12 # Directory macros.
    13 PDWIN32_INCLUDE = ..\..\include
    14 PDWIN32_LIB     = ..\..\lib
    15 PDWIN32_BIN     = ..\..\$(OBJDIR)
    16 PDWIN32_TOOLS   = ..\..\tools\bin
    1712
    1813
     14#
    1915# Compiler, tools, and interference rules.
    20 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17!include ../../include/pdwin32.mk
    2118
    2219
    23 # Flag overloads and local macros.
    24 CLEANEXTRAS = ddrawrsrc.asm
    25 ASFLAGS     = -Sc -Sv:ALP
    26 
    27 
    28 # Object files. All objects should be prefixed with $(OBJDIR)!
     20#
     21# Object files. Prefix with OBJDIR and one space before the '\'.
     22#
    2923OBJS = \
    3024$(OBJDIR)\ddraw.obj \
     
    4640
    4741
     42#
     43# Libraries. One space before the '\'.
     44#
     45LIBS = \
     46$(PDWIN32_LIB)/ole32.lib \
     47$(PDWIN32_LIB)/advapi32.lib \
     48$(PDWIN32_LIB)/gdi32.lib \
     49$(PDWIN32_LIB)/comctl32.lib \
     50$(PDWIN32_LIB)/kernel32.lib \
     51$(PDWIN32_LIB)/$(ODINCRT).lib \
     52$(PDWIN32_LIB)/user32.lib \
     53mmpm2.lib \
     54os2386.lib \
     55$(RTLLIB_O)
     56
     57
     58#
    4859# Target name - name of the dll without extention and path.
     60#
    4961TARGET = ddraw
    5062
    5163
    52 # All rule - build objs, target dll, copies dll to bin and makes libs.
    53 all:    $(OBJDIR) \
    54         $(OBJDIR)\$(TARGET).dll \
    55         $(PDWIN32_BIN)\$(TARGET).dll \
    56         lib
    57 
    58 
    59 # Lib rule - build importlibrary (and evt. other libs)
    60 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    61 
    62 
    63 # Dll rule - builds the target dll.
    64 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    65     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    66 
    67 
    68 # Linker file - creates the parameter file passed on to the linker.
    69 $(OBJDIR)\$(TARGET).lrf: makefile
    70     @echo Creating file <<$@
    71 /OUT:$(OBJDIR)\$(TARGET).dll
    72 /MAP:$(OBJDIR)\$(TARGET).map
    73 $(OBJS)
    74 $(PDWIN32_LIB)/ole32.lib
    75 $(PDWIN32_LIB)/advapi32.lib
    76 $(PDWIN32_LIB)/gdi32.lib
    77 $(PDWIN32_LIB)/comctl32.lib
    78 $(PDWIN32_LIB)/kernel32.lib
    79 $(PDWIN32_LIB)/$(ODINCRT).lib
    80 $(PDWIN32_LIB)/user32.lib
    81 mmpm2.lib
    82 OS2386.LIB
    83 $(RTLLIB_O)
    84 $(TARGET).def
    85 <<keep
    86 
    87 
    88 # Dep rule - makes depenencies for C, C++ and Asm files.
    89 dep:
    90     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    91         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    92 
    93 
     64#
    9465# Includes the common rules.
     66#
    9567!include $(PDWIN32_INCLUDE)/pdwin32.post
    9668
  • TabularUnified trunk/src/dinput/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.7 2000-07-19 19:05:06 sandervl Exp $
     1# $Id: makefile,v 1.8 2000-11-19 09:20:11 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = dinputrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\dinput.obj \
     
    2822$(OBJDIR)\dinputguid.obj \
    2923$(OBJDIR)\dinputrsrc.obj \
    30 $(PDWIN32_LIB)\dllentry.obj
     24$(DLLENTRY)
    3125
    3226
     27#
     28# Libraries. One space before the '\'.
     29#
     30LIBS = \
     31$(PDWIN32_LIB)/kernel32.lib \
     32$(PDWIN32_LIB)/$(ODINCRT).lib \
     33OS2386.LIB \
     34$(RTLLIB_O) \
     35$(PDWIN32_LIB)/user32.lib \
     36$(PDWIN32_LIB)/ole32.lib
     37
     38
     39#
    3340# Target name - name of the dll without extention and path.
     41#
    3442TARGET = dinput
    3543
    3644
    37 # All rule - build objs, target dll, copies dll to bin and makes libs.
    38 all:    $(OBJDIR) \
    39         $(OBJDIR)\$(TARGET).dll \
    40         $(PDWIN32_BIN)\$(TARGET).dll \
    41         lib
    42 
    43 
    44 # Lib rule - build importlibrary (and evt. other libs)
    45 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    46 
    47 
    48 # Dll rule - builds the target dll.
    49 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    50     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    51 
    52 
    53 # Linker file - creates the parameter file passed on to the linker.
    54 $(OBJDIR)\$(TARGET).lrf: makefile
    55     @echo Creating file <<$@
    56 /OUT:$(OBJDIR)\$(TARGET).dll
    57 /MAP:$(OBJDIR)\$(TARGET).map
    58 $(OBJS)
    59 $(PDWIN32_LIB)/kernel32.lib
    60 $(PDWIN32_LIB)/$(ODINCRT).lib
    61 OS2386.LIB
    62 $(RTLLIB_O)
    63 $(PDWIN32_LIB)/user32.lib
    64 $(PDWIN32_LIB)/ole32.lib
    65 $(TARGET).def
    66 <<keep
    67 
    68 
    69 # Dep rule - makes depenencies for C, C++ and Asm files.
    70 dep:
    71     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    72         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    73 
    74 
     45#
    7546# Includes the common rules.
     47#
    7648!include $(PDWIN32_INCLUDE)/pdwin32.post
    7749
  • TabularUnified trunk/src/dllentry/makefile

    r4336 r4624  
    1 # $Id: makefile,v 1.5 2000-09-28 03:19:53 bird Exp $
     1# $Id: makefile,v 1.6 2000-11-19 09:19:09 bird Exp $
    22
    33#
     
    88
    99
    10 # For the time being
    11 NEW_STYLE = 1
    12 
    13 
    1410# We have our own rules
    1511NO_ALL_RULE = 1
    1612NO_LIB_RULE = 1
    17 NO_DLL_RULE = 1
     13NO_MAIN_RULE = 1
    1814NO_LNK_RULE = 1
    1915
  • TabularUnified trunk/src/dplay/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.8 2000-07-19 19:05:06 sandervl Exp $
     1# $Id: makefile,v 1.9 2000-11-19 09:17:41 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = dplayrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\dplay.obj \
    2721$(OBJDIR)\dplayrsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O) \
     33$(PDWIN32_LIB)/ole32.lib \
     34$(PDWIN32_LIB)/advapi32.lib
     35
     36
     37#
    3138# Target name - name of the dll without extention and path.
     39#
    3240TARGET = dplay
    3341
    34 # All rule - build objs, target dll, copies dll to bin and makes libs.
    35 all:    $(OBJDIR) \
    36         $(OBJDIR)\$(TARGET).dll \
    37         $(PDWIN32_BIN)\$(TARGET).dll \
    38         lib
    3942
    40 
    41 # Lib rule - build importlibrary (and evt. other libs)
    42 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    43 
    44 
    45 # Dll rule - builds the target dll.
    46 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    47     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    48 
    49 
    50 # Linker file - creates the parameter file passed on to the linker.
    51 $(OBJDIR)\$(TARGET).lrf: makefile
    52     @echo Creating file <<$@
    53 /OUT:$(OBJDIR)\$(TARGET).dll
    54 /MAP:$(OBJDIR)\$(TARGET).map
    55 $(OBJS)
    56 $(PDWIN32_LIB)/kernel32.lib
    57 $(PDWIN32_LIB)/$(ODINCRT).lib
    58 OS2386.LIB $(RTLLIB_O)
    59 $(PDWIN32_LIB)/ole32.lib
    60 $(PDWIN32_LIB)/advapi32.lib
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     43#
    7144# Includes the common rules.
     45#
    7246!include $(PDWIN32_INCLUDE)/pdwin32.post
    7347
  • TabularUnified trunk/src/dsound/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.19 2000-07-19 19:05:06 sandervl Exp $
     1# $Id: makefile,v 1.20 2000-11-19 09:16:55 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = dsoundrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\dsound.obj \
     
    3731
    3832
     33#
     34# Libraries. One space before the '\'.
     35#
     36LIBS = \
     37$(PDWIN32_LIB)/kernel32.lib \
     38$(PDWIN32_LIB)/$(ODINCRT).lib \
     39$(PDWIN32_LIB)/ole32.lib \
     40pmwinx.lib \
     41mmpm2.lib \
     42OS2386.LIB \
     43$(RTLLIB_O)
     44
     45
     46#
    3947# Target name - name of the dll without extention and path.
     48#
    4049TARGET = dsound
    4150
    4251
    43 # All rule - build objs, target dll, copies dll to bin and makes libs.
    44 all:    $(OBJDIR) \
    45         $(OBJDIR)\$(TARGET).dll \
    46         $(PDWIN32_BIN)\$(TARGET).dll \
    47         lib
    48 
    49 
    50 # Lib rule - build importlibrary (and evt. other libs)
    51 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    52 
    53 
    54 # Dll rule - builds the target dll.
    55 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    56     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    57 
    58 
    59 # Linker file - creates the parameter file passed on to the linker.
    60 $(OBJDIR)\$(TARGET).lrf: makefile
    61     @echo Creating file <<$@
    62 /OUT:$(OBJDIR)\$(TARGET).dll
    63 /MAP:$(OBJDIR)\$(TARGET).map
    64 $(OBJS)
    65 pmwinx.lib
    66 $(PDWIN32_LIB)/kernel32.lib
    67 $(PDWIN32_LIB)/$(ODINCRT).lib
    68 $(PDWIN32_LIB)/ole32.lib
    69 mmpm2.lib
    70 OS2386.LIB
    71 $(RTLLIB_O)
    72 $(TARGET).def
    73 <<keep
    74 
    75 
    76 # Dep rule - makes depenencies for C, C++ and Asm files.
    77 dep:
    78     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    79         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    80 
    81 
     52#
    8253# Includes the common rules.
     54#
    8355!include $(PDWIN32_INCLUDE)/pdwin32.post
    8456
  • TabularUnified trunk/src/icmp/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.4 2000-07-19 19:05:07 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-11-19 09:15:25 bird Exp $
    22#
    33# icmp.dll makefile
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
    149
     10#
    1511# Compiler, tools, and interference rules.
    16 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     12#
     13!include ../../include/pdwin32.mk
    1714
    18 # Flag overloads and local macros.
    19 CLEANEXTRAS = icmprsrc.asm
    2015
    21 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2219OBJS = \
    2320$(OBJDIR)\icmp.obj \
    2421$(OBJDIR)\icmprsrc.obj \
    25 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2623
     24
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29os2386.lib \
     30$(PDWIN32_LIB)/wsock32.lib \
     31$(RTLLIB_O) \
     32$(PDWIN32_LIB)/$(ODINCRT).lib \
     33$(PDWIN32_LIB)/kernel32.lib
     34
     35
     36#
    2737# Target name - name of the dll without extention and path.
     38#
    2839TARGET = icmp
    2940
    30 # All rule - build objs, target dll, copies dll to bin and makes libs.
    31 all:    $(OBJDIR) \
    32         $(OBJDIR)\$(TARGET).dll \
    33         $(PDWIN32_BIN)\$(TARGET).dll \
    34         lib
    3541
    36 
    37 # Lib rule - build importlibrary (and evt. other libs)
    38 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    39 
    40 
    41 # Dll rule - builds the target dll.
    42 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    43     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    44 
    45 
    46 # Linker file - creates the parameter file passed on to the linker.
    47 $(OBJDIR)\$(TARGET).lrf: makefile
    48     @echo Creating file <<$@
    49 /OUT:$(OBJDIR)\$(TARGET).dll
    50 /MAP:$(OBJDIR)\$(TARGET).map
    51 $(OBJS)
    52 OS2386.LIB
    53 $(PDWIN32_LIB)/WSOCK32.LIB
    54 $(RTLLIB_O)
    55 $(PDWIN32_LIB)/$(ODINCRT).lib
    56 $(PDWIN32_LIB)/kernel32.lib
    57 $(TARGET).def
    58 <<keep
    59 
    60 
    61 # Dep rule - makes depenencies for C, C++ and Asm files.
    62 dep:
    63     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    64         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    65 
    66 
     42#
    6743# Includes the common rules.
     44#
    6845!include $(PDWIN32_INCLUDE)/pdwin32.post
    6946
  • TabularUnified trunk/src/imagehlp/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.11 2000-07-19 19:05:08 sandervl Exp $
     1# $Id: makefile,v 1.12 2000-11-19 09:15:10 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = imagehlprsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\imagehlp.obj \
     
    3529
    3630
     31#
     32# Libraries. One space before the '\'.
     33#
     34LIBS = \
     35$(PDWIN32_LIB)/kernel32.lib \
     36$(PDWIN32_LIB)/$(ODINCRT).lib \
     37OS2386.LIB \
     38$(RTLLIB_O)
     39
     40
     41#
    3742# Target name - name of the dll without extention and path.
     43#
    3844TARGET = imagehlp
    3945
    4046
    41 # All rule - build objs, target dll, copies dll to bin and makes libs.
    42 all:    $(OBJDIR) \
    43         $(OBJDIR)\$(TARGET).dll \
    44         $(PDWIN32_BIN)\$(TARGET).dll \
    45         lib
    46 
    47 
    48 # Lib rule - build importlibrary (and evt. other libs)
    49 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    50 
    51 
    52 # Dll rule - builds the target dll.
    53 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    54     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    55 
    56 
    57 # Linker file - creates the parameter file passed on to the linker.
    58 $(OBJDIR)\$(TARGET).lrf: makefile
    59     @echo Creating file <<$@
    60 /OUT:$(OBJDIR)\$(TARGET).dll
    61 /MAP:$(OBJDIR)\$(TARGET).map
    62 $(OBJS)
    63 $(PDWIN32_LIB)/kernel32.lib
    64 $(PDWIN32_LIB)/$(ODINCRT).lib
    65 OS2386.LIB
    66 $(RTLLIB_O)
    67 $(TARGET).def
    68 <<keep
    69 
    70 
    71 # Dep rule - makes depenencies for C, C++ and Asm files.
    72 dep:
    73     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    74         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    75 
    76 
     47#
    7748# Includes the common rules.
     49#
    7850!include $(PDWIN32_INCLUDE)/pdwin32.post
    7951
  • TabularUnified trunk/src/imm32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:08 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 09:14:43 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = lz32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\imm32.obj \
    2721$(OBJDIR)\imm32rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = imm32
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(TARGET).def
    58 $(PDWIN32_LIB)/kernel32.lib
    59 $(PDWIN32_LIB)/$(ODINCRT).lib
    60 OS2386.LIB
    61 $(RTLLIB_O)
    62 $(TARGET).def
    63 <<keep
    64 
    65 
    66 # Dep rule - makes depenencies for C, C++ and Asm files.
    67 dep:
    68     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    69         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    70 
    71 
     41#
    7242# Includes the common rules.
     43#
    7344!include $(PDWIN32_INCLUDE)/pdwin32.post
    7445
  • TabularUnified trunk/src/kernel32/makefile

    r4587 r4624  
    1 # $Id: makefile,v 1.106 2000-11-13 06:48:55 phaller Exp $
     1# $Id: makefile,v 1.107 2000-11-19 09:14:19 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = kernelrsrc.asm
    22 
    23 #CFLAGS   = $(CFLAGS) -DDEBUG
    24 #CXXFLAGS = $(CXXFLAGS) /Fa+
    25 #LD2FLAGS = /nologo /DE /noe /map /NOD /dbgpack /packcode /packdata /exepack:2
    26 #CXXFLAGS = $(CXXFLAGS) /Ti+
    27 
    28 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2919OBJS = \
    30 $(OBJDIR)\KERNEL32.OBJ \
    31 $(OBJDIR)\KOBJECTS.OBJ \
    32 $(OBJDIR)\CONSOLE.OBJ \
    33 $(OBJDIR)\CONIN.OBJ \
    34 $(OBJDIR)\CONBUFFER.OBJ \
    35 $(OBJDIR)\CONBUFFERVIO.OBJ \
    36 $(OBJDIR)\CONOUT.OBJ \
    37 $(OBJDIR)\UNICODE.OBJ \
    38 $(OBJDIR)\network.OBJ \
    39 $(OBJDIR)\HMDEVIO.OBJ \
     20$(OBJDIR)\kernel32.obj \
     21$(OBJDIR)\kobjects.obj \
     22$(OBJDIR)\console.obj \
     23$(OBJDIR)\conin.obj \
     24$(OBJDIR)\conbuffer.obj \
     25$(OBJDIR)\conbuffervio.obj \
     26$(OBJDIR)\conout.obj \
     27$(OBJDIR)\unicode.obj \
     28$(OBJDIR)\network.obj \
     29$(OBJDIR)\hmdevio.obj \
    4030$(OBJDIR)\profile.obj \
    41 $(OBJDIR)\THREAD.OBJ \
     31$(OBJDIR)\thread.obj \
    4232$(OBJDIR)\virtual.obj \
    43 $(OBJDIR)\THUNK.OBJ \
    44 $(OBJDIR)\OBSOLETE.OBJ \
    45 $(OBJDIR)\COMM.OBJ \
    46 $(OBJDIR)\MESSAGE.OBJ \
    47 $(OBJDIR)\RESOURCE.OBJ \
    48 $(OBJDIR)\EXCEPTIONS.OBJ \
     33$(OBJDIR)\thunk.obj \
     34$(OBJDIR)\obsolete.obj \
     35$(OBJDIR)\comm.obj \
     36$(OBJDIR)\message.obj \
     37$(OBJDIR)\resource.obj \
     38$(OBJDIR)\exceptions.obj \
    4939$(OBJDIR)\heapshared.obj \
    5040$(OBJDIR)\cpuhlp.obj \
    5141$(OBJDIR)\heapcode.obj \
    52 $(OBJDIR)\LFILE.OBJ \
    53 $(OBJDIR)\NPIPE.OBJ \
     42$(OBJDIR)\lfile.obj \
     43$(OBJDIR)\npipe.obj \
    5444$(OBJDIR)\oslibdos.obj \
    5545$(OBJDIR)\oslibmisc.obj \
    5646$(OBJDIR)\ole2nls.obj \
    57 $(OBJDIR)\MISC.OBJ \
    58 $(OBJDIR)\EXCEPTUTIL.OBJ \
    59 $(OBJDIR)\LANG.OBJ \
    60 $(OBJDIR)\ICCIO.OBJ \
    61 $(OBJDIR)\MAP.OBJ \
    62 $(OBJDIR)\WIN32UTIL.OBJ \
    63 $(OBJDIR)\heap.OBJ \
     47$(OBJDIR)\misc.obj \
     48$(OBJDIR)\exceptutil.obj \
     49$(OBJDIR)\lang.obj \
     50$(OBJDIR)\iccio.obj \
     51$(OBJDIR)\map.obj \
     52$(OBJDIR)\win32util.obj \
     53$(OBJDIR)\heap.obj \
    6454$(OBJDIR)\heapstring.obj \
    65 $(OBJDIR)\os2heap.OBJ \
    66 $(OBJDIR)\vmutex.OBJ \
    67 $(OBJDIR)\vsemaphore.OBJ \
    68 $(OBJDIR)\initterm.OBJ \
    69 $(OBJDIR)\handlemanager.OBJ \
     55$(OBJDIR)\os2heap.obj \
     56$(OBJDIR)\vmutex.obj \
     57$(OBJDIR)\vsemaphore.obj \
     58$(OBJDIR)\initterm.obj \
     59$(OBJDIR)\handlemanager.obj \
    7060$(OBJDIR)\environ.obj \
    7161$(OBJDIR)\initsystem.obj \
     
    7868$(OBJDIR)\hmcomm.obj \
    7969$(OBJDIR)\hmsemaphore.obj \
    80 $(OBJDIR)\wprocess.OBJ \
    81 $(OBJDIR)\conprop.OBJ \
     70$(OBJDIR)\wprocess.obj \
     71$(OBJDIR)\conprop.obj \
    8272$(OBJDIR)\conprop2.obj \
    8373$(OBJDIR)\winimagelx.obj \
    84 $(OBJDIR)\winimagebase.OBJ \
    85 $(OBJDIR)\windllbase.OBJ \
    86 $(OBJDIR)\winexebase.OBJ \
     74$(OBJDIR)\winimagebase.obj \
     75$(OBJDIR)\windllbase.obj \
     76$(OBJDIR)\winexebase.obj \
    8777$(OBJDIR)\time.obj \
    8878$(OBJDIR)\mmap.obj \
     
    9585$(OBJDIR)\winexelx.obj \
    9686$(OBJDIR)\winexepeldr.obj \
    97 $(OBJDIR)\WINRES.OBJ \
     87$(OBJDIR)\winres.obj \
    9888$(OBJDIR)\critsection.obj \
    99 $(OBJDIR)\pefile.OBJ \
    100 $(OBJDIR)\winimgres.OBJ \
     89$(OBJDIR)\pefile.obj \
     90$(OBJDIR)\winimgres.obj \
    10191$(OBJDIR)\wintls.obj \
    102 $(OBJDIR)\async.OBJ \
     92$(OBJDIR)\async.obj \
    10393$(OBJDIR)\fileio.obj \
    10494$(OBJDIR)\hmtoken.obj \
     
    132122
    133123
     124#
     125# Libraries. One space before the '\'.
     126# (Note! the order here is important!)
     127#
     128LIBS = \
     129$(PDWIN32_LIB)/$(ODINCRT).lib \
     130$(PDWIN32_LIB)\PMWINX.LIB \
     131$(PDWIN32_LIB)\LIBULS.LIB \
     132$(PDWIN32_LIB)\LIBCONV.LIB \
     133$(PDWIN32_LIB)\WIN32K.LIB \
     134OS2386.LIB \
     135$(RTLLIB_O)
     136
     137
     138#
     139# OS/2 resourcefiles
     140#
     141OS2RES = \
     142$(OBJDIR)\console.res
     143
     144
     145#
    134146# Target name - name of the dll without extention and path.
     147#
    135148TARGET = kernel32
    136149
    137150
    138 # All rule - build objs, target dll, copies dll to bin and makes libs.
    139 all:    $(OBJDIR) \
    140         $(OBJDIR)\$(TARGET).dll \
    141         $(PDWIN32_BIN)\$(TARGET).dll \
    142         lib
    143 
    144 
    145 # Lib rule - build importlibrary (and evt. other libs)
    146 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    147 
    148 
    149 # Dll rule - builds the target dll.
    150 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf \
    151                           $(OBJDIR)\console.res
    152     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    153     $(OS2RC) $(OS2RCLFLAGS) $(OBJDIR)\console.res $@
    154 
    155 
    156 # Linker file - creates the parameter file passed on to the linker.
    157 $(OBJDIR)\$(TARGET).lrf: makefile
    158     @echo Creating file <<$(OBJDIR)\$(@B).lrf
    159 /OUT:$(OBJDIR)\$(TARGET).dll
    160 /MAP:$(OBJDIR)\$(TARGET).map
    161 $(OBJS)
    162 $(PDWIN32_LIB)/$(ODINCRT).lib
    163 $(PDWIN32_LIB)\PMWINX.LIB
    164 $(PDWIN32_LIB)\LIBULS.LIB
    165 $(PDWIN32_LIB)\LIBCONV.LIB
    166 $(PDWIN32_LIB)\WIN32K.LIB
    167 OS2386.LIB
    168 $(RTLLIB_O)
    169 $(TARGET).def
    170 <<keep
    171 
    172 
    173 # Dep rule - makes depenencies for C, C++ and Asm files.
    174 dep:
    175     $(DEPEND) -I. -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    176         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    177 
    178 
     151#
    179152# Includes the common rules.
     153#
    180154!include $(PDWIN32_INCLUDE)/pdwin32.post
    181155
    182156
    183 #override flags for exceptions.cpp
     157#
     158# Override flags for exceptions.cpp
     159#  Hmm. This is compiler depended!
     160#
    184161$(OBJDIR)\exceptions.obj: exceptions.cpp
    185     $(CXX) $(CXXFLAGS) -Op- -Fo$(OBJDIR)\$(@B).obj -c exceptions.cpp
     162!if "$(VAC3)" == "1"  ||  "$(VAC36)" == "1"
     163    $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -Op- \
     164        -Fo$(OBJDIR)\$(@B).obj -c exceptions.cpp
     165!else
     166!   error "Compiler is not supported yet."
     167!endif
     168
  • TabularUnified trunk/src/lz32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.12 2000-07-19 19:05:09 sandervl Exp $
     1# $Id: makefile,v 1.13 2000-11-19 09:13:58 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = lz32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\lz32.obj \
    2721$(OBJDIR)\lz32rsrc.obj \
    28 $(PDWIN32_LIB)/dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/$(ODINCRT).lib \
     30$(PDWIN32_LIB)/kernel32.lib \
     31os2386.lib \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = lz32
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/$(ODINCRT).lib
    58 $(PDWIN32_LIB)\kernel32.lib
    59 os2386.lib
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/mpr/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.15 2000-07-19 19:05:10 sandervl Exp $
     1# $Id: makefile,v 1.16 2000-11-19 09:13:33 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = mprrsrc.asm
    22 
    23 CFLAGS      = $(CFLAGS) -I$(PDWIN32_INCLUDE)
    24 CXXFLAGS    = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
    25 
    26 
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2819OBJS = \
    2920$(OBJDIR)\mpr.obj \
    3021$(OBJDIR)\mprrsrc.obj \
    31 $(PDWIN32_LIB)/dllentry.obj
     22$(DLLENTRY)
    3223
    3324
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/user32.lib \
     31$(PDWIN32_LIB)/$(ODINCRT).lib \
     32OS2386.LIB \
     33$(RTLLIB_O)
     34
     35
     36#
    3437# Target name - name of the dll without extention and path.
     38#
    3539TARGET = mpr
    3640
    3741
    38 # All rule - build objs, target dll, copies dll to bin and makes libs.
    39 all:    $(OBJDIR) \
    40         $(OBJDIR)\$(TARGET).dll \
    41         $(PDWIN32_BIN)\$(TARGET).dll \
    42         lib
    43 
    44 
    45 # Lib rule - build importlibrary (and evt. other libs)
    46 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    47 
    48 
    49 # Dll rule - builds the target dll.
    50 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    51     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    52 
    53 
    54 # Linker file - creates the parameter file passed on to the linker.
    55 $(OBJDIR)\$(TARGET).lrf: makefile
    56     @echo Creating file <<$(OBJDIR)\$(@B).lrf
    57 /OUT:$(OBJDIR)\$(TARGET).dll
    58 /MAP:$(OBJDIR)\$(TARGET).map
    59 $(OBJS)
    60 $(PDWIN32_LIB)/kernel32.lib
    61 $(PDWIN32_LIB)/user32.lib
    62 $(PDWIN32_LIB)/$(ODINCRT).lib
    63 OS2386.LIB
    64 $(RTLLIB_O)
    65 $(TARGET).def
    66 <<keep
    67 
    68 
    69 
    70 # Dep rule - makes depenencies for C, C++ and Asm files.
    71 dep:
    72     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    73         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    74 
     42#
    7543# Includes the common rules.
     44#
    7645!include $(PDWIN32_INCLUDE)/pdwin32.post
    7746
  • TabularUnified trunk/src/msacm32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.11 2000-07-19 19:05:10 sandervl Exp $
     1# $Id: makefile,v 1.12 2000-11-19 09:12:04 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = msacm32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\msacm32.obj \
     
    3428
    3529
     30#
     31# Libraries. One space before the '\'.
     32#
     33LIBS = \
     34$(PDWIN32_LIB)/kernel32.lib \
     35$(PDWIN32_LIB)/$(ODINCRT).lib \
     36$(PDWIN32_LIB)/winmm.lib \
     37$(PDWIN32_LIB)/advapi32.lib \
     38$(PDWIN32_LIB)/pmwinx.lib \
     39OS2386.LIB \
     40$(RTLLIB_O)
     41
     42
     43#
    3644# Target name - name of the dll without extention and path.
     45#
    3746TARGET = msacm32
    3847
    3948
    40 # All rule - build objs, target dll, copies dll to bin and makes libs.
    41 all:    $(OBJDIR) \
    42         $(OBJDIR)\$(TARGET).dll \
    43         $(PDWIN32_BIN)\$(TARGET).dll \
    44         lib
    45 
    46 
    47 # Lib rule - build importlibrary (and evt. other libs)
    48 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    49 
    50 
    51 # Dll rule - builds the target dll.
    52 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    53     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    54 
    55 
    56 # Linker file - creates the parameter file passed on to the linker.
    57 $(OBJDIR)\$(TARGET).lrf: makefile
    58     @echo Creating file <<$@
    59 /OUT:$(OBJDIR)\$(TARGET).dll
    60 /MAP:$(OBJDIR)\$(TARGET).map
    61 $(OBJS)
    62 $(PDWIN32_LIB)/pmwinx.lib
    63 $(PDWIN32_LIB)/kernel32.lib
    64 $(PDWIN32_LIB)/$(ODINCRT).lib
    65 $(PDWIN32_LIB)/winmm.lib
    66 $(PDWIN32_LIB)/advapi32.lib
    67 OS2386.LIB
    68 $(RTLLIB_O)
    69 $(TARGET).def
    70 <<keep
    71 
    72 
    73 # Dep rule - makes depenencies for C, C++ and Asm files.
    74 dep:
    75     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    76         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    77 
    78 
     49#
    7950# Includes the common rules.
     51#
    8052!include $(PDWIN32_INCLUDE)/pdwin32.post
    8153
  • TabularUnified trunk/src/msvcrt/makefile

    r4069 r4624  
    1 # $Id: makefile,v 1.18 2000-08-22 08:09:21 phaller Exp $
     1# $Id: makefile,v 1.19 2000-11-19 09:09:12 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       msvcrt.dll makefile
     6#       msvcrt.dll, msvcrt20.dll and msvcrt40.dll makefile
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17# Generic rules which forwards to the real makefiles.
     18#   The all rule has to stand alone, else make will make all the rules if it
     19#   is invoked without any target.
     20#
     21_all: all
     22
     23all clean lib:  # add all common rules here
     24    $(MAKE_CMD) -f msvcrt.mak $@
     25    $(MAKE_CMD) -f msvcrt20.mak $@
     26    $(MAKE_CMD) -f msvcrt40.mak $@
    1827
    1928
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = msvcrtrsrc.asm msvcrt20rsrc.asm msvcrt40rsrc.asm \
    22               $(PDWIN32_BIN)\msvcrt.dll   $(PDWIN32_LIB)\msvcrt.lib   \
    23               $(PDWIN32_BIN)\msvcrt20.dll $(PDWIN32_LIB)\msvcrt20.lib \
    24               $(PDWIN32_BIN)\msvcrt40.dll $(PDWIN32_LIB)\msvcrt40.lib
     29# don't have to make deps more than once.
     30dep:
     31    $(MAKE_CMD) -f msvcrt.mak $@
    2532
    2633
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
    28 OBJS = \
    29 $(OBJDIR)\msvcrt.obj \
    30 $(OBJDIR)\critsec.obj \
    31 $(OBJDIR)\util.obj \
    32 $(OBJDIR)\$(TARGET)rsrc.obj \
    33 $(PDWIN32_LIB)\dllentry.obj
     34#
     35# Do not includes the common rules.
     36#
    3437
    35 
    36 !ifndef TARGET
    37 
    38 # Dummy all rule - if not both all and lib will be invoked when
    39 # invoking nmake without a target.
    40 _all: all
    41 
    42 
    43 # All and lib rules - builds all targets by reinvoking make with target macro set.
    44 all lib:
    45     $(MAKE_CMD) TARGET=msvcrt   $@
    46     $(MAKE_CMD) TARGET=msvcrt20 $@
    47     $(MAKE_CMD) TARGET=msvcrt40 $@
    48 
    49 
    50 !else
    51 
    52 
    53 # Real all rule - build objs, target dll, copies dll to bin and makes libs.
    54 all:   $(OBJDIR) \
    55         $(OBJDIR)\$(TARGET).dll \
    56         $(PDWIN32_BIN)\$(TARGET).dll \
    57         lib
    58 
    59 
    60 # Real lib rule - build importlibrary (and evt. other libs)
    61 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    62 
    63 !endif
    64 
    65 
    66 # Dll rule - builds the target dll.
    67 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    68     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    69 
    70 
    71 # Linker file - creates the parameter file passed on to the linker.
    72 $(OBJDIR)\$(TARGET).lrf: makefile
    73     @echo Creating file <<$@
    74 /OUT:$(OBJDIR)\$(TARGET).dll
    75 /MAP:$(OBJDIR)\$(TARGET).map
    76 $(OBJS)
    77 $(PDWIN32_LIB)/kernel32.lib
    78 $(PDWIN32_LIB)/crtdll.lib
    79 $(PDWIN32_LIB)/$(ODINCRT).lib
    80 OS2386.LIB
    81 $(RTLLIB_O)
    82 $(TARGET).def
    83 <<keep
    84 
    85 
    86 # Dep rule - makes depenencies for C, C++ and Asm files.
    87 dep:
    88     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    89         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    90 
    91 
    92 # Dummy target used for clean
    93 !ifndef TARGET
    94 TARGET = msvcrt
    95 !endif
    96 
    97 
    98 # Includes the common rules.
    99 !include $(PDWIN32_INCLUDE)/pdwin32.post
    100 
  • TabularUnified trunk/src/msvfw32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.9 2000-07-19 19:05:11 sandervl Exp $
     1# $Id: makefile,v 1.10 2000-11-19 09:08:05 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = msvfw32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\msvfw32.obj \
    2721$(OBJDIR)\msvfw32rsrc.obj \
    28 $(PDWIN32_LIB)/dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/user32.lib \
     31$(PDWIN32_LIB)/gdi32.lib \
     32$(PDWIN32_LIB)/winmm.lib \
     33$(PDWIN32_LIB)/$(ODINCRT).lib \
     34OS2386.LIB \
     35$(RTLLIB_O)
     36
     37
     38#
    3139# Target name - name of the dll without extention and path.
     40#
    3241TARGET = msvfw32
    3342
    3443
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$(OBJDIR)\$(@B).lrf
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/user32.lib
    59 $(PDWIN32_LIB)/gdi32.lib
    60 $(PDWIN32_LIB)/winmm.lib
    61 $(PDWIN32_LIB)/$(ODINCRT).lib
    62 OS2386.LIB
    63 $(RTLLIB_O)
    64 $(TARGET).def
    65 <<keep
    66 
    67 
    68 # Dep rule - makes depenencies for C, C++ and Asm files.
    69 dep:
    70     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    71         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    72 
    73 
     44#
    7445# Includes the common rules.
     46#
    7547!include $(PDWIN32_INCLUDE)/pdwin32.post
    7648
  • TabularUnified trunk/src/odincrt/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.18 2000-07-19 19:05:11 sandervl Exp $
     1# $Id: makefile,v 1.19 2000-11-19 09:06:58 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9#
     10# Tell the buildenvironment not to
     11#
     12NOTEXPDEF   = 1
    1413
    1514
     15#
    1616# Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     17#
     18!include ../../include/pdwin32.mk
    1819
    1920
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = lz32rsrc.asm
    22 NOTEXPDEF   = 1
    23 
     21#
     22# Overrides.
     23#
    2424CXXFLAGS    = $(CXXFLAGS_ODINCRT)
     25LD2FLAGS    = $(LD2FLAGS_ODINCRT)
     26CDEFINES    = $(CDEFINES_ODINCRT)
    2527IMPLIBFLAGS = $(IMPLIBFLAGS) /NOIgnoreCase
    2628
     29!ifdef DEBUG
     30DBG=d
     31!else
     32DBG=
     33!endif
     34!ifdef VAC3
     35DEFFILE = odincrt$(DBG).def
     36!endif
    2737!ifdef VAC36
    28 !ifdef DEBUG
    29 RUNTIMELIBDEF   = odin36d.def
    30 !else
    31 RUNTIMELIBDEF   = odin36.def
     38DEFFILE = odin36$(DBG).def
    3239!endif
    33 !else
    34 !ifdef DEBUG
    35 RUNTIMELIBDEF   = odincrtd.def
    36 !else
    37 RUNTIMELIBDEF   = odincrt.def
    38 !endif
     40!ifndef DEFFILE
     41!error "not supported on this compiler yet."
    3942!endif
    4043
    4144
     45#
    4246# Object files. All objects should be prefixed with $(OBJDIR)!
     47#
    4348OBJS = \
    4449$(OBJDIR)\odincrt.obj \
     
    4954
    5055
     56#
     57# Libraries. One space before the '\'.
     58#
     59LIBS =
     60
     61
     62#
    5163# Target name - name of the dll without extention and path.
     64#
    5265TARGET = $(ODINCRT)
    5366
    5467
    55 # All rule - build objs, target dll, copies dll to bin and makes libs.
    56 all:    $(OBJDIR) \
    57         $(OBJDIR)\$(TARGET).dll \
    58         $(PDWIN32_BIN)\$(TARGET).dll \
    59         lib
    60 
    61 # Lib rule - build importlibrary (and evt. other libs)
    62 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    63 
    64 
    65 # ImpLib rule - build importlibrary (and evt. other libs)
    66 $(TARGET).lib: $(TARGET).def
    67     $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    68 
    69 
    70 # Dll rule - builds the target dll.
    71 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(RUNTIMELIBDEF) $(OBJDIR)\$(TARGET).lrf
    72     $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf
    73 
    74 
    75 # Linker file - creates the parameter file passed on to the linker.
    76 $(OBJDIR)\$(TARGET).lrf: makefile
    77     @echo Creating file <<$@
    78 /OUT:$(OBJDIR)\$(TARGET).dll
    79 /MAP:$(OBJDIR)\$(TARGET).map
    80 $(OBJS)
    81 $(RUNTIMELIBDEF)
    82 <<keep
    83 
    84 
    85 # Dep rule - makes depenencies for C, C++ and Asm files.
    86 dep:
    87     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    88         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    89 
    90 
     68#
    9169# Includes the common rules.
     70#
    9271!include $(PDWIN32_INCLUDE)/pdwin32.post
    9372
  • TabularUnified trunk/src/ole32/makefile

    r4274 r4624  
    1 # $Id: makefile,v 1.26 2000-09-17 10:31:07 davidr Exp $
     1# $Id: makefile,v 1.27 2000-11-19 09:05:15 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       ole32.dll makefile
     6#       ole32.dll and regsvr32.exe makefile
    77#
    88
    99
    10 # Directory macros.
    11 PDWIN32_INCLUDE = ..\..\include
    12 PDWIN32_LIB     = ..\..\lib
    13 PDWIN32_BIN     = ..\..\$(OBJDIR)
    14 PDWIN32_TOOLS   = ..\..\tools\bin
    15 
    16 
     10#
    1711# Compiler, tools, and interference rules.
    18 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    19 
    20 
    21 # Flag overloads and local macros.
    22 CLEANEXTRAS = ole32rsrc.asm $(PDWIN32_BIN)\regsvr32.exe
    23 
    24 
    25 # Object files. All objects should be prefixed with $(OBJDIR)!
    26 OBJS = \
    27 $(OBJDIR)\ole32.obj \
    28 $(OBJDIR)\antimoniker.obj \
    29 $(OBJDIR)\bindctx.obj \
    30 $(OBJDIR)\clsid.obj \
    31 $(OBJDIR)\compositemoniker.obj \
    32 $(OBJDIR)\datacache.obj \
    33 $(OBJDIR)\defaulthandler.obj \
    34 $(OBJDIR)\filemoniker.obj \
    35 $(OBJDIR)\guid.obj \
    36 $(OBJDIR)\hglobalstream.obj \
    37 $(OBJDIR)\initialise.obj \
    38 $(OBJDIR)\itemmoniker.obj \
    39 $(OBJDIR)\iunknown.obj \
    40 $(OBJDIR)\imessagefilter.obj \
    41 $(OBJDIR)\library.obj \
    42 $(OBJDIR)\memlockbytes.obj \
    43 $(OBJDIR)\moniker.obj \
    44 $(OBJDIR)\oString.obj \
    45 $(OBJDIR)\ole2impl.obj \
    46 $(OBJDIR)\ole2.obj \
    47 $(OBJDIR)\oleobj.obj \
    48 $(OBJDIR)\oleClip.obj \
    49 $(OBJDIR)\oleDrag.obj \
    50 $(OBJDIR)\oleMenu.obj \
    51 $(OBJDIR)\stg_bigblockfile.obj \
    52 $(OBJDIR)\stg_stream.obj \
    53 $(OBJDIR)\storage.obj \
    54 $(OBJDIR)\stubs.obj \
    55 $(OBJDIR)\taskmem.obj \
    56 $(OBJDIR)\ole32rsrc.obj \
    57 $(PDWIN32_LIB)\dllentry.obj
    58 
    59 
    60 # Target and original target names - names of the dll without extention and path
    61 TARGET      = ole32os2
    62 ORGTARGET   = ole32
    63 
    64 
    65 # All rule - build objs, target dll, copies dll to bin and makes libs.
    66 all:    $(OBJDIR) \
    67         $(OBJDIR)\$(TARGET).dll \
    68         $(PDWIN32_BIN)\$(TARGET).dll \
    69         lib \
    70         $(OBJDIR)\regsvr32.exe \
    71         $(PDWIN32_BIN)\regsvr32.exe
    72 
    73 
    74 # Lib rule - build importlibrary (and evt. other libs)
    75 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib
    76 
    77 
    78 # Dll rule - builds the target dll.
    79 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def $(OBJDIR)\$(TARGET).lrf
    80     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    81 
    82 
    83 # Linker file - creates the parameter file passed on to the linker.
    84 $(OBJDIR)\$(TARGET).lrf: makefile
    85     @echo Creating file <<$@
    86 /OUT:$(OBJDIR)\$(TARGET).dll
    87 /MAP:$(OBJDIR)\$(TARGET).map
    88 $(OBJS)
    89 $(PDWIN32_LIB)/rpcrt4.lib
    90 $(PDWIN32_LIB)/user32.lib
    91 $(PDWIN32_LIB)/gdi32.lib
    92 $(PDWIN32_LIB)/comctl32.lib
    93 $(PDWIN32_LIB)/advapi32.lib
    94 $(PDWIN32_LIB)/kernel32.lib
    95 $(PDWIN32_LIB)/oleaut32.lib
    96 $(PDWIN32_LIB)/$(ODINCRT).lib
    97 OS2386.LIB
    98 $(RTLLIB_O)
    99 $(ORGTARGET).def
    100 <<keep
    101 
     12#
     13!include ../../include/pdwin32.mk
    10214
    10315
    10416#
    105 # Regsrv32.exe rules.
     17# Generic rules which forwards to the real makefiles.
     18#   The all rule has to stand alone, else make will make all the rules if it
     19#   is invoked without any target.
    10620#
    107 $(OBJDIR)\regsvr32.obj:   regsvr32.cpp
    108     $(CC) -C $(CXXFLAGS) -Ge+ -Tm+ -Fo$@ regsvr32.cpp
     21_all: all
    10922
    110 $(OBJDIR)\regsvr32.exe:   $(OBJDIR)\regsvr32.obj regsvr32.def \
    111                 $(PDWIN32_LIB)/user32.lib \
    112                 $(PDWIN32_LIB)/kernel32.lib \
    113                 $(PDWIN32_LIB)/ole32.lib
    114     $(LD) $(LDFLAGS) -Ge+ -Fm -Fe$@ $** \
    115         $(PDWIN32_LIB)/$(ODINCRT).lib OS2386.LIB $(RTLLIB_O)
    116 
    117 $(PDWIN32_BIN)\regsvr32.exe: $(OBJDIR)\regsvr32.exe
    118     $(CP) $** $@
     23all clean:  # add all common rules here
     24    $(MAKE_CMD) -f ole32.mak $@
     25    $(MAKE_CMD) -f regsvr32.mak $@
    11926
    12027
    121 # Dep rule - makes depenencies for C, C++ and Asm files.
    122 dep:
    123     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win;. \
    124         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
     28# don't have to make deps and libs more than once.
     29lib dep:
     30    $(MAKE_CMD) -f ole32.mak $@
    12531
    12632
    127 # Includes the common rules.
    128 !include $(PDWIN32_INCLUDE)/pdwin32.post
     33#
     34# Do not includes the common rules.
     35#
    12936
  • TabularUnified trunk/src/oleaut32/makefile

    r4276 r4624  
    1 # $Id: makefile,v 1.19 2000-09-17 22:28:55 davidr Exp $
     1# $Id: makefile,v 1.20 2000-11-19 09:04:02 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       ole32.dll makefile
     6#       ole32aut.dll makefile
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = oleaut32rsrc.asm
    22 
    23 !ifdef NODEBUGINFO
    24 CFLAGS = $(CFLAGS) -DDEFAULT_LOGGING_OFF
    25 CXXFLAGS = $(CXXFLAGS) -DDEFAULT_LOGGING_OFF
    26 !endif
    27 
    28 
    29 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    3019OBJS = \
    3120$(OBJDIR)\oleaut32.obj \
     
    5342
    5443
     44#
     45# Libraries. One space before the '\'.
     46#
     47LIBS = \
     48$(PDWIN32_LIB)/advapi32.lib \
     49$(PDWIN32_LIB)/kernel32.lib \
     50$(PDWIN32_LIB)/user32.lib \
     51$(PDWIN32_LIB)/ole32.lib \
     52$(PDWIN32_LIB)/gdi32.lib \
     53$(PDWIN32_LIB)/$(ODINCRT).lib \
     54$(PDWIN32_LIB)/pmwinx.lib \
     55OS2386.LIB \
     56$(RTLLIB_O)
     57
     58
     59#
    5560# Target and original target names - names of the dll without extention and path
     61#
    5662TARGET      = olautos2
    5763ORGTARGET   = oleaut32
    5864
    5965
    60 # All rule - build objs, target dll, copies dll to bin and makes libs.
    61 all:    $(OBJDIR) \
    62         $(OBJDIR)\$(TARGET).dll \
    63         $(PDWIN32_BIN)\$(TARGET).dll \
    64         lib
    65 
    66 
    67 # Lib rule - build importlibrary (and evt. other libs)
    68 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib
    69 
    70 
    71 # Dll rule - builds the target dll.
    72 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def $(OBJDIR)\$(TARGET).lrf
    73     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    74 
    75 
    76 # Linker file - creates the parameter file passed on to the linker.
    77 $(OBJDIR)\$(TARGET).lrf: makefile
    78     @echo Creating file <<$@
    79 /OUT:$(OBJDIR)\$(TARGET).dll
    80 /MAP:$(OBJDIR)\$(TARGET).map
    81 $(OBJS)
    82 $(PDWIN32_LIB)/pmwinx.lib
    83 $(PDWIN32_LIB)/advapi32.lib
    84 $(PDWIN32_LIB)/kernel32.lib
    85 $(PDWIN32_LIB)/user32.lib
    86 $(PDWIN32_LIB)/ole32.lib
    87 $(PDWIN32_LIB)/gdi32.lib
    88 $(PDWIN32_LIB)/$(ODINCRT).lib
    89 OS2386.LIB
    90 $(RTLLIB_O)
    91 $(ORGTARGET).def
    92 <<keep
    93 
    94 
    95 # Dep rule - makes depenencies for C, C++ and Asm files.
    96 dep:
    97     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    98         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    99 
    100 
     66#
    10167# Includes the common rules.
     68#
    10269!include $(PDWIN32_INCLUDE)/pdwin32.post
    10370
  • TabularUnified trunk/src/olecli32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:12 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 09:03:33 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = olecli32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\olecli32.obj \
    2721$(OBJDIR)\olecli32rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = olecli32
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/oledlg/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:13 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 09:03:01 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = oledlgrsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\oledlg.obj \
    2721$(OBJDIR)\oledlgrsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = oledlg
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/olepro32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.3 2000-07-19 19:05:13 sandervl Exp $
     1# $Id: makefile,v 1.4 2000-11-19 09:01:18 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = olepro32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\olepro32.obj \
    2721$(OBJDIR)\olepro32rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/oleaut32.lib \
     31$(PDWIN32_LIB)/$(ODINCRT).lib \
     32OS2386.LIB \
     33$(RTLLIB_O)
     34
     35
     36#
    3137# Target name - name of the dll without extention and path.
     38#
    3239TARGET = olepro32
    3340
    3441
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/oleaut32.lib
    59 $(PDWIN32_LIB)/$(ODINCRT).lib
    60 OS2386.LIB
    61 $(RTLLIB_O)
    62 $(TARGET).def
    63 <<keep
    64 
    65 
    66 # Dep rule - makes depenencies for C, C++ and Asm files.
    67 dep:
    68     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    69         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    70 
    71 
     42#
    7243# Includes the common rules.
     44#
    7345!include $(PDWIN32_INCLUDE)/pdwin32.post
    7446
  • TabularUnified trunk/src/olesvr32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.11 2000-07-19 19:05:13 sandervl Exp $
     1# $Id: makefile,v 1.12 2000-11-19 09:00:28 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = olesvr32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\olesvr32.obj \
    2721$(OBJDIR)\olesvr32rsrc.obj \
    28 $(PDWIN32_LIB)/dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = olesvr32
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/opengl/glide/cvg/glide/makefile

    r3475 r4624  
    1 # $Id: makefile,v 1.4 2000-05-02 14:09:14 bird Exp $
     1# $Id: makefile,v 1.5 2000-11-19 08:58:11 bird Exp $
    22
    33#
     
    77#
    88
     9#
    910# Directory macros.
     11#
    1012PDWIN32_INCLUDE = ..\..\..\..\..\include
    1113PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1315PDWIN32_TOOLS   = ..\..\..\..\..\tools\bin
    1416
    15 # Local cleanup only.
    16 LOCALCLEAN = 1
     17#
     18# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     19#
     20LIBTARGET = 1
     21ADDITIONAL_DEP = mydep
    1722
    1823
     24#
    1925# Compiler, tools, and interference rules.
     26#
    2027!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2128!include ..\3dfx.mak
    2229
    2330
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS = glidersrc.asm
    26 
    27 CINCLUDE = -I..\incsrc -I..\..\swlibs\fxmisc -I..\init\initvg -I..\init -I..\texus -I..\..\swlibs\pcilib
    28 CFLAGS   = $(CFLAGS) $(CINCLUDE) /Os-
    29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) /Os-
    30 RCFLAGS  = $(RCFLAGS) $(CINCLUDE)
     31#
     32# Flag overloads.
     33#
     34CINCLUDES   = $(CINCLUDES) -I..\incsrc -I..\..\swlibs\fxmisc -I..\init\initvg -I..\init -I..\texus -I..\..\swlibs\pcilib
     35CFLAGS      = $(CFLAGS)   /Os-
     36CXXFLAGS    = $(CXXFLAGS) /Os-
    3137
    3238
    33 # Object files. All objects should be prefixed with $(OBJDIR)!
     39#
     40# Object files. Prefix with OBJDIR and one space before the '\'.
     41#
    3442OBJS = \
    35 $(OBJDIR)\CPUDTECT.OBJ \
    36 $(OBJDIR)\DDGUMP.OBJ \
    37 $(OBJDIR)\DIGLIDE.OBJ \
    38 $(OBJDIR)\DIGUTEX.OBJ \
    39 $(OBJDIR)\DISST.OBJ \
    40 $(OBJDIR)\DITEX.OBJ \
    41 $(OBJDIR)\G3DF.OBJ \
    42 $(OBJDIR)\GAA.OBJ \
    43 $(OBJDIR)\GBANNER.OBJ \
    44 $(OBJDIR)\GDRAW.OBJ \
    45 $(OBJDIR)\GERROR.OBJ \
    46 $(OBJDIR)\GGLIDE.OBJ \
    47 $(OBJDIR)\GLFB.OBJ \
    48 $(OBJDIR)\GMOVIE.OBJ \
    49 $(OBJDIR)\GPCI.OBJ \
    50 $(OBJDIR)\GSPLASH.OBJ \
    51 $(OBJDIR)\GSST.OBJ \
    52 $(OBJDIR)\GTEX.OBJ \
    53 $(OBJDIR)\GTEXDL.OBJ \
    54 $(OBJDIR)\GU.OBJ \
    55 $(OBJDIR)\GUCLIP.OBJ \
    56 $(OBJDIR)\GUMP.OBJ \
    57 $(OBJDIR)\GUTEX.OBJ \
    58 $(OBJDIR)\GXDRAW.OBJ \
    59 $(OBJDIR)\P6FENCE.OBJ \
    60 $(OBJDIR)\FIFO.OBJ \
     43$(OBJDIR)\cpudtect.obj \
     44$(OBJDIR)\ddgump.obj \
     45$(OBJDIR)\diglide.obj \
     46$(OBJDIR)\digutex.obj \
     47$(OBJDIR)\disst.obj \
     48$(OBJDIR)\ditex.obj \
     49$(OBJDIR)\g3df.obj \
     50$(OBJDIR)\gaa.obj \
     51$(OBJDIR)\gbanner.obj \
     52$(OBJDIR)\gdraw.obj \
     53$(OBJDIR)\gerror.obj \
     54$(OBJDIR)\gglide.obj \
     55$(OBJDIR)\glfb.obj \
     56$(OBJDIR)\gmovie.obj \
     57$(OBJDIR)\gpci.obj \
     58$(OBJDIR)\gsplash.obj \
     59$(OBJDIR)\gsst.obj \
     60$(OBJDIR)\gtex.obj \
     61$(OBJDIR)\gtexdl.obj \
     62$(OBJDIR)\gu.obj \
     63$(OBJDIR)\guclip.obj \
     64$(OBJDIR)\gump.obj \
     65$(OBJDIR)\gutex.obj \
     66$(OBJDIR)\gxdraw.obj \
     67$(OBJDIR)\p6fence.obj \
     68$(OBJDIR)\fifo.obj \
    6169$(OBJDIR)\glidersrc.obj
    6270
    6371
     72#
    6473# Target name - name of the library without extention and path.
     74#
    6575TARGET  = glide
    6676
    6777
    68 # All rule - build objs and target library.
    69 all:    $(OBJDIR) \
    70         $(OBJDIR)\$(TARGET).lib
     78#
     79# Includes the common rules.
     80#
     81!include $(PDWIN32_INCLUDE)/pdwin32.post
    7182
    7283
    73 # Create all libraries (not importlibraries)
    74 libs: all
     84#
     85# Additional dep rule - adds depenencies for some additional headers.
     86#
     87mydep:
     88    $(DEPEND) -a $(CINCLUDES) \
     89        ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h \
     90        ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    7591
    76 
    77 # Lib rule - build importlibrary (and evt. other libs)
    78 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    79     $(RM) $@
    80     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    81 
    82 
    83 # Dep rule - makes depenencies for C, C++ and Asm files.
    84 dep:
    85     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    86         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    87         ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    88 
    89 
    90 # Includes the common rules.
    91 !include $(PDWIN32_INCLUDE)/pdwin32.post
    92 
  • TabularUnified trunk/src/opengl/glide/cvg/init/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.2 2000-03-06 23:33:44 bird Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $
    22#
    3 # PD-Win32 API
     3# Odin32 API
    44#
    5 #       Init makefile
     5#       cvg\Init makefile
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\include
    1013PDWIN32_LIB = ..\..\..\..\..\lib
     
    1316
    1417
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
     23
     24
     25#
    1526# Compiler, tools, and interference rules.
    16 LOCALCLEAN  = 1
     27#
    1728!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1829!include ..\3dfx.mak
    1930
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS =
    2231
    23 CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib
    24 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    25 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib
    2636
    2737
    28 # Object files. All objects should be prefixed with $(OBJDIR)!
     38#
     39# Object files. Prefix with OBJDIR and one space before the '\'.
     40#
    2941OBJS = \
    30 $(OBJDIR)\DAC.OBJ \
    31 $(OBJDIR)\GAMMA.OBJ \
    32 $(OBJDIR)\GDEBUG.OBJ \
    33 $(OBJDIR)\INFO.OBJ \
    34 $(OBJDIR)\PARSE.OBJ \
    35 $(OBJDIR)\PRINT.OBJ \
    36 $(OBJDIR)\SLI.OBJ \
    37 $(OBJDIR)\SST1INIT.OBJ \
    38 $(OBJDIR)\UTIL.OBJ \
    39 $(OBJDIR)\VIDEO.OBJ
     42$(OBJDIR)\dac.obj \
     43$(OBJDIR)\gamma.obj \
     44$(OBJDIR)\gdebug.obj \
     45$(OBJDIR)\info.obj \
     46$(OBJDIR)\parse.obj \
     47$(OBJDIR)\print.obj \
     48$(OBJDIR)\sli.obj \
     49$(OBJDIR)\sst1init.obj \
     50$(OBJDIR)\util.obj \
     51$(OBJDIR)\video.obj
    4052
    4153
    42 # Target name - name of the dll without extention and path.
     54#
     55# Target name - name of the library without extention and path.
     56#
    4357TARGET  = init
    4458
    4559
    46 # All rule - build objs, target dll, copies dll to bin and makes libs.
    47 all:    $(OBJDIR) \
    48         $(OBJDIR)\$(TARGET).lib
     60#
     61# Includes the common rules.
     62#
     63!include $(PDWIN32_INCLUDE)/pdwin32.post
    4964
    5065
    51 # Create all libraries (not importlibraries)
    52 libs: all
     66#
     67# Additional dep rule - adds dependencies for some additional headers.
     68#
     69mydep:
     70    $(DEPEND) -a $(CINCLUDES) \
     71        ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h \
     72        ..\..\swlibs\pcilib\*.h
    5373
    54 
    55 # Lib target rule - builds the library.
    56 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    57     $(RM) $@
    58     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    59 
    60 
    61 
    62 # Dep rule - makes depenencies for C, C++ and Asm files.
    63 dep:
    64     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    65         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    66         ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    67 
    68 
    69 # Includes the common rules.
    70 !include $(PDWIN32_INCLUDE)/pdwin32.post
    71 
  • TabularUnified trunk/src/opengl/glide/cvg/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:13 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 08:58:10 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\lib
    12 PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)
     15PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)\Glide\Voodoo2
    1316PDWIN32_TOOLS   = ..\..\..\..\tools\bin
    1417
    1518
    16 # Have extra clean rule.
    17 CLEAN2 = 1
     19#
     20# Tell buildenvironment that we should not copy this into /bin.
     21#
     22NO_MAIN_BIN_COPY = 1
    1823
    1924
     25#
    2026# Compiler, tools, and interference rules.
     27#
    2128!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2229
    2330
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS = rsrc.asm
     31#
     32# Subdirectories to travers.
     33#
     34SUBDIRS = \
     35.\..\swlibs\pcilib \
     36.\init \
     37.\glide \
     38.\texus
    2639
    2740
    28 # Object files. All objects should be prefixed with $(OBJDIR)!
     41#
     42# Object files. Prefix with OBJDIR and one space before the '\'.
     43#
    2944OBJS = \
    3045$(OBJDIR)\initterm.obj
    3146
    3247
     48#
     49# Libraries. One space before the '\'.
     50#
     51LIBS = \
     52..\swlibs\pcilib\$(OBJDIR)\pcilib.lib \
     53texus\$(OBJDIR)/texus.lib \
     54init\$(OBJDIR)/init.lib \
     55glide\$(OBJDIR)/glide.lib \
     56$(PDWIN32_LIB)/kernel32.lib \
     57$(PDWIN32_LIB)/$(ODINCRT).lib \
     58os2386.lib \
     59$(RTLLIB_O)
     60
     61
     62#
    3363# Target name - name of the dll without extention and path.
     64#
    3465TARGET = glide2x
    3566
    3667
    37 # All rule - build objs, target dll, copies dll to bin and makes libs.
    38 all:    $(OBJDIR) \
    39         $(OBJDIR)\$(TARGET).dll \
    40         $(PDWIN32_BIN)\Glide\Voodoo2\$(TARGET).dll \
    41         lib
    42 
    43 
    44 # Lib rule - build importlibrary (and evt. other libs)
    45 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    46 
    47 
    48 
    49 # Libs rule - Make (sub) libraries. (Not import libraries!)
    50 libs:
    51     cd ..\swlibs\pcilib
    52     $(MAKE_CMD) $@
    53     cd ..\..\cvg\init
    54     $(MAKE_CMD) $@
    55     cd ..\glide
    56     $(MAKE_CMD) $@
    57     cd ..\texus
    58     $(MAKE_CMD) $@
    59     cd ..
    60 
    61 
    62 # Dll rule - builds the target dll.
    63 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    64     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    65 
    66 
    67 # Linker file - creates the parameter file passed on to the linker.
    68 $(OBJDIR)\$(TARGET).lrf: makefile
    69     @echo Creating file <<$@
    70 /OUT:$(OBJDIR)\$(TARGET).dll
    71 /MAP:$(OBJDIR)\$(TARGET).map
    72 $(OBJS)
    73 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib
    74 texus\$(OBJDIR)\texus.lib
    75 init\$(OBJDIR)\init.lib
    76 glide\$(OBJDIR)\glide.lib
    77 $(PDWIN32_LIB)\kernel32.lib
    78 $(PDWIN32_LIB)/$(ODINCRT).lib
    79 OS2386.LIB
    80 $(RTLLIB_O)
    81 $(TARGET).def
    82 <<keep
    83 
    84 
    85 # Copy rule - copies the dll.
    86 $(PDWIN32_BIN)\Glide\Voodoo2\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll
    87     -mkdir $(PDWIN32_BIN)\Glide > nul 2>&1
    88     -mkdir $(PDWIN32_BIN)\Glide\Voodoo2 > nul 2>&1
    89     $(CP) $** $@
    90     $(CP) $** ..\..\..\..\bin\Glide\Voodoo2\$(TARGET).dll
    91 
    92 
    93 # Dep rule - makes depenencies for C, C++ and Asm files.
    94 dep:
    95     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    96         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    97     cd ..\swlibs\pcilib
    98     $(MAKE_CMD) $@
    99     cd ..\..\cvg\init
    100     $(MAKE_CMD) $@
    101     cd ..\glide
    102     $(MAKE_CMD) $@
    103     cd ..\texus
    104     $(MAKE_CMD) $@
    105     cd ..
    106 
    107 
    108 # Extra cleanrule.
    109 clean2:
    110     cd ..\swlibs\pcilib
    111     $(MAKE_CMD) clean
    112     cd ..\..\cvg\glide
    113     $(MAKE_CMD) clean
    114     cd ..\init
    115     $(MAKE_CMD) clean
    116     cd ..\texus
    117     $(MAKE_CMD) clean
    118     cd ..
    119 
    120 
     68#
    12169# Includes the common rules.
     70#
    12271!include $(PDWIN32_INCLUDE)/pdwin32.post
    12372
    124 
    125 
  • TabularUnified trunk/src/opengl/glide/cvg/texus/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.2 2000-03-06 23:33:44 bird Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $
    22#
    33# PD-Win32 API
     
    66#
    77
     8#
    89# Directory macros.
     10#
    911PDWIN32_INCLUDE = ..\..\..\..\..\include
    1012PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1315
    1416
    15 # Local cleanup only.
    16 LOCALCLEAN = 1
     17#
     18# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     19#
     20LIBTARGET = 1
     21ADDITIONAL_DEP = mydep
    1722
    1823
     24#
    1925# Compiler, tools, and interference rules.
     26#
    2027!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2128!include ..\3dfx.mak
    2229
    2330
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib
    28 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    29 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
     31#
     32# Flag overloads.
     33#
     34CINCLUDES   = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib
    3035
    3136
    32 # Object files. All objects should be prefixed with $(OBJDIR)!
     37#
     38# Object files. Prefix with OBJDIR and one space before the '\'.
     39#
    3340OBJS = \
    34 $(OBJDIR)\3DF.OBJ \
    35 $(OBJDIR)\CLAMP.OBJ \
    36 $(OBJDIR)\DEQUANT.OBJ \
    37 $(OBJDIR)\DIFFUSE.OBJ \
    38 $(OBJDIR)\GLDUTIL.OBJ \
    39 $(OBJDIR)\MIPMAP.OBJ \
    40 $(OBJDIR)\NCC.OBJ \
    41 $(OBJDIR)\NCCNNET.OBJ \
    42 $(OBJDIR)\PAL256.OBJ \
    43 $(OBJDIR)\PPM.OBJ \
    44 $(OBJDIR)\QUANTIZE.OBJ \
    45 $(OBJDIR)\READ.OBJ \
    46 $(OBJDIR)\RESAMPLE.OBJ \
    47 $(OBJDIR)\RGT.OBJ \
    48 $(OBJDIR)\TEXUSLIB.OBJ \
    49 $(OBJDIR)\TGA.OBJ \
    50 $(OBJDIR)\UTIL.OBJ \
    51 $(OBJDIR)\VIEW.OBJ \
    52 $(OBJDIR)\WRITE.OBJ
     41$(OBJDIR)\3df.obj \
     42$(OBJDIR)\clamp.obj \
     43$(OBJDIR)\dequant.obj \
     44$(OBJDIR)\diffuse.obj \
     45$(OBJDIR)\gldutil.obj \
     46$(OBJDIR)\mipmap.obj \
     47$(OBJDIR)\ncc.obj \
     48$(OBJDIR)\nccnnet.obj \
     49$(OBJDIR)\pal256.obj \
     50$(OBJDIR)\ppm.obj \
     51$(OBJDIR)\quantize.obj \
     52$(OBJDIR)\read.obj \
     53$(OBJDIR)\resample.obj \
     54$(OBJDIR)\rgt.obj \
     55$(OBJDIR)\texuslib.obj \
     56$(OBJDIR)\tga.obj \
     57$(OBJDIR)\util.obj \
     58$(OBJDIR)\view.obj \
     59$(OBJDIR)\write.obj
    5360
    5461
     62#
    5563# Target name - name of the library without extention and path.
    56 TARGET = texus
     64#
     65TARGET  = texus
    5766
    5867
    59 # All rule - build objs and target library.
    60 all:    $(OBJDIR) \
    61         $(OBJDIR)\$(TARGET).lib
     68#
     69# Includes the common rules.
     70#
     71!include $(PDWIN32_INCLUDE)/pdwin32.post
    6272
    6373
    64 # Create all libraries (not importlibraries)
    65 libs: all
     74#
     75# Additional dep rule - adds depenencies for some additional headers.
     76#
     77mydep:
     78    $(DEPEND) -a $(CINCLUDES) \
     79        ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h \
     80        ..\..\swlibs\pcilib\*.h
    6681
    67 
    68 # Lib rule - build importlibrary (and evt. other libs)
    69 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    70     $(RM) $@
    71     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    72 
    73 
    74 # Dep rule - makes depenencies for C, C++ and Asm files.
    75 dep:
    76     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    77         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    78         ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h
    79 
    80 
    81 # Includes the common rules.
    82 !include $(PDWIN32_INCLUDE)/pdwin32.post
    83 
  • TabularUnified trunk/src/opengl/glide/makefile

    r4333 r4624  
    1 # $Id: makefile,v 1.6 2000-09-28 03:08:07 bird Exp $
     1# $Id: makefile,v 1.7 2000-11-19 08:58:10 bird Exp $
    22#
    33# Odin32 API
     
    66#
    77
     8
     9#
    810# Directories
     11#
    912PDWIN32_INCLUDE = ..\..\..\include
     13PDWIN32_TOOLS   = ..\..\..\tools\bin
    1014
     15
     16#
    1117# Common tools macros. (MAKE_CMD)
    12 !include $(PDWIN32_INCLUDE)\pdwin32.tools
     18#
     19!include $(PDWIN32_INCLUDE)/pdwin32.tools
     20
    1321
    1422# Dummy all rule - nmake without target will make all targets of the first rule.
    1523all_: all
     24
    1625
    1726# All, Lib, Clean and Dep rules.
  • TabularUnified trunk/src/opengl/glide/sst1/glide/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.2 2000-03-06 23:33:45 bird Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $
    22#
    33# Odin32 API
    44#
    5 #       Glide makefile
     5#       sst1/Glide makefile
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1215PDWIN32_TOOLS   = ..\..\..\..\..\tools\bin
    1316
    14 # Local cleanup only.
    15 LOCALCLEAN = 1
    1617
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
     23
     24
     25#
    1726# Compiler, tools, and interference rules.
     27#
    1828!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1929!include ..\3dfx.mak
    2030
    2131
    22 # Flag overloads and local macros.
    23 CLEANEXTRAS = glidersrc.asm
    24 
    25 CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib;
    26 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    27 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
    28 RCFLAGS     = $(RCFLAGS) $(CINCLUDE)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib;
    2936
    3037
    31 # Object files. All objects should be prefixed with $(OBJDIR)!
     38#
     39# Object files. Prefix with OBJDIR and one space before the '\'.
     40#
    3241OBJS = \
    33 $(OBJDIR)\CPUDTECT.OBJ \
    34 $(OBJDIR)\DDGUMP.OBJ \
    35 $(OBJDIR)\DIGLIDE.OBJ \
    36 $(OBJDIR)\DIGUTEX.OBJ \
    37 $(OBJDIR)\DISST.OBJ \
    38 $(OBJDIR)\DITEX.OBJ \
    39 $(OBJDIR)\G3DF.OBJ \
    40 $(OBJDIR)\GAA.OBJ \
    41 $(OBJDIR)\GBANNER.OBJ \
    42 $(OBJDIR)\GDRAW.OBJ \
    43 $(OBJDIR)\GERROR.OBJ \
    44 $(OBJDIR)\GGLIDE.OBJ \
    45 $(OBJDIR)\GLFB.OBJ \
    46 $(OBJDIR)\GMOVIE.OBJ \
    47 $(OBJDIR)\GPCI.OBJ \
    48 $(OBJDIR)\GSPLASH.OBJ \
    49 $(OBJDIR)\GSST.OBJ \
    50 $(OBJDIR)\GTEX.OBJ \
    51 $(OBJDIR)\GTEXDL.OBJ \
    52 $(OBJDIR)\GU.OBJ \
    53 $(OBJDIR)\GUCLIP.OBJ \
    54 $(OBJDIR)\GUMP.OBJ \
    55 $(OBJDIR)\GUTEX.OBJ \
    56 $(OBJDIR)\GXDRAW.OBJ \
    57 $(OBJDIR)\P6FENCE.OBJ \
    58 $(OBJDIR)\SST96.OBJ \
     42$(OBJDIR)\cpudtect.obj \
     43$(OBJDIR)\ddgump.obj \
     44$(OBJDIR)\diglide.obj \
     45$(OBJDIR)\digutex.obj \
     46$(OBJDIR)\disst.obj \
     47$(OBJDIR)\ditex.obj \
     48$(OBJDIR)\g3df.obj \
     49$(OBJDIR)\gaa.obj \
     50$(OBJDIR)\gbanner.obj \
     51$(OBJDIR)\gdraw.obj \
     52$(OBJDIR)\gerror.obj \
     53$(OBJDIR)\gglide.obj \
     54$(OBJDIR)\glfb.obj \
     55$(OBJDIR)\gmovie.obj \
     56$(OBJDIR)\gpci.obj \
     57$(OBJDIR)\gsplash.obj \
     58$(OBJDIR)\gsst.obj \
     59$(OBJDIR)\gtex.obj \
     60$(OBJDIR)\gtexdl.obj \
     61$(OBJDIR)\gu.obj \
     62$(OBJDIR)\guclip.obj \
     63$(OBJDIR)\gump.obj \
     64$(OBJDIR)\gutex.obj \
     65$(OBJDIR)\gxdraw.obj \
     66$(OBJDIR)\p6fence.obj \
     67$(OBJDIR)\sst96.obj \
    5968$(OBJDIR)\glidersrc.obj
    6069
    6170
     71#
    6272# Target name - name of the library without extention and path.
     73#
    6374TARGET  = glide
    6475
    65 # All rule - build objs and target library.
    66 all:    $(OBJDIR) \
    67         $(OBJDIR)\$(TARGET).lib
     76
     77#
     78# Includes the common rules.
     79#
     80!include $(PDWIN32_INCLUDE)/pdwin32.post
    6881
    6982
    70 # Create all libraries (not importlibraries)
    71 libs: all
     83#
     84# Additional dep rule - adds dependencies for some additional headers.
     85#
     86mydep:
     87    $(DEPEND) -a $(CINCLUDES) \
     88        ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h \
     89        ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    7290
    73 
    74 # Lib rule - build importlibrary (and evt. other libs)
    75 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    76     $(RM) $@
    77     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    78 
    79 
    80 # Dep rule - makes depenencies for C, C++ and Asm files.
    81 dep:
    82     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    83         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    84         ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    85 
    86 
    87 # Includes the common rules.
    88 !include $(PDWIN32_INCLUDE)/pdwin32.post
    89 
  • TabularUnified trunk/src/opengl/glide/sst1/init/initvg/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:58:12 bird Exp $
    22#
    33# PD-Win32 API
    44#
    5 #       Glide makefile
     5#       sst1/init/inivg makefile
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\..\..\lib
     
    1316
    1417
    15 # Local cleanup only.
    16 LOCALCLEAN = 1
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
    1723
    1824
     25#
    1926# Compiler, tools, and interference rules.
     27#
    2028!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2129!include ..\..\3dfx.mak
    2230
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS = glide.asm
    26 
    27 CINCLUDE    = -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib
    28 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    29 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib
    3036
    3137
    32 # Object files. All objects should be prefixed with $(OBJDIR)!
     38#
     39# Object files. Prefix with OBJDIR and one space before the '\'.
     40#
    3341OBJS = \
    34 $(OBJDIR)\DAC.OBJ \
    35 $(OBJDIR)\GAMMA.OBJ \
    36 $(OBJDIR)\GDEBUG.OBJ \
    37 $(OBJDIR)\INFO.OBJ \
    38 $(OBJDIR)\PARSE.OBJ \
    39 $(OBJDIR)\PRINT.OBJ \
    40 $(OBJDIR)\SLI.OBJ \
    41 $(OBJDIR)\SST1INIT.OBJ \
    42 $(OBJDIR)\UTIL.OBJ \
    43 $(OBJDIR)\VIDEO.OBJ
     42$(OBJDIR)\dac.obj \
     43$(OBJDIR)\gamma.obj \
     44$(OBJDIR)\gdebug.obj \
     45$(OBJDIR)\info.obj \
     46$(OBJDIR)\parse.obj \
     47$(OBJDIR)\print.obj \
     48$(OBJDIR)\sli.obj \
     49$(OBJDIR)\sst1init.obj \
     50$(OBJDIR)\util.obj \
     51$(OBJDIR)\video.obj
    4452
    4553
    46 # All - rule make all objects.
    47 all:    $(OBJDIR) \
    48         $(OBJS)
     54#
     55# Target name - name of the library without extention and path.
     56#
     57TARGET  = initvg
    4958
    5059
    51 # Dep rule - makes depenencies for C, C++ and Asm files.
    52 dep:
    53     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    54         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     60#
     61# Includes the common rules.
     62#
     63!include $(PDWIN32_INCLUDE)/pdwin32.post
     64
     65
     66#
     67# Additional dep rule - adds depenencies for some additional headers.
     68#
     69mydep:
     70    $(DEPEND) -a $(CINCLUDES) \
    5571        ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h \
    5672        ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h
    5773
    58 
    59 # Includes the common rules.
    60 !include $(PDWIN32_INCLUDE)/pdwin32.post
    61 
  • TabularUnified trunk/src/opengl/glide/sst1/init/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.3 2000-03-06 23:33:46 bird Exp $
     1# $Id: makefile,v 1.4 2000-11-19 08:58:11 bird Exp $
    22#
    33# Odin32 API
     
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1215PDWIN32_TOOLS   = ..\..\..\..\..\tools\bin
    1316
    14 # Local cleanup only and extra cleanrule.
    15 LOCALCLEAN = 1
    16 CLEAN2     = 1
    1717
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
     23
     24
     25#
    1826# Compiler, tools, and interference rules.
     27#
    1928!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2029!include ..\3dfx.mak
    2130
    2231
    23 # Flag overloads and local macros.
    24 CLEANEXTRAS =
    25 
    26 CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib
    27 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    28 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib
    2936
    3037
    31 # Object files. All objects should be prefixed with $(OBJDIR)!
     38#
     39# Subdirectories to travers.
     40#
     41SUBDIRS = \
     42initvg
     43
     44
     45#
     46# Object files. Prefix with OBJDIR and one space before the '\'.
     47#
    3248INITSUB = initvg
    3349OBJS = \
    34 $(OBJDIR)\H3DRVR.OBJ \
    35 $(OBJDIR)\INIT.OBJ \
    36 $(OBJDIR)\VG96DRVR.OBJ \
    37 $(OBJDIR)\VGDRVR.OBJ
    38 
    39 # More object files
    40 OBJSSUB = \
    41 $(INITSUB)\$(OBJDIR)\DAC.OBJ \
    42 $(INITSUB)\$(OBJDIR)\GAMMA.OBJ \
    43 $(INITSUB)\$(OBJDIR)\GDEBUG.OBJ \
    44 $(INITSUB)\$(OBJDIR)\INFO.OBJ \
    45 $(INITSUB)\$(OBJDIR)\PARSE.OBJ \
    46 $(INITSUB)\$(OBJDIR)\PRINT.OBJ \
    47 $(INITSUB)\$(OBJDIR)\SLI.OBJ \
    48 $(INITSUB)\$(OBJDIR)\SST1INIT.OBJ \
    49 $(INITSUB)\$(OBJDIR)\UTIL.OBJ \
    50 $(INITSUB)\$(OBJDIR)\VIDEO.OBJ
     50$(OBJDIR)\h3drvr.obj \
     51$(OBJDIR)\init.obj \
     52$(OBJDIR)\vg96drvr.obj \
     53$(OBJDIR)\vgdrvr.obj
    5154
    5255
     56#
    5357# Target name - name of the library without extention and path.
     58#
    5459TARGET  = init
    5560
    5661
    57 # All rule - build objs and target library.
    58 all:    $(OBJDIR) \
    59         initsub \
    60         $(OBJDIR)\$(TARGET).lib \
    61 
    62 
    63 # Make objectfiles in subdirectories.
    64 initsub:
    65     cd $(INITSUB)
    66     $(MAKE_CMD) all
    67     cd ..
    68 
    69 
    70 # Create all libraries (not importlibraries)
    71 libs: all
    72 
    73 
    74 # Lib rule - build importlibrary (and evt. other libs)
    75 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    76     $(RM) $@
    77     $(ILIB) $(ILIBFLAGS) $@ $(OBJS) $(OBJSSUB);
    78 
    79 
    80 # Dep rule - makes depenencies for C, C++ and Asm files.
    81 dep:
    82     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    83         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    84         ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h
    85     cd initvg
    86     $(MAKE_CMD) $@
    87     cd ..
    88 
    89 
     62#
    9063# Includes the common rules.
     64#
    9165!include $(PDWIN32_INCLUDE)/pdwin32.post
    9266
    9367
    94 # extra clean rule
    95 clean2:
    96     cd initvg
    97     $(MAKE_CMD) clean
    98     cd ..
     68#
     69# Additional dep rule - adds depenencies for some additional headers.
     70#
     71mydep:
     72    $(DEPEND) -a $(CINCLUDES) \
     73        ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h \
     74        ..\texus\*.h ..\..\swlibs\pcilib\*.h
     75
  • TabularUnified trunk/src/opengl/glide/sst1/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.7 2000-07-19 19:05:14 sandervl Exp $
     1# $Id: makefile,v 1.8 2000-11-19 08:58:11 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\lib
    12 PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)
     15PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)\Glide\Voodoo1
    1316PDWIN32_TOOLS   = ..\..\..\..\tools\bin
    1417
    1518
    16 # Have extra clean rule.
    17 CLEAN2 = 1
     19#
     20# Tell buildenvironment that we should not copy this into /bin.
     21#
     22NO_MAIN_BIN_COPY = 1
    1823
     24
     25#
    1926# Compiler, tools, and interference rules.
     27#
    2028!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2129
    2230
    23 # Object files. All objects should be prefixed with $(OBJDIR)!
     31#
     32# Subdirectories to travers.
     33#
     34SUBDIRS = \
     35.\..\swlibs\pcilib \
     36.\init \
     37.\glide \
     38.\texus
     39
     40
     41#
     42# Object files. Prefix with OBJDIR and one space before the '\'.
     43#
    2444OBJS = \
    2545$(OBJDIR)\initterm.obj
    2646
    2747
     48#
     49# Libraries. One space before the '\'.
     50#
     51LIBS = \
     52..\swlibs\pcilib/$(OBJDIR)/pcilib.lib \
     53texus/$(OBJDIR)/texus.lib \
     54init/$(OBJDIR)/init.lib \
     55init/initvg/$(OBJDIR)/initvg.lib \
     56glide/$(OBJDIR)/glide.lib \
     57$(PDWIN32_LIB)/kernel32.lib \
     58$(PDWIN32_LIB)/$(ODINCRT).lib \
     59OS2386.LIB \
     60$(RTLLIB_O)
     61
     62
     63#
    2864# Target name - name of the dll without extention and path.
     65#
    2966TARGET = glide2x
    3067
    3168
    32 # All rule - build objs, target dll, copies dll to bin and makes libs.
    33 all:    $(OBJDIR) \
    34         libs \
    35         $(OBJDIR)\$(TARGET).dll \
    36         $(PDWIN32_BIN)\Glide\Voodoo1\$(TARGET).dll \
    37         lib
    38 
    39 
    40 # Lib rule - build importlibrary (and evt. other libs)
    41 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    42 
    43 
    44 # Libs rule - Make (sub) libraries. (Not import libraries!)
    45 libs:
    46     cd ..\swlibs\pcilib
    47     $(MAKE_CMD) $@
    48     cd ..\..\sst1\init
    49     $(MAKE_CMD) $@
    50     cd ..\glide
    51     $(MAKE_CMD) $@
    52     cd ..\texus
    53     $(MAKE_CMD) $@
    54     cd ..
    55 
    56 
    57 $(TARGET).dll: $(OBJS) $(TARGET).def
    58     $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
    59           $(PDWIN32_LIB)/kernel32.lib \
    60           $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
    61 
    62 
    63 # Dll rule - builds the target dll.
    64 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    65     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    66 
    67 
    68 # Linker file - creates the parameter file passed on to the linker.
    69 $(OBJDIR)\$(TARGET).lrf: makefile
    70     @echo Creating file <<$@
    71 /OUT:$(OBJDIR)\$(TARGET).dll
    72 /MAP:$(OBJDIR)\$(TARGET).map
    73 $(OBJS)
    74 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib
    75 texus\$(OBJDIR)\texus.lib
    76 init\$(OBJDIR)\init.lib
    77 glide\$(OBJDIR)\glide.lib
    78 $(PDWIN32_LIB)\kernel32.lib
    79 $(PDWIN32_LIB)/$(ODINCRT).lib
    80 OS2386.LIB
    81 $(RTLLIB_O)
    82 $(TARGET).def
    83 <<keep
    84 
    85 
    86 # Copy rule.
    87 $(PDWIN32_BIN)\Glide\Voodoo1\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll
    88     -mkdir $(PDWIN32_BIN)\Glide > nul 2>&1
    89     -mkdir $(PDWIN32_BIN)\Glide\Voodoo1 > nul 2>&1
    90     $(CP) $** $@
    91     $(CP) $** ..\..\..\..\bin\Glide\Voodoo1\$(TARGET).dll
    92 
    93 
    94 # Dep rule - makes depenencies for C, C++ and Asm files.
    95 dep:
    96     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    97         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    98     cd ..\swlibs\pcilib
    99     $(MAKE_CMD) $@
    100     cd ..\..\sst1\init
    101     $(MAKE_CMD) $@
    102     cd ..\glide
    103     $(MAKE_CMD) $@
    104     cd ..\texus
    105     $(MAKE_CMD) $@
    106     cd ..
    107 
    108 
     69#
    10970# Includes the common rules.
     71#
    11072!include $(PDWIN32_INCLUDE)/pdwin32.post
    11173
    112 
    113 # Extra clean rule
    114 clean2:
    115     cd ..\swlibs\pcilib
    116     $(MAKE_CMD) clean
    117     cd ..\..\sst1\init
    118     $(MAKE_CMD) clean
    119     cd ..\glide
    120     $(MAKE_CMD) clean
    121     cd ..\texus
    122     $(MAKE_CMD) clean
    123     cd ..
    124 
  • TabularUnified trunk/src/opengl/glide/sst1/texus/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:58:12 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       Texus makefile
     6#       sst1/Texus makefile
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1417
    1518
    16 # Local cleanup only.
    17 LOCALCLEAN = 1
     19#
     20# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     21#
     22LIBTARGET = 1
     23ADDITIONAL_DEP = mydep
    1824
    1925
     26#
    2027# Compiler, tools, and interference rules.
     28#
    2129!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2230!include ..\3dfx.mak
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    2632
    27 CINCLUDE    = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib
    28 CFLAGS      = $(CFLAGS) $(CINCLUDE)
    29 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)
     33#
     34# Flag overloads.
     35#
     36CINCLUDES   = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib
    3037
    3138
    32 # Object files. All objects should be prefixed with $(OBJDIR)!
     39#
     40# Object files. Prefix with OBJDIR and one space before the '\'.
     41#
    3342OBJS = \
    34 $(OBJDIR)\3DF.OBJ \
    35 $(OBJDIR)\CLAMP.OBJ \
    36 $(OBJDIR)\DEQUANT.OBJ \
    37 $(OBJDIR)\DIFFUSE.OBJ \
    38 $(OBJDIR)\GLDUTIL.OBJ \
    39 $(OBJDIR)\MIPMAP.OBJ \
    40 $(OBJDIR)\NCC.OBJ \
    41 $(OBJDIR)\NCCNNET.OBJ \
    42 $(OBJDIR)\PAL256.OBJ \
    43 $(OBJDIR)\PPM.OBJ \
    44 $(OBJDIR)\QUANTIZE.OBJ \
    45 $(OBJDIR)\READ.OBJ \
    46 $(OBJDIR)\RESAMPLE.OBJ \
    47 $(OBJDIR)\RGT.OBJ \
    48 $(OBJDIR)\TEXUSLIB.OBJ \
    49 $(OBJDIR)\TGA.OBJ \
    50 $(OBJDIR)\UTIL.OBJ \
    51 $(OBJDIR)\VIEW.OBJ \
    52 $(OBJDIR)\WRITE.OBJ
     43$(OBJDIR)\3df.obj \
     44$(OBJDIR)\clamp.obj \
     45$(OBJDIR)\dequant.obj \
     46$(OBJDIR)\diffuse.obj \
     47$(OBJDIR)\gldutil.obj \
     48$(OBJDIR)\mipmap.obj \
     49$(OBJDIR)\ncc.obj \
     50$(OBJDIR)\nccnnet.obj \
     51$(OBJDIR)\pal256.obj \
     52$(OBJDIR)\ppm.obj \
     53$(OBJDIR)\quantize.obj \
     54$(OBJDIR)\read.obj \
     55$(OBJDIR)\resample.obj \
     56$(OBJDIR)\rgt.obj \
     57$(OBJDIR)\texuslib.obj \
     58$(OBJDIR)\tga.obj \
     59$(OBJDIR)\util.obj \
     60$(OBJDIR)\view.obj \
     61$(OBJDIR)\write.obj
    5362
    5463
     64#
    5565# Target name - name of the library without extention and path.
     66#
    5667TARGET  = texus
    5768
    5869
    59 # All rule - build objs and target library.
    60 all:    $(OBJDIR) \
    61         $(OBJDIR)\$(TARGET).lib
     70#
     71# Includes the common rules.
     72#
     73!include $(PDWIN32_INCLUDE)/pdwin32.post
    6274
    6375
    64 # Create all libraries (not importlibraries)
    65 libs: all
    66 
    67 
    68 # Lib rule - build importlibrary (and evt. other libs)
    69 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    70     $(RM) $@
    71     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    72 
    73 
    74 # Dep rule - makes depenencies for C, C++ and Asm files.
    75 dep:
    76     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    77         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
     76#
     77# Additional dep rule - adds dependencies for some additional headers.
     78#
     79mydep:
     80    $(DEPEND) -a $(CINCLUDES) \
    7881        ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h \
    7982        ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h
    8083
    81 
    82 # Includes the common rules.
    83 !include $(PDWIN32_INCLUDE)/pdwin32.post
    84 
  • TabularUnified trunk/src/opengl/glide/swlibs/pcilib/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.3 2000-03-06 23:33:47 bird Exp $
     1# $Id: makefile,v 1.4 2000-11-19 08:58:12 bird Exp $
    22#
    33# Odin32 API
     
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1316
    1417
    15 # Local cleanup only.
    16 LOCALCLEAN = 1
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
    1723
    1824
     25#
    1926# Compiler, tools, and interference rules.
     27#
    2028!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2129!include ..\..\sst1\3dfx.mak
    2230
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE)
    28 
    29 CFLAGS = $(CFLAGS) $(CINCLUDE)
    30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES = $(CINCLUDES) -I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init
    3136
    3237
    33 # Object files. All objects should be prefixed with $(OBJDIR)!
     38#
     39# Object files. Prefix with OBJDIR and one space before the '\'.
     40#
    3441OBJS = \
    3542$(OBJDIR)\fxos2.obj \
     
    3946
    4047
     48#
    4149# Target name - name of the library without extention and path.
     50#
    4251TARGET  = pcilib
    4352
    4453
    45 # All rule - build objs and target library.
    46 all:    $(OBJDIR) \
    47         $(OBJDIR)\$(TARGET).lib
     54#
     55# Includes the common rules.
     56#
     57!include $(PDWIN32_INCLUDE)/pdwin32.post
    4858
    4959
    50 # Create all libraries (not importlibraries)
    51 libs: all
     60#
     61# Additional dep rule - adds depenencies for some additional headers.
     62#
     63mydep:
     64    $(DEPEND) -a $(CINCLUDES) \
     65        ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \
     66        ..\..\sst1\glide\*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h
    5267
    53 
    54 # Lib rule - build importlibrary (and evt. other libs)
    55 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    56     $(RM) $@
    57     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    58 
    59 
    60 # Dep rule - makes depenencies for C, C++ and Asm files.
    61 dep:
    62     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \
    63         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \
    64         ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \
    65         ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h
    66 
    67 
    68 # Includes the common rules.
    69 !include $(PDWIN32_INCLUDE)/pdwin32.post
    70 
  • TabularUnified trunk/src/opengl/glu/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.13 2000-07-19 19:05:14 sandervl Exp $
     1# $Id: makefile,v 1.14 2000-11-19 08:58:13 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\lib
     
    1316PDWIN32_TOOLS   = ..\..\..\tools\bin
    1417
    15 # Have extra clean rule.
    16 CLEAN2 = 1
    17 
    18 
     18#
    1919# Compiler, tools, and interference rules.
     20#
    2021!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2122
    2223
    23 # Flag overloads and local macros.
    24 CLEANEXTRAS = glu32rsrc.asm
    25 
    26 CFLAGS      = $(CFLAGS) -I..\mesa\GL
    27 CXXFLAGS    = $(CXXFLAGS) -I..\mesa\GL
     24#
     25# Overrides.
     26#
     27CINCLUDES   = $(CINCLUDES) -I..\mesa\GL
    2828
    2929
     30#
     31# Subdirectories to travers.
     32#
     33SUBDIRS = \
     34.\util \
     35.\tess \
     36.\nurbs \
    3037
    31 # Object files. All objects should be prefixed with $(OBJDIR)!
     38
     39#
     40# Object files. Prefix with OBJDIR and one space before the '\'.
     41#
    3242OBJS = \
    3343$(OBJDIR)\initterm.obj \
     
    3545
    3646
    37 # Target name - name of the library without extention and path.
     47#
     48# Libraries. One space before the '\'.
     49#
     50LIBS = \
     51nurbs\interface\$(OBJDIR)\interface.lib \
     52nurbs\internals\$(OBJDIR)\internals.lib \
     53nurbs\nurbtess\$(OBJDIR)\nurbtess.lib \
     54tess\$(OBJDIR)\tess.lib \
     55util\$(OBJDIR)\util.lib \
     56$(PDWIN32_LIB)/$(ODINCRT).lib \
     57$(PDWIN32_LIB)\kernel32.lib \
     58$(PDWIN32_LIB)\opengl32.lib \
     59$(RTLLIB_O) \
     60os2386.lib
     61
     62
     63#
     64# Target name - name of the dll without extention and path.
     65#
    3866TARGET = glu32
    3967
    4068
    41 # All rule - build objs, target dll, copies dll to bin and makes libs.
    42 all:    $(OBJDIR) \
    43         $(OBJDIR)\$(TARGET).dll \
    44         $(PDWIN32_BIN)\$(TARGET).dll \
    45         lib
    46 
    47 
    48 # Lib rule - build importlibrary (and evt. other libs)
    49 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    50 
    51 
    52 # Libs rule - Make (sub) libraries. (Not import libraries!)
    53 libs:
    54     cd util
    55     $(MAKE_CMD) $@
    56     cd ..\tess
    57     $(MAKE_CMD) $@
    58     cd ..\nurbs
    59     $(MAKE_CMD) $@
    60     cd ..
    61 
    62 
    63 # Dll rule - builds the target dll.
    64 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    65     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    66 
    67 
    68 # Linker file - creates the parameter file passed on to the linker.
    69 $(OBJDIR)\$(TARGET).lrf: makefile
    70     @echo Creating file <<$@
    71 /OUT:$(OBJDIR)\$(TARGET).dll
    72 /MAP:$(OBJDIR)\$(TARGET).map
    73 $(OBJS)
    74 nurbs\interface\$(OBJDIR)\interface.lib
    75 nurbs\internals\$(OBJDIR)\internals.lib
    76 nurbs\nurbtess\$(OBJDIR)\nurbtess.lib
    77 tess\$(OBJDIR)\tess.lib
    78 util\$(OBJDIR)\util.lib
    79 $(PDWIN32_LIB)/$(ODINCRT).lib
    80 $(PDWIN32_LIB)\KERNEL32.LIB
    81 $(PDWIN32_LIB)\OPENGL32.LIB
    82 $(RTLLIB_O)
    83 OS2386.LIB
    84 $(TARGET).def
    85 <<keep
    86 
    87 
    88 # Dep rule - makes depenencies for C, C++ and Asm files.
    89 dep:
    90     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa\GL \
    91     *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    92     cd util
    93     $(MAKE_CMD) $@
    94     cd ..\tess
    95     $(MAKE_CMD) $@
    96     cd ..\nurbs
    97     $(MAKE_CMD) $@
    98     cd ..
    99 
    100 
    101 # Extra Clean.
    102 clean2:
    103     cd util
    104     $(MAKE_CMD) clean
    105     cd ..\tess
    106     $(MAKE_CMD) clean
    107     cd ..\nurbs
    108     $(MAKE_CMD) clean
    109     cd ..
    110 
    111 
     69#
    11270# Includes the common rules.
     71#
    11372!include $(PDWIN32_INCLUDE)/pdwin32.post
    11473
  • TabularUnified trunk/src/opengl/glu/nurbs/interface/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.6 2000-03-06 23:33:49 bird Exp $
     1# $Id: makefile,v 1.7 2000-11-19 08:58:13 bird Exp $
    22#
    33# PD-Win32 API
     
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1316
    1417
    15 # Local cleanup only.
    16 LOCALCLEAN = 1
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
    1723
    1824
     25#
    1926# Compiler, tools, and interference rules.
     27#
    2028!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2129
    2230
    23 # Flag overloads and local macros.
    24 CLEANEXTRAS =
    25 
    26 CINCLUDE    = -I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess \
    27               -I..\..\include  -I..\..\..\mesa
    28 
    29 CFLAGS      = $(CFLAGS) $(CINCLUDE)  -DNDEBUG
    30 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
     31#
     32# Flag overloads.
     33#
     34CINCLUDES   = $(CINCLUDES) -I..\..\..\mesa\GL -I..\.. -I..\internals \
     35              -I..\nurbtess -I..\..\include  -I..\..\..\mesa
     36CDEFINES    = $(CDEFINES) -DNDEBUG
    3137
    3238
    33 # Object files. All objects should be prefixed with $(OBJDIR)!
     39#
     40# Object files. Prefix with OBJDIR and one space before the '\'.
     41#
    3442OBJS = \
    3543$(OBJDIR)\glcurveval.obj \
     
    4452
    4553
     54#
    4655# Target name - name of the library without extention and path.
    47 TARGET = interface
     56#
     57TARGET  = interface
    4858
    4959
    50 # Create all libraries (not importlibraries)
    51 all:    $(OBJDIR) \
    52         $(OBJDIR)\$(TARGET).lib
     60#
     61# Includes the common rules.
     62#
     63!include $(PDWIN32_INCLUDE)/pdwin32.post
    5364
    5465
    55 # Create all libraries (not importlibraries)
    56 libs: all
    57 
    58 
    59 # Lib rule - build importlibrary (and evt. other libs)
    60 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    61     $(RM) $@
    62     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
     66#
     67# Additional dep rule - adds dependencies for some additional headers.
     68#
     69mydep:
     70    $(DEPEND) -a $(CINCLUDES) \
    6871        ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\GL\*.h
    6972
    70 
    71 # Includes the common rules.
    72 !include $(PDWIN32_INCLUDE)/pdwin32.post
    73 
  • TabularUnified trunk/src/opengl/glu/nurbs/internals/makefile

    r4308 r4624  
    1 # $Id: makefile,v 1.5 2000-09-22 10:43:31 bird Exp $
     1# $Id: makefile,v 1.6 2000-11-19 08:58:14 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1417
    1518
    16 # Local cleanup only.
    17 LOCALCLEAN = 1
     19#
     20# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     21#
     22LIBTARGET = 1
     23ADDITIONAL_DEP = mydep
    1824
    1925
     26#
    2027# Compiler, tools, and interference rules.
     28#
    2129!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2230
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE    = -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include
    28 CDEFS       = -DSTANDALONE -DLIBRARYBUILD -DNDEBUG
    29 
    30 CFLAGS      = $(CFLAGS) $(CINCLUDE) $(CDEFS) -O-
    31 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) $(CDEFS)
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include
     36CDEFINES    = $(CDEFINES)  -DSTANDALONE -DLIBRARYBUILD -DNDEBUG
     37CFLAGS      = $(CFLAGS) -O-
    3238
    3339
    34 # Object files. All objects should be prefixed with $(OBJDIR)!
     40#
     41# Object files. Prefix with OBJDIR and one space before the '\'.
     42#
    3543OBJS = \
    3644$(OBJDIR)\arc.obj \
     
    5967$(OBJDIR)\mesher.obj \
    6068$(OBJDIR)\monotonizer.obj \
    61 $(OBJDIR)\mycode.obj
    62 
    63 OBJS2 = \
     69$(OBJDIR)\mycode.obj \
    6470$(OBJDIR)\nurbsinterfac.obj \
    6571$(OBJDIR)\nurbstess.obj \
     
    8389
    8490
     91#
    8592# Target name - name of the library without extention and path.
     93#
    8694TARGET = internals
    8795
    8896
    89 # Create all libraries (not importlibraries)
    90 all:    $(OBJDIR) \
    91         $(OBJDIR)\$(TARGET).lib
     97#
     98# Includes the common rules.
     99#
     100!include $(PDWIN32_INCLUDE)/pdwin32.post
    92101
    93102
    94 # Create all libraries (not importlibraries)
    95 libs: all
    96 
    97 
    98 # Lib rule - build importlibrary (and evt. other libs)
    99 $(OBJDIR)\$(TARGET).lib: $(OBJS) $(OBJS2)
    100     $(RM) $@
    101     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    102     $(ILIB) $(ILIBFLAGS) $@ $(OBJS2);
    103 
    104 
    105 # Dep rule - makes depenencies for C, C++ and Asm files.
    106 dep:
    107     $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     103#
     104# Additional dep rule - adds dependencies for some additional headers.
     105#
     106mydep:
     107    $(DEPEND) -a $(CINCLUDES) \
    108108        ..\nurbtess\*.h ..\..\..\mesa\GL\*.h ..\..\include\*.h
    109109
    110 
    111 # Includes the common rules.
    112 !include $(PDWIN32_INCLUDE)/pdwin32.post
    113 
  • TabularUnified trunk/src/opengl/glu/nurbs/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.6 2000-03-06 23:33:48 bird Exp $
     1# $Id: makefile,v 1.7 2000-11-19 08:58:13 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\lib
     
    1417
    1518
     19#
    1620# Compiler, tools, and interference rules.
     21#
    1722!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1823
    1924
    20 # All, libs, dep and clean rule.
     25#
     26# Subdirectories to travers.
     27#
     28SUBDIRS = \
     29.\interface \
     30.\internals \
     31.\nurbtess
     32
     33
     34#
     35# Dummy all rule - nmake without target will make all targets of the first rule.
     36#
     37all_: all
     38
     39
     40#
     41# All, libs, dep and clean rules.
     42#
    2143clean dep all libs:
    22     cd interface
    23     $(MAKE_CMD) $@
    24     cd ..\internals
    25     $(MAKE_CMD) $@
    26     cd ..\nurbtess
    27     $(MAKE_CMD) $@
    28     cd ..
    29 
     44    $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) $@
  • TabularUnified trunk/src/opengl/glu/nurbs/nurbtess/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.4 2000-03-06 23:33:49 bird Exp $
     1# $Id: makefile,v 1.5 2000-11-19 08:58:14 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\..\lib
     
    1417
    1518
    16 # Local cleanup only.
    17 LOCALCLEAN = 1
     19#
     20# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     21#
     22LIBTARGET = 1
     23ADDITIONAL_DEP = mydep
    1824
    1925
     26#
    2027# Compiler, tools, and interference rules.
     28#
    2129!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2230
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE    = -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include
    28 CFLAGS      = $(CFLAGS) $(CINCLUDE) -DNDEBUG
    29 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include
     36CDEFINES    = $(CDEFINES)  -DNDEBUG
    3037
    3138
    32 # Object files. All objects should be prefixed with $(OBJDIR)!
     39#
     40# Object files. Prefix with OBJDIR and one space before the '\'.
     41#
    3342OBJS = \
    3443$(OBJDIR)\directedLine.obj \
     
    5362
    5463
     64#
    5565# Target name - name of the library without extention and path.
     66#
    5667TARGET = nurbtess
    5768
    5869
    59 # Create all libraries (not importlibraries)
    60 all:    $(OBJDIR) \
    61         $(OBJDIR)\$(TARGET).lib
     70#
     71# Includes the common rules.
     72#
     73!include $(PDWIN32_INCLUDE)/pdwin32.post
    6274
    6375
    64 # Create all libraries (not importlibraries)
    65 libs: all
    66 
    67 
    68 # Lib rule - build importlibrary (and evt. other libs)
    69 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    70     $(RM) $@
    71     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    72 
    73 
    74 # Dep rule - makes depenencies for C, C++ and Asm files.
    75 dep:
    76     $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     76#
     77# Additional dep rule - adds dependencies for some additional headers.
     78#
     79mydep:
     80    $(DEPEND) -a $(CINCLUDES) \
    7781        ..\..\mesa\*.h ..\nurbtess\*.h ..\internals\*.h ..\..\include\*.h
    7882
    79 
    80 # Includes the common rules.
    81 !include $(PDWIN32_INCLUDE)/pdwin32.post
    82 
  • TabularUnified trunk/src/opengl/glu/tess/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.4 2000-03-06 23:33:50 bird Exp $
     1# $Id: makefile,v 1.5 2000-11-19 08:58:14 bird Exp $
    22
    33#
     
    77#
    88
     9#
    910# Directory macros.
     11#
    1012PDWIN32_INCLUDE = ..\..\..\..\include
    1113PDWIN32_LIB     = ..\..\..\..\lib
     
    1416
    1517
    16 # Local cleanup only.
    17 LOCALCLEAN = 1
     18#
     19# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     20#
     21LIBTARGET = 1
     22ADDITIONAL_DEP = mydep
    1823
    1924
     25#
    2026# Compiler, tools, and interference rules.
     27#
    2128!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2229
    2330
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE    = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
    28 CDEFS       = -DNDEBUG -Tdp
    29 CFLAGS      = $(CFLAGS) $(CINCLUDE) $(CDEFS) -DNDEBUG
    30 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE) -$(CDEFS) -DNDEBUG
     31#
     32# Flag overloads.
     33#
     34CINCLUDES   = $(CINCLUDES) -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
     35CDEFINES    = $(CDEFINES) -DNDEBUG
     36CFLAGS      = $(CFLAGS) -Tdp
     37CXXFLAGS    = $(CXXFLAGS) -Tdp
    3138
    3239
    33 
    34 # Object files. All objects should be prefixed with $(OBJDIR)!
     40#
     41# Object files. Prefix with OBJDIR and one space before the '\'.
     42#
    3543OBJS= \
    3644$(OBJDIR)\dict.obj \
     
    4654
    4755
     56#
    4857# Target name - name of the library without extention and path.
     58#
    4959TARGET = tess
    5060
    5161
    52 # Create all libraries (not importlibraries)
    53 all:    $(OBJDIR) \
    54         $(OBJDIR)\$(TARGET).lib
     62#
     63# Includes the common rules.
     64#
     65!include $(PDWIN32_INCLUDE)/pdwin32.post
    5566
    5667
    57 # Create all libraries (not importlibraries)
    58 libs: all
    59 
    60 
    61 # Lib rule - build importlibrary (and evt. other libs)
    62 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    63     $(RM) $@
    64     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    65 
    66 
    67 # Dep rule - makes depenencies for C, C++ and Asm files.
    68 dep:
    69     $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     68#
     69# Additional dep rule - adds dependencies for some additional headers.
     70#
     71mydep:
     72    $(DEPEND) -a $(CINCLUDES) \
    7073        ..\..\mesa\*.h ..\*.h ..\include\*.h
    7174
    72 
    73 # Includes the common rules.
    74 !include $(PDWIN32_INCLUDE)/pdwin32.post
    75 
  • TabularUnified trunk/src/opengl/glu/util/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.4 2000-03-06 23:33:50 bird Exp $
     1# $Id: makefile,v 1.5 2000-11-19 08:58:15 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\..\lib
     
    1417
    1518
    16 # Local cleanup only.
    17 LOCALCLEAN = 1
     19#
     20# Tell buildenvironmet to build an object library and to invoke additional dep rule.
     21#
     22LIBTARGET = 1
     23ADDITIONAL_DEP = mydep
    1824
    1925
     26#
    2027# Compiler, tools, and interference rules.
     28#
    2129!include $(PDWIN32_INCLUDE)/pdwin32.mk
    2230
    2331
    24 # Flag overloads and local macros.
    25 CLEANEXTRAS =
    26 
    27 CINCLUDE    = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
    28 CFLAGS      = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
    29 CXXFLAGS    = $(CXXFLAGS) $(CINCLUDE)  -Tdp -DNDEBUG
     32#
     33# Flag overloads.
     34#
     35CINCLUDES   = $(CINCLUDES) -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL
     36CDEFINES    = $(CDEFINES) -DNDEBUG
     37CFLAGS      = $(CFLAGS) -Tdp
     38CXXFLAGS    = $(CXXFLAGS) -Tdp
     39!ifdef WAT
     40!error "Compiler not supported yet!"
     41!endif
    3042
    3143
    32 # Object files. All objects should be prefixed with $(OBJDIR)!
     44#
     45# Object files. Prefix with OBJDIR and one space before the '\'.
     46#
    3347OBJS = \
    3448$(OBJDIR)\error.obj \
     
    4054
    4155
     56#
    4257# Target name - name of the library without extention and path.
     58#
    4359TARGET = util
    4460
    4561
    46 # Create all libraries (not importlibraries)
    47 all:    $(OBJDIR) \
    48         $(OBJDIR)\$(TARGET).lib
     62#
     63# Includes the common rules.
     64#
     65!include $(PDWIN32_INCLUDE)/pdwin32.post
    4966
    5067
    51 # Create all libraries (not importlibraries)
    52 libs: all
    53 
    54 
    55 # Lib rule - build importlibrary (and evt. other libs)
    56 $(OBJDIR)\$(TARGET).lib: $(OBJS)
    57     $(RM) $@
    58     $(ILIB) $(ILIBFLAGS) $@ $(OBJS);
    59 
    60 
    61 # Dep rule - makes depenencies for C, C++ and Asm files.
    62 dep:
    63     $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
     68#
     69# Additional dep rule - adds dependencies for some additional headers.
     70#
     71mydep:
     72    $(DEPEND) -a $(CINCLUDES) \
    6473        ..\include\*.h ..\..\mesa\*.h ..\*.h
    6574
    66 
    67 # Includes the common rules.
    68 !include $(PDWIN32_INCLUDE)/pdwin32.post
    69 
  • TabularUnified trunk/src/opengl/glut/Makefile

    r3864 r4624  
    1 # $Id: Makefile,v 1.15 2000-07-19 19:05:15 sandervl Exp $
     1# $Id: Makefile,v 1.16 2000-11-19 08:58:15 bird Exp $
    22
    33#
     
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\lib
     
    1417
    1518
     19#
     20# Tell buildenvironmet to invoke additional dep rule.
     21#
     22ADDITIONAL_DEP = mydep
     23
     24
     25#
    1626# Compiler, tools, and interference rules.
     27#
    1728!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1829
    1930
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = 32rsrc.asm
    22 
    23 CFLAGS      = -I..\mesa\GL -I..\glu $(CFLAGS_WIN32APP) -I..\mesa
    24 CXXFLAGS    = -I..\mesa\GL -I..\glu $(CXXFLAGS_WIN32APP) -I..\mesa
     31#
     32# Overrides
     33#
     34CINCLUDES   = -I..\mesa\GL -I..\glu $(CINCLUDES) -I..\mesa
     35CDEFINES    = $(CDEFINES_WIN32APP)
     36CFLAGS      = $(CFLAGS_WIN32APP)
     37CXXFLAGS    = $(CXXFLAGS_WIN32APP)
    2538
    2639
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
     40#
     41# Object files. Prefix with OBJDIR and one space before the '\'.
     42#
    2843OBJS = \
    2944$(OBJDIR)\glut_8x13.obj \
     
    7994
    8095
    81 # Target name - name of the dll without extention and path.
    82 TARGET  = glut32
     96#
     97# Libraries. One space before the '\'.
     98#
     99LIBS = \
     100$(PDWIN32_LIB)/$(ODINCRT).lib \
     101$(RTLLIB_O) \
     102$(PDWIN32_LIB)\winmm.lib \
     103$(PDWIN32_LIB)\kernel32.lib \
     104$(PDWIN32_LIB)\gdi32.lib \
     105$(PDWIN32_LIB)\user32.lib \
     106$(PDWIN32_LIB)\glu32.lib \
     107$(PDWIN32_LIB)\opengl32.lib \
     108os2386.lib
    83109
    84110
    85 # All rule - build objs, target dll, copies dll to bin and makes libs.
    86 all:    $(OBJDIR) \
    87         $(OBJDIR)\$(TARGET).dll \
    88         $(PDWIN32_BIN)\$(TARGET).dll \
    89         lib
     111#
     112# Target name - name of the dll without extention and path.
     113#
     114TARGET = glut32
    90115
    91116
    92 # Lib rule - build importlibrary (and evt. other libs)
    93 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
     117#
     118# Includes the common rules.
     119#
     120!include $(PDWIN32_INCLUDE)/pdwin32.post
    94121
    95122
    96 # Dll rule - builds the target dll.
    97 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    98     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    99 
    100 
    101 # Linker file - creates the parameter file passed on to the linker.
    102 $(OBJDIR)\$(TARGET).lrf: makefile
    103     @echo Creating file <<$@
    104 /OUT:$(OBJDIR)\$(TARGET).dll
    105 /MAP:$(OBJDIR)\$(TARGET).map
    106 $(OBJS)
    107 $(PDWIN32_LIB)/$(ODINCRT).lib
    108 $(RTLLIB_O)
    109 $(PDWIN32_LIB)\WINMM.LIB
    110 $(PDWIN32_LIB)\KERNEL32.LIB
    111 $(PDWIN32_LIB)\GDI32.LIB
    112 $(PDWIN32_LIB)\USER32.LIB
    113 $(PDWIN32_LIB)\GLU32.LIB
    114 $(PDWIN32_LIB)\OPENGL32.LIB
    115 OS2386.LIB
    116 $(TARGET).def
    117 <<keep
    118 
    119 
    120 # Dep rule - makes depenencies for C, C++ and Asm files.
    121 dep:
    122     $(DEPEND) -I..\mesa\GL -I..\glu -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa \
     123#
     124# Additional dep rule - adds dependencies for some additional headers.
     125#
     126mydep:
     127    $(DEPEND) -a $(CINCLUDES) \
    123128        *.c *.cpp *.asm *.inc $(PDWIN32_INCLUDE)\*.h ..\mesa\gl\*.h
    124129
    125 
    126 # Includes the common rules.
    127 !include $(PDWIN32_INCLUDE)/pdwin32.post
    128 
  • TabularUnified trunk/src/opengl/makefile

    r3031 r4624  
    1 # $Id: makefile,v 1.17 2000-03-06 23:33:42 bird Exp $
     1# $Id: makefile,v 1.18 2000-11-19 08:58:10 bird Exp $
    22#
    33# Odin32 API
     
    66#
    77
    8 # Directories
    9 PDWIN32_INCLUDE = ..\..\include
    108
    119# Common tools macros. (MAKE_CMD)
    12 !include $(PDWIN32_INCLUDE)\pdwin32.mk
     10!include ../../include/pdwin32.mk
    1311
    1412
     
    1715
    1816
     17# Subdirectories.
     18SUBDIRS = \
     19.\mesa \
     20.\glu \
     21.\glut \
     22.\glide \
     23.\mesa\3dfx
     24
    1925# All, Lib, Clean and Dep rules.
    2026clean dep all lib:
    21     cd mesa
    22     $(MAKE_CMD) $@
    23     cd ..\glu
    24     $(MAKE_CMD) $@
    25     cd ..\glut
    26     $(MAKE_CMD) $@
    27     cd ..\glide
    28     $(MAKE_CMD) $@
    29     cd ..\mesa\3dfx
    30     $(MAKE_CMD) $@
    31     cd ..\..
     27    $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) $@
    3228
  • TabularUnified trunk/src/opengl/mesa/3dfx/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:16 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 08:58:16 bird Exp $
    22#
    33# Odin32 API
    44#
    5 # Makefile for Mesa OpenGL
     5#       Mesa/3dxf Makefile - opengl.dll.
    66#
    77
     8
     9#
    810# Directory macros.
     11#
    912PDWIN32_INCLUDE = ..\..\..\..\include
    1013PDWIN32_LIB     = ..\..\..\..\lib
    11 PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)
     14PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)\Glide
    1215PDWIN32_TOOLS   = ..\..\..\..\tools\bin
    1316
    1417
     18#
     19# Tell buildenvironment that we should not copy this into /bin.
     20#
     21NO_MAIN_BIN_COPY = 1
     22
     23
     24#
    1525# Compiler, tools, and interference rules.
     26#
    1627!include $(PDWIN32_INCLUDE)/pdwin32.mk
    17 MESADEFS= -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \
    18           -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \
    19           -DFX -DFX_V2 -DFX_SILENT -DBUILD_GL32 -DFAST_MATH
    2028
    21 CFLAGS   = -I.. -I..\GL $(CFLAGS_WIN32APP) -I..\..\glut -I..\..\glide\cvg\glide -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc $(MESADEFS) /Wcnd- /Tdp
    22 CXXFLAGS = -I.. -I..\GL $(CXXFLAGS_WIN32APP) -I..\..\glut -I..\..\glide\cvg\glide -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc $(MESADEFS)
    2329
    24 ASFLAGS=$(ASFLAGS) -Fdo:$(OBJDIR)
     30#
     31# Overrides.
     32#
     33CINCLUDES   = -I.. -I..\GL $(CINCLUDES) -I..\..\glut -I..\..\glide\cvg\glide \
     34              -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc
     35CDEFINES    = $(CDEFINES_WIN32APP) \
     36              -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \
     37              -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \
     38              -DFX -DFX_V2 -DFX_SILENT -DBUILD_GL32 -DFAST_MATH
     39
     40CFLAGS      = $(CFLAGS) /Wcnd- /Tdp
     41!ifdef WAT
     42!error "Compiler not supported yet!"
     43!endif
    2544
    2645
    2746#
    2847# Interference rule for sources in the parent directory.
     48#   This is BAD! Try make library in parent directory? Problem with different objects.
    2949#
    3050{..}.c{$(OBJDIR)}.obj:
    31     $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj $<
     51    $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -c -Fo$(OBJDIR)\$(@B).obj $<
    3252
    3353{..}.asm{$(OBJDIR)}.obj:
     
    3555
    3656
    37 # Object files. All objects should be prefixed with $(OBJDIR)!
     57#
     58# Object files. Prefix with OBJDIR and one space before the '\'.
     59#
    3860OBJS = \
    3961$(OBJDIR)\fxapi.obj \
     
    133155$(OBJDIR)\common_x86.obj \
    134156$(OBJDIR)\mmx_blend.obj \
    135 $(OBJDIR)\vertex.obj
     157$(OBJDIR)\vertex.obj \
     158$(OBJDIR)\mem.obj
    136159
    137160
     161#
     162# Libraries. One space before the '\'.
     163#
     164LIBS = \
     165$(PDWIN32_LIB)/$(ODINCRT).lib \
     166$(PDWIN32_LIB)\kernel32.lib \
     167$(PDWIN32_LIB)\gdi32.lib \
     168$(PDWIN32_LIB)\user32.lib \
     169$(PDWIN32_LIB)\glide2x.lib \
     170$(RTLLIB_O) \
     171os2386.lib
     172
     173
     174#
    138175# Target name - name of the dll without extention and path.
     176#
    139177TARGET = opengl32
    140178
    141179
    142 # All rule - build objs, target dll, copies dll to bin and makes libs.
    143 all:    $(OBJDIR) \
    144         $(OBJDIR)\$(TARGET).dll \
    145         $(PDWIN32_BIN)\Glide\$(TARGET).dll \
    146         lib
     180#
     181# Includes the common rules.
     182#
     183!include $(PDWIN32_INCLUDE)/pdwin32.post
    147184
    148185
    149 # Lib rule - build importlibrary (and evt. other libs)
    150 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
     186#
     187# Additional dep rule - adds dependencies for some additional headers.
     188#
     189mydep:
     190    $(DEPEND) -a $(CINCLUDES) \
     191        ..\*.c ..\*.asm ..\*.h ..\GL\*.h ..\..\glut\*.h ..\..\glide\cvg\glide\*.h \
     192        ..\..\glide\swlibs\fxmisc\*.h ..\..\glide\cvg\incsrc\*.h
    151193
    152 
    153 # Dll rule - builds the target dll.
    154 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    155     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    156 
    157 
    158 # Linker file - creates the parameter file passed on to the linker.
    159 $(OBJDIR)\$(TARGET).lrf: makefile
    160     @echo Creating file <<$@
    161 /OUT:$(OBJDIR)\$(TARGET).dll
    162 /MAP:$(OBJDIR)\$(TARGET).map
    163 $(OBJS)
    164 $(PDWIN32_LIB)/$(ODINCRT).lib
    165 $(PDWIN32_LIB)\KERNEL32.LIB
    166 $(PDWIN32_LIB)\GDI32.LIB
    167 $(PDWIN32_LIB)\USER32.LIB
    168 $(PDWIN32_LIB)\glide2x.lib
    169 $(RTLLIB_O)
    170 OS2386.LIB
    171 $(TARGET).def
    172 <<keep
    173 
    174 
    175 # Copy rule.
    176 $(PDWIN32_BIN)\Glide\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll
    177     $(CP) $** $@
    178 
    179 
    180 # Dep rule - makes depenencies for C, C++ and Asm files.
    181 dep:
    182     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\..\glut -I..\GL -I.. -I$(PDWIN32_INCLUDE)\glide \
    183         *.c *.cpp *.h *.asm *.inc ..\*.c $(PDWIN32_INCLUDE)\*.h
    184 
    185 
    186 # Includes the common rules.
    187 !include $(PDWIN32_INCLUDE)/pdwin32.post
    188 
  • TabularUnified trunk/src/opengl/mesa/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.8 2000-07-19 19:05:15 sandervl Exp $
     1# $Id: makefile,v 1.9 2000-11-19 08:58:15 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 # Makefile for Mesa OpenGL
     6#       Mesa Makefile - opengl.dll
    77#
    88
     9
     10#
    911# Directory macros.
     12#
    1013PDWIN32_INCLUDE = ..\..\..\include
    1114PDWIN32_LIB     = ..\..\..\lib
     
    1417
    1518
     19#
    1620# Compiler, tools, and interference rules.
     21#
    1722!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1823
    19 # Flag overloads and local macros.
    20 CLEANEXTRAS = lz32rsrc.asm
     24
     25#
     26# Overrides. We have to compile this as a WIN32APP.
     27#
     28CINCLUDES   = -I. -IGL $(CINCLUDES) -I..\glut
     29CDEFINES    = $(CDEFINES_WIN32APP) \
     30              -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \
     31              -DDIVE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \
     32              -DFAST_MATH
     33CFLAGS      = $(CFLAGS_WIN32APP) /Wcnd- -Tdp
     34CXXFLAGS    = $(CFLAGS_WIN32APP) /Wcnd- -Tdp
     35!ifdef WAT
     36!error "Compiler not supported yet!"
     37!endif
    2138
    2239
    23 MESADEFS = -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \
    24            -DDIVE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \
    25            -DFAST_MATH -Tdp
    26 CFLAGS   = -I. -IGL $(CFLAGS_WIN32APP)   -I..\glut $(MESADEFS) /Wcnd-
    27 CXXFLAGS = -I. -IGL $(CXXFLAGS_WIN32APP) -I..\glut $(MESADEFS) /Wcnd-
    28 
    29 
    30 # Object files. All objects should be prefixed with $(OBJDIR)!
     40#
     41# Object files. Prefix with OBJDIR and one space before the '\'.
     42#
    3143OBJS = \
    3244$(OBJDIR)\wgl.obj \
     
    118130
    119131
     132#
     133# Libraries. One space before the '\'.
     134#
     135LIBS = \
     136$(PDWIN32_LIB)/$(ODINCRT).lib \
     137$(PDWIN32_LIB)\kernel32.lib \
     138$(PDWIN32_LIB)\gdi32.lib \
     139$(PDWIN32_LIB)\user32.lib \
     140$(RTLLIB_O) \
     141os2386.lib \
     142mmpm2.lib
     143
     144
     145#
    120146# Target name - name of the dll without extention and path.
     147#
    121148TARGET = opengl32
    122149
    123150
    124 # All rule - build objs, target dll, copies dll to bin and makes libs.
    125 all:    $(OBJDIR) \
    126         $(OBJDIR)\$(TARGET).dll \
    127         $(PDWIN32_BIN)\$(TARGET).dll \
    128         lib
     151#
     152# Includes the common rules.
     153#
     154!include $(PDWIN32_INCLUDE)/pdwin32.post
    129155
    130156
    131 # Lib rule - build importlibrary (and evt. other libs)
    132 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
     157#
     158# Libs rule to support objectlibrary used by 3dxf.
     159#
     160libs: $(OBJDIR)\$(TARGET).lib
    133161
    134162
    135 # Dll rule - builds the target dll.
    136 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    137     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
     163#
     164# Internal objectlibrary rule.
     165#
     166$(OBJDIR)\$(TARGET).lib: $(OBJS)
     167!if "$(VAC3)" == "1" | "$(VAC36)" == "1"
     168    $(RM) $(OBJDIR)\$(TARGET)
     169    $(ILIB) $(ILIBFLAGS) $@ @<<
     170$(OBJS:  = &^
     171)
     172$(OBJDIR)\$(@B).lst
     173<<
     174!else
     175!   error "Compiler is not yet supported."
     176!endif
    138177
    139178
    140 # Linker file - creates the parameter file passed on to the linker.
    141 $(OBJDIR)\$(TARGET).lrf: makefile
    142     @echo Creating file <<$@
    143 /OUT:$(OBJDIR)\$(TARGET).dll
    144 /MAP:$(OBJDIR)\$(TARGET).map
    145 $(OBJS)
    146 $(PDWIN32_LIB)/$(ODINCRT).lib
    147 $(PDWIN32_LIB)\KERNEL32.LIB
    148 $(PDWIN32_LIB)\GDI32.LIB
    149 $(PDWIN32_LIB)\USER32.LIB
    150 $(RTLLIB_O)
    151 OS2386.LIB
    152 MMPM2.LIB
    153 $(TARGET).def
    154 <<keep
     179#
     180# Additional dep rule - adds dependencies for some additional headers.
     181#
     182mydep:
     183    $(DEPEND) -a $(CINCLUDES) \
     184        .\gl\*.h ..\glut\*.h
    155185
    156 
    157 
    158 # Dep rule - makes depenencies for C, C++ and Asm files.
    159 dep:
    160     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -IGL \
    161         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    162 
    163 
    164 # Includes the common rules.
    165 !include $(PDWIN32_INCLUDE)/pdwin32.post
    166 
  • TabularUnified trunk/src/peldr/makefile

    r4501 r4624  
    1 # $Id: makefile,v 1.17 2000-10-20 11:45:25 sandervl Exp $
     1# $Id: makefile,v 1.18 2000-11-19 08:57:04 bird Exp $
    22
    33#
    44# Odin32 API
    55#
    6 #       pe.exe makefile
     6#       pe.exe and pec.exe makefile
    77#
    88
    9 # Tell that we're producing an executable
    10 EXETARGET = 1
    119
    12 # Directory macros.
    13 PDWIN32_INCLUDE = ..\..\include
    14 PDWIN32_LIB     = ..\..\lib
    15 PDWIN32_BIN     = ..\..\$(OBJDIR)
    16 PDWIN32_TOOLS   = ..\..\tools\bin
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1714
    1815
    19 # Compiler, tools, and interference rules.
    20 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17# Generic rules which forwards to the real makefiles.
     18#   The all rule has to stand alone, else make will make all the rules if it
     19#   is invoked without any target.
     20#
     21_all: all
     22
     23all clean:  # add all common rules here
     24    $(MAKE_CMD) -f pe.mak $@
     25    $(MAKE_CMD) -f pec.mak $@
    2126
    2227
    23 # Flag overloads and local macros.
    24 CLEANEXTRAS = $(PDWIN32_BIN)\$(TARGET).exe
     28# don't have to make deps more than once.
     29dep:
     30    $(MAKE_CMD) -f pe.mak $@
    2531
    2632
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
    28 OBJS = $(OBJDIR)\pe.obj
    29 OBJS1= $(OBJDIR)\pec.obj
    30 
    31 # Target name - name of the dll without extention and path.
    32 TARGET  = pe
    33 TARGET1 = pec
    34 
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).exe \
    38         $(PDWIN32_BIN)\$(TARGET).exe \
    39         $(OBJDIR)\$(TARGET1).exe \
    40         $(PDWIN32_BIN)\$(TARGET1).exe
    41 
    42 
    43 # Lib rule - dummy rule.
     33# dummy rule.
    4434lib:
    4535
    4636
    47 # Exe rule - builds the target exe.
    48 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(OBJDIR)\$(TARGET).lrf
    49     $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf
     37#
     38# Do not includes the common rules.
     39#
    5040
    51 $(OBJDIR)\$(TARGET1).exe: $(OBJS1) $(OBJDIR)\$(TARGET1).lrf
    52     $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET1).lrf
    53 
    54 $(PDWIN32_BIN)\$(TARGET1).exe: $(OBJDIR)\$(TARGET1).exe
    55     cd $(OBJDIR)
    56     $(MAPSYM) $(TARGET1).map
    57     cd ..\..
    58     $(CP) $(OBJDIR)\$(TARGET1).sym $(PDWIN32_BIN)
    59     $(CP) $** $@
    60     -$(CP) $** $(@D)..\..\$(@F)
    61     -$(CP) $(OBJDIR)\$(TARGET1).sym $(@D)..\..
    62 
    63 $(OBJDIR)\pec.obj:   pe.cpp
    64     $(CC) -C $(CXXFLAGS) -DCOMMAND_LINE_VERSION -Fo$@ pe.cpp
    65 
    66 # Linker file - creates the parameter file passed on to the linker.
    67 $(OBJDIR)\$(TARGET).lrf: makefile
    68     @echo Creating file <<$@
    69 /OUT:$(OBJDIR)\$(TARGET).exe
    70 /MAP:$(OBJDIR)\$(TARGET).map
    71 /PMTYPE:pm
    72 /STACK:0x100000
    73 /NOBASE
    74 $(OBJS)
    75 os2386.lib
    76 <<keep
    77 
    78 
    79 $(OBJDIR)\$(TARGET1).lrf: makefile
    80     @echo Creating file <<$@
    81 /OUT:$(OBJDIR)\$(TARGET1).exe
    82 /MAP:$(OBJDIR)\$(TARGET1).map
    83 /PMTYPE:vio
    84 /STACK:0x100000
    85 /NOBASE
    86 $(OBJS1)
    87 os2386.lib
    88 <<keep
    89 
    90 # Dep rule - makes depenencies for C, C++ and Asm files.
    91 dep:
    92     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    93         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    94 
    95 
    96 # Includes the common rules.
    97 !include $(PDWIN32_INCLUDE)/pdwin32.post
    98 
  • TabularUnified trunk/src/psapi/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.9 2000-07-19 19:05:16 sandervl Exp $
     1# $Id: makefile,v 1.10 2000-11-19 08:53:32 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = psapirsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\psapi.obj \
    2721$(OBJDIR)\psapirsrc.obj \
    28 $(PDWIN32_LIB)/dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = psapi
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/rasapi32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.10 2000-07-19 19:05:21 sandervl Exp $
     1# $Id: makefile,v 1.11 2000-11-19 08:51:45 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = rasapi32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\rasapi32.obj \
    2721$(OBJDIR)\rasapi32rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/$(ODINCRT).lib \
     31OS2386.LIB \
     32$(RTLLIB_O)
     33
     34
     35#
    3136# Target name - name of the dll without extention and path.
     37#
    3238TARGET = rasapi32
    3339
    3440
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/$(ODINCRT).lib
    59 OS2386.LIB
    60 $(RTLLIB_O)
    61 $(TARGET).def
    62 <<keep
    63 
    64 
    65 # Dep rule - makes depenencies for C, C++ and Asm files.
    66 dep:
    67     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    68         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    69 
    70 
     41#
    7142# Includes the common rules.
     43#
    7244!include $(PDWIN32_INCLUDE)/pdwin32.post
    7345
  • TabularUnified trunk/src/riched32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.2 2000-07-19 19:05:21 sandervl Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:51:27 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17# Overrides.
     18#
     19CDEFINES = $(CDEFINES) -DWIN32 -DSTDARG -DTHINK_C
    1820
    1921
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = twain_32rsrc.asm
    22 
    23 CFLAGS = $(CFLAGS) -DWIN32
    24 CXXFLAGS = $(CXXFLAGS) -DWIN32
    25 
    26 
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
     22#
     23# Object files. Prefix with OBJDIR and one space before the '\'.
     24#
    2825OBJS = \
    2926$(OBJDIR)\reader.obj \
     
    3532
    3633
     34#
     35# Libraries. One space before the '\'.
     36#
     37LIBS = \
     38$(PDWIN32_LIB)/kernel32.lib \
     39$(PDWIN32_LIB)/user32.lib \
     40$(PDWIN32_LIB)/$(ODINCRT).lib \
     41OS2386.LIB \
     42$(RTLLIB_O)
     43
     44
     45#
    3746# Target name - name of the dll without extention and path.
     47#
    3848TARGET = riched32
    3949
    4050
    41 CFLAGS   = $(CFLAGS) -DSTDARG -DTHINK_C
    42 CXXFLAGS = $(CXXFLAGS) -DSTDARG -DTHINK_C
    43 
    44 # All rule - build objs, target dll, copies dll to bin and makes libs.
    45 all:    $(OBJDIR) \
    46         $(OBJDIR)\$(TARGET).dll \
    47         $(PDWIN32_BIN)\$(TARGET).dll \
    48         lib
    49 
    50 
    51 # Lib rule - build importlibrary (and evt. other libs)
    52 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    53 
    54 
    55 # Dll rule - builds the target dll.
    56 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    57     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    58 
    59 
    60 # Linker file - creates the parameter file passed on to the linker.
    61 $(OBJDIR)\$(TARGET).lrf: makefile
    62     @echo Creating file <<$@
    63 /OUT:$(OBJDIR)\$(TARGET).dll
    64 /MAP:$(OBJDIR)\$(TARGET).map
    65 $(OBJS)
    66 $(PDWIN32_LIB)/kernel32.lib
    67 $(PDWIN32_LIB)/user32.lib
    68 $(PDWIN32_LIB)/$(ODINCRT).lib
    69 OS2386.LIB
    70 $(RTLLIB_O)
    71 $(TARGET).def
    72 <<keep
    73 
    74 
    75 # Dep rule - makes depenencies for C, C++ and Asm files.
    76 dep:
    77     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    78         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    79 
    80 
     51#
    8152# Includes the common rules.
     53#
    8254!include $(PDWIN32_INCLUDE)/pdwin32.post
    8355
  • TabularUnified trunk/src/rpcrt4/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.3 2000-07-19 19:05:21 sandervl Exp $
     1# $Id: makefile,v 1.4 2000-11-19 08:50:47 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = rpcrt4rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\binding.obj \
     
    3428$(OBJDIR)\uuid.obj
    3529
     30
     31#
     32# Libraries. One space before the '\'.
     33#
     34LIBS = \
     35$(PDWIN32_LIB)/kernel32.lib \
     36$(PDWIN32_LIB)/$(ODINCRT).lib \
     37OS2386.LIB \
     38so32dll.lib \
     39$(RTLLIB_O)
     40
     41
     42#
    3643# Target name - name of the dll without extention and path.
     44#
    3745TARGET = rpcrt4
    3846
    3947
    40 # All rule - build objs, target dll, copies dll to bin and makes libs.
    41 all:    $(OBJDIR) \
    42         $(OBJDIR)\$(TARGET).dll \
    43         $(PDWIN32_BIN)\$(TARGET).dll \
    44         lib
    45 
    46 
    47 # Lib rule - build importlibrary (and evt. other libs)
    48 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    49 
    50 
    51 # Dll rule - builds the target dll.
    52 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    53     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    54 
    55 
    56 # Linker file - creates the parameter file passed on to the linker.
    57 $(OBJDIR)\$(TARGET).lrf: makefile
    58     @echo Creating file <<$@
    59 /OUT:$(OBJDIR)\$(TARGET).dll
    60 /MAP:$(OBJDIR)\$(TARGET).map
    61 $(OBJS)
    62 $(PDWIN32_LIB)/kernel32.lib
    63 $(PDWIN32_LIB)/$(ODINCRT).lib
    64 OS2386.LIB
    65 so32dll.lib
    66 $(RTLLIB_O)
    67 $(TARGET).def
    68 <<keep
    69 
    70 
    71 # Dep rule - makes depenencies for C, C++ and Asm files.
    72 dep:
    73     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win;. \
    74         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    75 
    76 
     48#
    7749# Includes the common rules.
     50#
    7851!include $(PDWIN32_INCLUDE)/pdwin32.post
    7952
  • TabularUnified trunk/src/shell32/makefile

    r4581 r4624  
    1 # $Id: makefile,v 1.29 2000-11-09 21:09:53 sandervl Exp $
     1# $Id: makefile,v 1.30 2000-11-19 08:50:16 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
    149
     10#
    1511# Compiler, tools, and interference rules.
    16 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    17 
    18 # Flag overloads and local macros.
    19 CLEANEXTRAS = shres.asm
    20 
    21 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
    22 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
     12#
     13!include ../../include/pdwin32.mk
    2314
    2415
    25 # Object files. All objects should be prefixed with $(OBJDIR)!
    26 OBJS =  \
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
     19OBJS = \
    2720$(OBJDIR)\initterm.obj \
    2821$(OBJDIR)\brsfolder.obj \
     
    6356
    6457
     58#
     59# Libraries. One space before the '\'.
     60#
     61LIBS = \
     62$(PDWIN32_LIB)/kernel32.lib \
     63$(PDWIN32_LIB)/user32.lib \
     64$(PDWIN32_LIB)/advapi32.lib \
     65$(PDWIN32_LIB)/gdi32.lib \
     66$(PDWIN32_LIB)/ole32.lib \
     67$(PDWIN32_LIB)/version.lib \
     68$(PDWIN32_LIB)/comctl32.lib \
     69$(PDWIN32_LIB)/$(ODINCRT).lib \
     70$(PDWIN32_LIB)/pmwinx.lib \
     71$(PDWIN32_LIB)/shlwapi.lib \
     72OS2386.LIB \
     73$(RTLLIB_O)
     74
     75
     76#
    6577# Target name - name of the dll without extention and path.
     78#
    6679TARGET = shell32
    6780
    6881
    69 # All rule - build objs, target dll, copies dll to bin and makes libs.
    70 all:    $(OBJDIR) \
    71         $(OBJDIR)\$(TARGET).dll \
    72         $(PDWIN32_BIN)\$(TARGET).dll \
    73         lib
    74 
    75 
    76 # Lib rule - build importlibrary (and evt. other libs)
    77 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    78 
    79 
    80 # Dll rule - builds the target dll.
    81 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    82     -4$(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    83 
    84 
    85 # Linker file - creates the parameter file passed on to the linker.
    86 $(OBJDIR)\$(TARGET).lrf: makefile
    87     @echo Creating file <<$@
    88 /OUT:$(OBJDIR)\$(TARGET).dll
    89 /MAP:$(OBJDIR)\$(TARGET).map
    90 $(OBJS)
    91 $(PDWIN32_LIB)/pmwinx.lib
    92 $(PDWIN32_LIB)/kernel32.lib
    93 $(PDWIN32_LIB)/user32.lib
    94 $(PDWIN32_LIB)/advapi32.lib
    95 $(PDWIN32_LIB)/gdi32.lib
    96 $(PDWIN32_LIB)/ole32.lib
    97 $(PDWIN32_LIB)/version.lib
    98 $(PDWIN32_LIB)/comctl32.lib
    99 $(PDWIN32_LIB)/$(ODINCRT).lib
    100 $(PDWIN32_LIB)/shlwapi.lib
    101 OS2386.LIB
    102 $(RTLLIB_O)
    103 $(TARGET).def
    104 <<keep
    105 
    106 
    107 # Dep rule - makes depenencies for C, C++ and Asm files.
    108 dep:
    109     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    110         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    111 
    112 
    113 $(OBJDIR)\shres.obj: shell32_Ca.orc \
    114 shell32_Cs.orc \
    115 shell32_Da.orc \
    116 shell32_De.orc \
    117 shell32_En.orc \
    118 shell32_Eo.orc \
    119 shell32_Es.orc \
    120 shell32_Fi.orc \
    121 shell32_Fr.orc \
    122 shell32_Hu.orc \
    123 shell32_It.orc \
    124 shell32_Nl.orc \
    125 shell32_No.orc \
    126 shell32_Pl.orc \
    127 shell32_Pt.orc \
    128 shell32_Ru.orc \
    129 shell32_Sv.orc \
    130 shell32_Wa.orc \
    131 shell32_xx.orc \
    132 shres.orc \
    133 
    134 
     82#
    13583# Includes the common rules.
     84#
    13685!include $(PDWIN32_INCLUDE)/pdwin32.post
    13786
  • TabularUnified trunk/src/shfolder/makefile

    r4094 r4624  
    1 # $Id: makefile,v 1.2 2000-08-25 12:36:11 sandervl Exp $
     1# $Id: makefile,v 1.3 2000-11-19 08:49:45 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
     19OBJS = \
     20$(OBJDIR)\shfolderrsrc.obj \
     21$(DLLENTRY)
    1822
    1923
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = shlwapirsrc.asm
     24#
     25# Libraries. One space before the '\'.
     26#
     27LIBS = \
     28$(PDWIN32_LIB)/kernel32.lib \
     29$(PDWIN32_LIB)/user32.lib \
     30$(PDWIN32_LIB)/shell32.lib \
     31$(PDWIN32_LIB)/$(ODINCRT).lib \
     32OS2386.LIB \
     33$(RTLLIB_O)
    2234
    2335
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
    25 OBJS = \
    26 $(OBJDIR)\shfolderrsrc.obj \
    27 $(PDWIN32_LIB)/dllentry.obj
    28 
    29 
     36#
    3037# Target name - name of the dll without extention and path.
     38#
    3139TARGET = shfolder
    3240
    3341
    34 # All rule - build objs, target dll, copies dll to bin and makes libs.
    35 all:    $(OBJDIR) \
    36         $(OBJDIR)\$(TARGET).dll \
    37         $(PDWIN32_BIN)\$(TARGET).dll \
    38         lib
    39 
    40 
    41 # Lib rule - build importlibrary (and evt. other libs)
    42 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    43 
    44 
    45 # Dll rule - builds the target dll.
    46 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    47     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    48 
    49 
    50 # Linker file - creates the parameter file passed on to the linker.
    51 $(OBJDIR)\$(TARGET).lrf: makefile
    52     @echo Creating file <<$@
    53 /OUT:$(OBJDIR)\$(TARGET).dll
    54 /MAP:$(OBJDIR)\$(TARGET).map
    55 $(OBJS)
    56 $(PDWIN32_LIB)/kernel32.lib
    57 $(PDWIN32_LIB)/user32.lib
    58 $(PDWIN32_LIB)/shell32.lib
    59 $(PDWIN32_LIB)/$(ODINCRT).lib
    60 OS2386.LIB
    61 $(RTLLIB_O)
    62 $(TARGET).def
    63 <<keep
    64 
    65 
    66 # Dep rule - makes depenencies for C, C++ and Asm files.
    67 dep:
    68     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    69         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    70 
    71 
     42#
    7243# Includes the common rules.
     44#
    7345!include $(PDWIN32_INCLUDE)/pdwin32.post
    7446
  • TabularUnified trunk/src/shlwapi/makefile

    r4081 r4624  
    1 # $Id: makefile,v 1.18 2000-08-24 09:32:42 sandervl Exp $
     1# $Id: makefile,v 1.19 2000-11-19 08:49:02 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = shlwapirsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\shlwapi.obj \
     
    3630$(OBJDIR)\shlwapirsrc.obj \
    3731$(OBJDIR)\ordinal.obj \
    38 $(PDWIN32_LIB)/dllentry.obj
     32$(DLLENTRY)
    3933
    4034
     35#
     36# Libraries. One space before the '\'.
     37#
     38LIBS = \
     39$(PDWIN32_LIB)/kernel32.lib \
     40$(PDWIN32_LIB)/user32.lib \
     41$(PDWIN32_LIB)/gdi32.lib \
     42$(PDWIN32_LIB)/crtdll.lib \
     43$(PDWIN32_LIB)/$(ODINCRT).lib \
     44OS2386.LIB \
     45$(RTLLIB_O)
     46
     47
     48#
    4149# Target name - name of the dll without extention and path.
     50#
    4251TARGET = shlwapi
    4352
    4453
    45 # All rule - build objs, target dll, copies dll to bin and makes libs.
    46 all:    $(OBJDIR) \
    47         $(OBJDIR)\$(TARGET).dll \
    48         $(PDWIN32_BIN)\$(TARGET).dll \
    49         lib
    50 
    51 
    52 # Lib rule - build importlibrary (and evt. other libs)
    53 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    54 
    55 
    56 # Dll rule - builds the target dll.
    57 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    58     -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    59 
    60 
    61 # Linker file - creates the parameter file passed on to the linker.
    62 $(OBJDIR)\$(TARGET).lrf: makefile
    63     @echo Creating file <<$@
    64 /OUT:$(OBJDIR)\$(TARGET).dll
    65 /MAP:$(OBJDIR)\$(TARGET).map
    66 $(OBJS)
    67 $(PDWIN32_LIB)/kernel32.lib
    68 $(PDWIN32_LIB)/user32.lib
    69 $(PDWIN32_LIB)/gdi32.lib
    70 $(PDWIN32_LIB)/$(ODINCRT).lib
    71 $(PDWIN32_LIB)/crtdll.lib
    72 OS2386.LIB
    73 $(RTLLIB_O)
    74 $(TARGET).def
    75 <<keep
    76 
    77 
    78 # Dep rule - makes depenencies for C, C++ and Asm files.
    79 dep:
    80     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    81         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    82 
    83 
     54#
    8455# Includes the common rules.
     56#
    8557!include $(PDWIN32_INCLUDE)/pdwin32.post
    8658
  • TabularUnified trunk/src/tapi32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.15 2000-07-19 19:05:22 sandervl Exp $
     1# $Id: makefile,v 1.16 2000-11-19 08:48:32 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    18 
    19 
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = tapi32rsrc.asm
    22 
    23 
    24 # Object files. All objects should be prefixed with $(OBJDIR)!
     16#
     17# Object files. Prefix with OBJDIR and one space before the '\'.
     18#
    2519OBJS = \
    2620$(OBJDIR)\tapi32.obj \
    2721$(OBJDIR)\tapi32rsrc.obj \
    28 $(PDWIN32_LIB)\dllentry.obj
     22$(DLLENTRY)
    2923
    3024
     25#
     26# Libraries. One space before the '\'.
     27#
     28LIBS = \
     29$(PDWIN32_LIB)/kernel32.lib \
     30$(PDWIN32_LIB)/user32.lib \
     31$(PDWIN32_LIB)/$(ODINCRT).lib \
     32OS2386.LIB \
     33$(RTLLIB_O)
     34
     35
     36#
    3137# Target name - name of the dll without extention and path.
     38#
    3239TARGET = tapi32
    3340
    3441
    35 # All rule - build objs, target dll, copies dll to bin and makes libs.
    36 all:    $(OBJDIR) \
    37         $(OBJDIR)\$(TARGET).dll \
    38         $(PDWIN32_BIN)\$(TARGET).dll \
    39         lib
    40 
    41 
    42 # Lib rule - build importlibrary (and evt. other libs)
    43 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    44 
    45 
    46 # Dll rule - builds the target dll.
    47 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    48     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    49 
    50 
    51 # Linker file - creates the parameter file passed on to the linker.
    52 $(OBJDIR)\$(TARGET).lrf: makefile
    53     @echo Creating file <<$@
    54 /OUT:$(OBJDIR)\$(TARGET).dll
    55 /MAP:$(OBJDIR)\$(TARGET).map
    56 $(OBJS)
    57 $(PDWIN32_LIB)/kernel32.lib
    58 $(PDWIN32_LIB)/user32.lib
    59 $(PDWIN32_LIB)/$(ODINCRT).lib
    60 OS2386.LIB
    61 $(RTLLIB_O)
    62 $(TARGET).def
    63 <<keep
    64 
    65 
    66 # Dep rule - makes depenencies for C, C++ and Asm files.
    67 dep:
    68     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    69         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    70 
    71 
     42#
    7243# Includes the common rules.
     44#
    7345!include $(PDWIN32_INCLUDE)/pdwin32.post
    7446
  • TabularUnified trunk/src/twain_32/makefile

    r3864 r4624  
    1 # $Id: makefile,v 1.6 2000-07-19 19:05:23 sandervl Exp $
     1# $Id: makefile,v 1.7 2000-11-19 08:47:57 bird Exp $
    22
    33#
     
    77#
    88
    9 # Directory macros.
    10 PDWIN32_INCLUDE = ..\..\include
    11 PDWIN32_LIB     = ..\..\lib
    12 PDWIN32_BIN     = ..\..\$(OBJDIR)
    13 PDWIN32_TOOLS   = ..\..\tools\bin
     9
     10#
     11# Compiler, tools, and interference rules.
     12#
     13!include ../../include/pdwin32.mk
    1414
    1515
    16 # Compiler, tools, and interference rules.
    17 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     16#
     17# Overrides.
     18#
     19CDEFINES = $(CDEFINES) -DWIN32
    1820
    1921
    20 # Flag overloads and local macros.
    21 CLEANEXTRAS = twain_32rsrc.asm
    22 
    23 CFLAGS = $(CFLAGS) -DWIN32
    24 CXXFLAGS = $(CXXFLAGS) -DWIN32
    25 
    26 
    27 # Object files. All objects should be prefixed with $(OBJDIR)!
     22#
     23# Object files. Prefix with OBJDIR and one space before the '\'.
     24#
    2825OBJS = \
    2926$(OBJDIR)\twain_32.obj \
     
    3229
    3330
     31#
     32# Libraries. One space before the '\'.
     33#
     34LIBS = \
     35$(PDWIN32_LIB)/kernel32.lib \
     36$(PDWIN32_LIB)/user32.lib \
     37$(PDWIN32_LIB)/$(ODINCRT).lib \
     38$(PDWIN32_LIB)/pmwinx.lib \
     39OS2386.LIB \
     40$(RTLLIB_O)
     41
     42
     43#
    3444# Target name - name of the dll without extention and path.
     45#
    3546TARGET = twain_32
    3647
    3748
    38 # All rule - build objs, target dll, copies dll to bin and makes libs.
    39 all:    $(OBJDIR) \
    40         $(OBJDIR)\$(TARGET).dll \
    41         $(PDWIN32_BIN)\$(TARGET).dll \
    42         lib
    43 
    44 
    45 # Lib rule - build importlibrary (and evt. other libs)
    46 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
    47 
    48 
    49 # Dll rule - builds the target dll.
    50 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
    51     $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
    52 
    53 
    54 # Linker file - creates the parameter file passed on to the linker.
    55 $(OBJDIR)\$(TARGET).lrf: makefile
    56     @echo Creating file <<$@
    57 /OUT:$(OBJDIR)\$(TARGET).dll
    58 /MAP:$(OBJDIR)\$(TARGET).map
    59 $(OBJS)
    60 $(PDWIN32_LIB)/pmwinx.lib
    61 $(PDWIN32_LIB)/kernel32.lib
    62 $(PDWIN32_LIB)/user32.lib
    63 $(PDWIN32_LIB)/$(ODINCRT).lib
    64 OS2386.LIB
    65 $(RTLLIB_O)
    66 $(TARGET).def
    67 <<keep
    68 
    69 
    70 # Dep rule - makes depenencies for C, C++ and Asm files.
    71 dep:
    72     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
    73         *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    74 
    75 
     49#
    7650# Includes the common rules.
     51#
    7752!include $(PDWIN32_INCLUDE)/pdwin32.post
    7853
Note: See TracChangeset for help on using the changeset viewer.