Changeset 4719 for trunk/src/opengl/mesa


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

New makefile style. (addjustments)

Location:
trunk/src/opengl/mesa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/3dfx/makefile

    r4624 r4719  
    1 # $Id: makefile,v 1.11 2000-11-19 08:58:16 bird Exp $
     1# $Id: makefile,v 1.12 2000-12-02 23:58:37 bird Exp $
     2
    23#
    34# Odin32 API
     
    67#
    78
    8 
    9 #
    10 # Directory macros.
    11 #
    12 PDWIN32_INCLUDE = ..\..\..\..\include
    13 PDWIN32_LIB     = ..\..\..\..\lib
    14 PDWIN32_BIN     = ..\..\..\..\$(OBJDIR)\Glide
    15 PDWIN32_TOOLS   = ..\..\..\..\tools\bin
    169
    1710
     
    2518# Compiler, tools, and interference rules.
    2619#
    27 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     20!include ../../../../makefile.inc
    2821
    2922
     
    3124# Overrides.
    3225#
     26ODIN32_BIN  = $(ODIN32_BIN__)\Glide
    3327CINCLUDES   = -I.. -I..\GL $(CINCLUDES) -I..\..\glut -I..\..\glide\cvg\glide \
    3428              -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc
     
    3832              -DFX -DFX_V2 -DFX_SILENT -DBUILD_GL32 -DFAST_MATH
    3933
     34!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
    4035CFLAGS      = $(CFLAGS) /Wcnd- /Tdp
    41 !ifdef WAT
     36!else
    4237!error "Compiler not supported yet!"
    4338!endif
     
    4843#   This is BAD! Try make library in parent directory? Problem with different objects.
    4944#
     45!ifndef WAT
    5046{..}.c{$(OBJDIR)}.obj:
    5147    $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -c -Fo$(OBJDIR)\$(@B).obj $<
     
    5349{..}.asm{$(OBJDIR)}.obj:
    5450    $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $<
     51!else
     52!error "Compiler not supported yet!"
     53!endif
    5554
    5655
     
    163162#
    164163LIBS = \
    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 \
     164$(ODIN32_LIB)/$(ODINCRT).lib \
     165$(ODIN32_LIB)/kernel32.lib \
     166$(ODIN32_LIB)/gdi32.lib \
     167$(ODIN32_LIB)/user32.lib \
     168$(ODIN32_LIB)/glide2x.lib \
    170169$(RTLLIB_O) \
    171170os2386.lib
     
    181180# Includes the common rules.
    182181#
    183 !include $(PDWIN32_INCLUDE)/pdwin32.post
     182!include $(ODIN32_POST_INC)
    184183
    185184
  • trunk/src/opengl/mesa/makefile

    r4624 r4719  
    1 # $Id: makefile,v 1.9 2000-11-19 08:58:15 bird Exp $
     1# $Id: makefile,v 1.10 2000-12-02 23:58:37 bird Exp $
    22
    33#
     
    99
    1010#
    11 # Directory macros.
    12 #
    13 PDWIN32_INCLUDE = ..\..\..\include
    14 PDWIN32_LIB     = ..\..\..\lib
    15 PDWIN32_BIN     = ..\..\..\$(OBJDIR)
    16 PDWIN32_TOOLS   = ..\..\..\tools\bin
    17 
    18 
    19 #
    2011# Compiler, tools, and interference rules.
    2112#
    22 !include $(PDWIN32_INCLUDE)/pdwin32.mk
     13!include ../../../makefile.inc
    2314
    2415
     
    134125#
    135126LIBS = \
    136 $(PDWIN32_LIB)/$(ODINCRT).lib \
    137 $(PDWIN32_LIB)\kernel32.lib \
    138 $(PDWIN32_LIB)\gdi32.lib \
    139 $(PDWIN32_LIB)\user32.lib \
     127$(ODIN32_LIB)/$(ODINCRT).lib \
     128$(ODIN32_LIB)\kernel32.lib \
     129$(ODIN32_LIB)\gdi32.lib \
     130$(ODIN32_LIB)\user32.lib \
    140131$(RTLLIB_O) \
    141132os2386.lib \
     
    152143# Includes the common rules.
    153144#
    154 !include $(PDWIN32_INCLUDE)/pdwin32.post
    155 
    156 
    157 #
    158 # Libs rule to support objectlibrary used by 3dxf.
    159 #
    160 libs: $(OBJDIR)\$(TARGET).lib
    161 
    162 
    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
     145!include $(ODIN32_POST_INC)
    177146
    178147
Note: See TracChangeset for help on using the changeset viewer.