Changeset 2709 for trunk/src/opengl


Ignore:
Timestamp:
Feb 10, 2000, 12:40:56 AM (26 years ago)
Author:
bird
Message:

Dependencies.

Location:
trunk/src/opengl
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/makefile

    r2702 r2709  
    1 # $Id: makefile,v 1.7 2000-02-09 14:49:36 sandervl Exp $
     1# $Id: makefile,v 1.8 2000-02-09 23:40:50 bird Exp $
     2
    23#
    34# PD-Win32
     
    314315  util\registry.obj
    315316
     317
    316318$(TARGET).DLL: $(SOURCES) initterm.obj resource.obj $(TARGET).lrf $(TARGET).def
    317319    cd util
     
    325327    $(CP) $@ $(PDWIN32_BIN)
    326328
     329
    327330$(TARGET).lrf: makefile
    328   @echo Creating file <<$(@B).lrf
     331    @echo Creating file <<$(@B).lrf
    329332$(OBJS)
    330333/OUT:$(TARGET).DLL
     
    337340<<keep
    338341
     342
    339343$(TARGET).lib: $(TARGET)exp.def
    340344        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     
    344348        $(IMPDEF) $** $@
    345349
     350
    346351resource.asm: $(TARGET).rc
    347352    $(RC) $(RCFLAGS) -o resource.asm $(TARGET).rc
    348353
    349 resource.obj: resource.asm
    350 
    351 initterm.obj: initterm.cpp
     354
     355dep:
     356    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
     357    *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
     358    cd util
     359    $(MAKE_CMD) NODEP=1 dep
     360    cd ..\tess
     361    $(MAKE_CMD) NODEP=1 dep
     362    cd ..\nurbs
     363    $(MAKE_CMD) NODEP=1 dep
     364    cd ..
     365
     366!ifndef NODEP
     367!include .depend
     368!endif
     369
    352370
    353371clean:
    354         $(RM) *.obj *.dll *.lib *.lrf *exp.def resource.asm
    355         $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    356         $(RM) $(PDWIN32_LIB)\$(TARGET).lib
    357         cd util
    358         $(MAKE_CMD) clean
    359         cd ..\tess
    360         $(MAKE_CMD) clean
    361         cd ..\nurbs
    362         $(MAKE_CMD) clean
    363         cd ..
    364 
     372    $(RM) *.obj *.dll *.lib *.lrf *exp.def resource.asm \
     373      $(PDWIN32_BIN)\$(TARGET).dll $(PDWIN32_LIB)\$(TARGET).lib \
     374    cd util
     375    $(MAKE_CMD) clean
     376    cd ..\tess
     377    $(MAKE_CMD) clean
     378    cd ..\nurbs
     379    $(MAKE_CMD) clean
     380    cd ..
     381
  • trunk/src/opengl/glu/nurbs/interface/makefile

    r2689 r2709  
    1 # $Id: makefile,v 1.1 2000-02-09 08:49:03 jeroen Exp $
     1# $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I..\.. -I..\internals -I..\nurbtess -I..\..\..\mesa
     16CINCLUDE=-I..\.. -I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include
    1717
    18 CFLAGS = $(CFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\..\include -DNDEBUG
    19 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\..\include -DNDEBUG
     18CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG
     19CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
    2020
    2121OBJS = glcurveval.obj glinterface.obj glrenderer.obj glsurfeval.obj \
     
    2525all: $(OBJS)
    2626
    27 #
    28 # Dependencies
    29 #
    30 glcurveval.obj: glcurveval.cpp glimports.h glrenderer.h glcurveval.h
    31 glinterface.obj: glinterface.cpp glimports.h glrenderer.h
    32 glrenderer.obj: glrenderer.cpp glimports.h glrenderer.h
    33 glsurfeval.obj: glsurfeval.cpp glimports.h glrenderer.h glsurfeval.h bezierPatchMesh.h
    34 insurfeval.obj: insurfeval.cpp glsurfeval.h
    35 bezierPatch.obj: bezierPatch.cpp bezierPatch.h bezierEval.h
    36 bezierEval.obj: bezierEval.cpp bezierEval.h
    37 bezierPatchMeshobj: bezierPatchMesh.cpp bezierPatchMesh.h bezierEval.h
    38 incurveeval.obj: incurveeval.cpp glcurveval.h
     27
     28dep:
     29    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
     30        ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\*.h
     31
     32!ifndef NODEP
     33!include .depend
     34!endif
     35
    3936
    4037clean:
    41     $(RM) *.obj
     38    $(RM) *.obj *.pch
    4239
  • trunk/src/opengl/glu/nurbs/internals/makefile

    r2689 r2709  
    1 # $Id: makefile,v 1.1 2000-02-09 08:50:24 jeroen Exp $
     1# $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
     2
    23#
    34# PD-Win32 API
     
    1415!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1516
    16 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa
     17CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I..\..\include -I$(PDWIN32_INCLUDE)
    1718CDEFS=-DSTANDALONE -DLIBRARYBUILD -DNDEBUG
    1819
    19 CFLAGS = $(CFLAGS) $(CINCLUDE) -I..\..\include -I$(PDWIN32_INCLUDE) $(CDEFS)
    20 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -I..\..\include -I$(PDWIN32_INCLUDE) $(CDEFS)
     20CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS)
     21CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) $(CDEFS)
    2122
    2223OBJS = arc.obj arcsorter.obj arctess.obj backend.obj basiccrveval.obj \
     
    3334all: $(OBJS)
    3435
    35 #
    36 # Dependencies
    37 #
    38 arc.obj: arc.cpp myassert.h arc.h bin.h bezierarc.h pwlarc.h simplemath.h
    39 arcsorter.obj: arcsorter.cpp arc.h arcsorter.h subdivider.h
    40 arctess.obj: arctess.cpp myassert.h arctess.h bufpool.h simplemath.h bezierarc.h trimvertex.h trimvertpool.h
    41 backend.obj: backend.cpp backend.h basiccrveval.h basicsurfeval.h nurbsconsts.h
    42 basiccrveval.obj: basiccrveval.cpp types.h basiccrveval.h
    43 basicsurfeval.obj: basicsurfeval.cpp types.h basicsurfeval.h
    44 bin.obj: bin.cpp myassert.h bin.h
    45 bufpool.obj: bufpool.cpp myassert.h bufpool.h
    46 cachingeval.obj: cachingeval.cpp cachingeval.h
    47 ccw.obj: ccw.cpp myassert.h subdivider.h types.h arc.h trimvertex.h simplemath.h mysetjmp.h
    48 coveandtiler.obj: coveandtiler.cpp myassert.h coveandtiler.h gridvertex.h gridtrimvertex.h uarray.h backend.h
    49 curve.obj: curve.cpp myassert.h mymath.h curve.h mapdesc.h types.h quilt.h nurbsconsts.h
    50 curvelist.obj: curvelist.cpp myassert.h quilt.h curvelist.h curve.h nurbsconsts.h types.h
    51 curvesub.obj: curvesub.cpp myassert.h subdivider.h renderhints.h backend.h quilt.h curvelist.h curve.h nurbsconsts.h
    52 displaylist.obj: displaylist.cpp nurbstess.h displaylist.h
    53 flist.obj: flist.cpp myassert.h flist.h
    54 flistsorter.obj: flistsorter.cpp flistsorter.h
    55 hull.obj: hull.cpp myassert.h hull.h gridvertex.h gridtrimvertex.h gridline.h trimline.h uarray.h trimregion.h
    56 intersect.obj: intersect.cpp myassert.h subdivider.h arc.h bin.h backend.h trimvertpool.h
    57 knotvector.obj: knotvector.cpp myassert.h knotvector.h defines.h
    58 mapdesc.obj: mapdesc.cpp myassert.h mystring.h mymath.h backend.h nurbsconsts.h mapdesc.h
    59 mapdescv.obj: mapdescv.cpp myassert.h mystring.h mymath.h nurbsconsts.h mapdesc.h
    60 maplist.obj: maplist.cpp myassert.h mymath.h nurbsconsts.h maplist.h mapdesc.h backend.h
    61 mesher.obj: mesher.cpp myassert.h mesher.h gridvertex.h gridtrimvertex.h jarcloc.h gridline.h trimline.h uarray.h backend.h
    62 monotonizer.obj: monotonizer.cpp myassert.h arc.h arctess.h bezierarc.h bin.h mapdesc.h nurbsconsts.h subdivider.h
    63 mycode.obj: mycode.cpp mymath.h
    64 nurbsinterfac.obj: nurbsinterfac.cpp nurbsconsts.h nurbstess.h bufpool.h quilt.h displaylist.h knotvector.h mapdesc.h
    65 nurbstess.obj: nurbstess.cpp myassert.h mysetjmp.h nurbsconsts.h nurbstess.h bufpool.h quilt.h knotvector.h mapdesc.h maplist.h
    66 patch.obj: patch.cpp myassert.h mymath.h mystring.h patch.h mapdesc.h quilt.h nurbsconsts.h simplemath.h
    67 patchlist.obj: patchlist.cpp myassert.h quilt.h patchlist.h patch.h nurbsconsts.h
    68 quilt.obj: quilt.cpp myassert.h quilt.h backend.h mapdesc.h flist.h knotvector.h patchlist.h simplemath.h
    69 reader.obj: reader.cpp nurbsconsts.h reader.h trimvertex.h simplemath.h
    70 renderhints.obj: renderhints.cpp renderhints.h defines.h nurbsconsts.h
    71 slicer.obj: slicer.cpp myassert.h bufpool.h slicer.h backend.h arc.h gridtrimvertex.h trimvertex.h varray.h
    72 sorter.obj: sorter.cpp sorter.h
    73 splitarcs.obj: splitarcs.cpp myassert.h subdivider.h arcsorter.h arc.h bin.h
    74 subdivider.obj: subdivider.cpp myassert.h subdivider.h arc.h bezierarc.h bin.h renderhints.h backend.h mapdesc.h quilt.h patchlist.h patch.h nurbsconsts.h trimvertpool.h simplemath.h
    75 tobezier.obj: tobezier.cpp myassert.h mystring.h quilt.h knotvector.h
    76 trimline.obj: trimline.cpp myassert.h backend.h trimline.h
    77 trimregion.obj: trimregion.cpp myassert.h backend.h trimregion.h
    78 trimvertpool.obj: trimvertpool.cpp myassert.h mystring.h trimvertex.h trimvertpool.h bufpool.h
    79 uarray.obj: uarray.cpp myassert.h uarray.h arc.h
    80 varray.obj: varray.cpp myassert.h varray.h arc.h
    81 dataTransform.obj: dataTransform.cpp myassert.h nurbsconsts.h trimvertex.h datatransform.h
    82 monoTriangulationBackend.obj: monoTriangulationBackend.cpp backend.h arc.h
     36
     37dep:
     38    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     39        ..\nurbtess\*.h ..\..\..\mesa\*.h ..\..\include\*.h
     40
     41!ifndef NODEP
     42!include .depend
     43!endif
     44
    8345
    8446clean:
    85     $(RM) *.obj
     47    $(RM) *.obj *.pch
    8648
  • trunk/src/opengl/glu/nurbs/makefile

    r2692 r2709  
    1 # $Id: makefile,v 1.2 2000-02-09 12:08:32 bird Exp $
     1# $Id: makefile,v 1.3 2000-02-09 23:40:51 bird Exp $
    22#
    33# PD-Win32 API
     
    1717
    1818all:
    19         cd interface
    20         $(MAKE_CMD)
    21         cd ..\internals
    22         $(MAKE_CMD)
    23         cd ..\nurbtess
    24         $(MAKE_CMD)
    25         cd ..
     19    cd interface
     20    $(MAKE_CMD)
     21    cd ..\internals
     22    $(MAKE_CMD)
     23    cd ..\nurbtess
     24    $(MAKE_CMD)
     25    cd ..
     26
     27
     28dep:
     29    cd interface
     30    $(MAKE_CMD) NODEP=1 dep
     31    cd ..\internals
     32    $(MAKE_CMD) NODEP=1 dep
     33    cd ..\nurbtess
     34    $(MAKE_CMD) NODEP=1 dep
     35    cd ..
     36
    2637
    2738clean:
    28         cd interface
    29         $(MAKE_CMD) clean
    30         cd ..\internals
    31         $(MAKE_CMD) clean
    32         cd ..\nurbtess
    33         $(MAKE_CMD) clean
    34         cd ..
     39    cd interface
     40    $(MAKE_CMD) clean
     41    cd ..\internals
     42    $(MAKE_CMD) clean
     43    cd ..\nurbtess
     44    $(MAKE_CMD) clean
     45    cd ..
     46
  • trunk/src/opengl/glu/nurbs/nurbtess/makefile

    r2689 r2709  
    1 # $Id: makefile,v 1.1 2000-02-09 08:48:27 jeroen Exp $
     1# $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
     2
    23#
    34# PD-Win32 API
     
    1516
    1617
    17 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa
     18CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include
    1819
    19 CFLAGS = $(CFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\..\include -DNDEBUG
    20 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\..\include -DNDEBUG
     20CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG
     21CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG
    2122
    2223OBJS = directedLine.obj gridWrap.obj monoTriangulation.obj partitionY.obj \
     
    2829all: $(OBJS)
    2930
    30 #
    31 # Dependencies
    32 #
    33 directedLine.obj: directedLine.cpp glimports.h zlassert.h quicksort.h directedLine.h polyDBG.h
    34 gridWrap.obj: gridWrap.cpp zlassert.h gridWrap.h
    35 monoTriangulation.obj: monoTriangulation.cpp glimports.h zlassert.h monoTriangulation.h polyUtil.h partitionX.h monoPolyPart.h
    36 partitionY.obj: partitionY.cpp zlassert.h partitionY.h searchTree.h quicksort.h polyUtil.h
    37 polyDBG.obj: polyDBG.cpp zlassert.h polyDBG.h
    38 polyUtil.obj: polyUtil.cpp polyUtil.h
    39 primitiveStream.obj: primitiveStream.cpp primitiveStream.h
    40 quicksort.obj: quicksort.cpp
    41 rectBlock.obj: rectBlock.cpp glimports.h zlassert.h rectBlock.h
    42 sampleComp.obj: sampleComp.cpp glimports.h sampleComp.h sampleCompTop.h sampleCompBot.h sampleCompRight.h
    43 sampleCompBot.obj: sampleCompBot.cpp zlassert.h sampleCompTop.h sampleCompBot.h
    44 sampleCompRight.obj: sampleCompRight.cpp glimports.h zlassert.h sampleCompRight.h
    45 sampleCompTop.obj: sampleCompTop.cpp zlassert.h sampleCompTop.h sampleCompRight.h
    46 sampleMonoPoly.obj: sampleMonoPoly.cpp glimports.h zlassert.h sampleMonoPoly.h sampleComp.h polyDBG.h partitionX.h
    47 sampledLine.obj: sampledLine.cpp glimports.h zlassert.h sampledLine.h
    48 searchTree.obj: searchTree.cpp zlassert.h searchTree.h
    49 partitionX.obj: partitionX.cpp partitionX.h
    50 monoChain.obj: monoChain.cpp glimports.h zlassert.h monoChain.h quicksort.h searchTree.h polyUtil.h
    51 monoPolyPart.obj: monoPolyPart.cpp directedLine.h monoPolyPart.h
     31
     32dep:
     33    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     34        ..\..\mesa\*.h ..\nurbtess\*.h ..\internals\*.h ..\..\include\*.h
     35
     36!ifndef NODEP
     37!include .depend
     38!endif
     39
    5240
    5341clean:
    54     $(RM) *.obj
     42    $(RM) *.obj *.pch
    5543
  • trunk/src/opengl/glu/tess/makefile

    r2689 r2709  
    1 # $Id: makefile,v 1.1 2000-02-09 08:47:34 jeroen Exp $
     1# $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I.. -I..\..\mesa
     16CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include
    1717CDEFS=-DNDEBUG -Tdp
    1818
    19 CFLAGS = $(CFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) $(CDEFS) -I..\include -DNDEBUG
    20 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -$(CDEFS) -I..\include -DNDEBUG
     19CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS) -DNDEBUG
     20CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -$(CDEFS) -DNDEBUG
    2121
    2222OBJS= dict.obj memalloc.obj mesh.obj normal.obj priorityq.obj \
     
    2525all: $(OBJS)
    2626
    27 #
    28 # Dependencies
    29 #
    30 dict.obj: dict.c dict-list.h memalloc.h
    31 memalloc.obj: memalloc.c memalloc.h
    32 mesh.obj: mesh.c mesh.h memalloc.h
    33 normal.obj: normal.c mesh.h tess.h normal.h
    34 priorityq.obj: priorityq.c memalloc.c priorityq-heap.h priorityq-sort.h
    35 render.obj: render.c mesh.h tess.h render.h
    36 sweep.obj: sweep.c mesh.h geom.h tess.h dict.h priorityq.h memalloc.h sweep.h
    37 tess.obj: tess.c memalloc.c tess.h mesh.h normal.h sweep.h tessmono.h render.h
    38 tessmono.obj: tessmono.c geom.h mesh.h tessmono.h
    39 geom.obj: geom.c mesh.h geom.h
     27
     28dep:
     29    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
     30        ..\..\mesa\*.h ..\*.h ..\include\*.h
     31
     32!ifndef NODEP
     33!include .depend
     34!endif
     35
    4036
    4137clean:
  • trunk/src/opengl/glu/util/makefile

    r2689 r2709  
    1 # $Id: makefile,v 1.1 2000-02-09 08:47:12 jeroen Exp $
     1# $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I.. -I..\..\mesa
     16CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include
    1717
    18 CFLAGS = $(CFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\include -Tdp -DNDEBUG
    19 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -I$(PDWIN32_INCLUDE) -I..\include -Tdp -DNDEBUG
     18CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
     19CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
    2020
    2121OBJS= error.obj glue.obj mipmap.obj project.obj quad.obj registry.obj
     
    2323all: $(OBJS)
    2424
    25 #
    26 # Dependencies
    27 #
    28 error.obj: error.c
    29 glue.obj: glue.c gluint.h
    30 mipmap.obj: mipmap.c gluint.h
    31 project.obj: project.c gluint.h
    32 quad.obj: quad.c gluint.h
    33 registry.obj: registry.c
     25
     26dep:
     27    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
     28        ..\include\*.h ..\..\mesa\*.h ..\*.h
     29
     30!ifndef NODEP
     31!include .depend
     32!endif
     33
    3434
    3535clean:
  • trunk/src/opengl/glut/Makefile

    r2701 r2709  
    1 # $Id: Makefile,v 1.5 2000-02-09 14:46:26 sandervl Exp $
     1# $Id: Makefile,v 1.6 2000-02-09 23:40:52 bird Exp $
     2
    23#
    34# PD-Win32 API
     
    4142       win32_x11.obj glut_term.obj initterm.obj resource.obj
    4243
    43 all     : $(TARGET).DLL
     44all: $(TARGET).DLL
    4445
    4546$(TARGET).DLL: $(OBJS) $(TARGET).def $(TARGET).lrf
    46         ILINK /FREE /NOE $(L) @$(TARGET).lrf
    47         $(CP) $@ $(PDWIN32_BIN)
     47    ILINK /FREE /NOE $(L) @$(TARGET).lrf
     48    $(CP) $@ $(PDWIN32_BIN)
    4849
    49 $(TARGET).lib: $(TARGET)exp.def
    50         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    51         $(CP) $@ $(PDWIN32_LIB)
    52 
    53 $(TARGET)exp.def: $(TARGET).def
    54         $(IMPDEF) $** $@
    55 
    56 resource.asm: $(TARGET).rc
    57     $(RC) $(RCFLAGS) -o resource.asm $(TARGET).rc
    58 
    59 resource.obj: resource.asm
    60 
    61 initterm.obj: initterm.cpp
    62 win32_glx.obj: win32_glx.c os2_glx.h
    63 win32_x11.obj: win32_x11.c os2_x11.h
    64 win32_menu.obj: win32_menu.c glutint.h glut.h
    65 win32_util.obj: win32_util.c glutint.h
    66 win32_winproc.obj: win32_winproc.c glutint.h
    67 
    68 glut_mroman.obj: glut_mroman.c glutint.h
    69 glut_roman.obj: glut_roman.c glutint.h
    70 glut_hel12.obj: glut_hel12.c glutint.h
    71 glut_8x13.obj: glut_8x13.c glutint.h
    72 glut_hel18.obj: glut_hel18.c glutint.h
    73 glut_9x15.obj: glut_9x15.c glutint.h
    74 glut_tr10.obj: glut_tr10.c glutint.h
    75 glut_hel10.obj: glut_hel10.c glutint.h
    76 glut_tr24.obj: glut_tr24.c glutint.h
    77 
    78 glut_bitmap.obj: glut_bitmap.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    79 glut_bwidth.obj: glut_bwidth.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    80 glut_cindex.obj: glut_cindex.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    81 glut_cmap.obj: glut_cmap.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    82 glut_cursor.obj: glut_cursor.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    83 glut_dials.obj: glut_dials.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    84 glut_dstr.obj: glut_dstr.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    85 glut_event.obj: glut_event.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    86 glut_ext.obj: glut_ext.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    87 glut_fullscrn.obj: glut_fullscrn.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    88 glut_gamemode.obj: glut_gamemode.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    89 glut_get.obj: glut_get.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    90 glut_init.obj: glut_init.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    91 glut_input.obj: glut_input.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    92 glut_joy.obj: glut_joy.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    93 glut_key.obj: glut_key.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    94 glut_keyctrl.obj: glut_keyctrl.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    95 glut_keyup.obj: glut_keyup.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    96 glut_mesa.obj: glut_mesa.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    97 glut_modifier.obj: glut_modifier.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    98 glut_overlay.obj: glut_overlay.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    99 glut_shapes.obj: glut_shapes.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    100 glut_space.obj: glut_space.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    101 glut_swap.obj: glut_swap.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    102 glut_swidth.obj: glut_swidth.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    103 glut_tablet.obj: glut_tablet.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    104 glut_teapot.obj: glut_teapot.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    105 glut_util.obj: glut_util.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    106 glut_vidresize.obj: glut_vidresize.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    107 glut_warp.obj: glut_warp.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    108 glut_win.obj: glut_win.c glutint.h glut.h glutos2.h
    109 glut_winmisc.obj: glut_winmisc.c glutint.h glut.h glutos2.h os2_glx.h os2_x11.h
    11050
    11151$(TARGET).lrf: makefile
    112    @echo Creating file <<$(@B).lrf
     52    @echo Creating file <<$(@B).lrf
    11353$(OBJS)
    11454/OUT:$(TARGET).DLL /DLL
     
    12565<<keep
    12666
     67
     68$(TARGET).lib: $(TARGET)exp.def
     69    $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     70    $(CP) $@ $(PDWIN32_LIB)
     71
     72$(TARGET)exp.def: $(TARGET).def
     73    $(IMPDEF) $** $@
     74
     75
     76resource.asm: $(TARGET).rc
     77    $(RC) $(RCFLAGS) -o resource.asm $(TARGET).rc
     78
     79
     80dep:
     81    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
     82        *.c *.cpp *.asm *.inc $(PDWIN32_INCLUDE)\*.h
     83
     84!ifndef NODEP
     85!include .depend
     86!endif
     87
     88
    12789clean:
    128         $(RM) *.obj *.lib *.dll *.map *.lrf *exp.def resource.asm
    129         $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    130         $(RM) $(PDWIN32_LIB)\$(TARGET).lib
     90    $(RM) *.obj *.lib *.dll *.map *.lrf *exp.def resource.asm \
     91        $(PDWIN32_BIN)\$(TARGET).dll $(PDWIN32_LIB)\$(TARGET).lib
  • trunk/src/opengl/makefile

    r2699 r2709  
    1 # $Id: makefile,v 1.5 2000-02-09 13:44:31 sandervl Exp $
     1# $Id: makefile,v 1.6 2000-02-09 23:40:50 bird Exp $
    22#
    33# PD-Win32 API
     
    4242
    4343$(TARGET1).dll: $(OBJS1) $(TARGET1).def
    44         $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS1) $(TARGET1).def \
    45               $(PDWIN32_LIB)/gdi32.lib $(PDWIN32_LIB)/kernel32.lib \
    46               $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \
    47               OS2386.LIB $(RTLLIB_O)
    48         $(CP) $@ $(PDWIN32_BIN)
     44    $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS1) $(TARGET1).def \
     45          $(PDWIN32_LIB)/gdi32.lib $(PDWIN32_LIB)/kernel32.lib \
     46          $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \
     47          OS2386.LIB $(RTLLIB_O)
     48    $(CP) $@ $(PDWIN32_BIN)
    4949
    5050
    5151$(TARGET1).lib: $(TARGET1)exp.def
    52         $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET1)exp.def
    53         $(CP) $@ $(PDWIN32_LIB)
     52    $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET1)exp.def
     53    $(CP) $@ $(PDWIN32_LIB)
    5454
    5555$(TARGET1)exp.def: $(TARGET1).def
    56         $(IMPDEF) $** $@
     56    $(IMPDEF) $** $@
     57
    5758
    5859resource.asm: $(TARGET1).rc
    5960    $(RC) $(RCFLAGS) -o resource.asm $(TARGET1).rc
    6061
    61 resource.obj: resource.asm
    6262
    6363$(TARGET2).dll:
     
    7171    cd ..
    7272
    73 opengl32.obj: opengl32.cpp pglos2.h glos2.h initterm.h
    74 initterm.obj: initterm.cpp initterm.h
     73
     74$(TARGET2).lib:
     75    cd glu
     76    $(MAKE_CMD) $(@F)
     77    cd ..
     78
     79
     80$(TARGET3).lib:
     81    cd glut
     82    $(MAKE_CMD) $(@F)
     83    cd ..
     84
     85
     86lib: $(TARGET1).lib $(PDWIN32_LIB)\$(TARGET1).lib \
     87     $(TARGET2).lib $(PDWIN32_LIB)\$(TARGET2).lib \
     88     $(TARGET3).lib $(PDWIN32_LIB)\$(TARGET3).lib
     89
     90$(PDWIN32_LIB)\$(TARGET1).lib: $(TARGET1).lib
     91    $(CP) $** $@
     92
     93$(PDWIN32_LIB)\$(TARGET2).lib: $(TARGET2).lib
     94    $(CP) $** $@
     95
     96$(PDWIN32_LIB)\$(TARGET3).lib: $(TARGET3).lib
     97    $(CP) $** $@
     98
     99dep:
     100    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
     101    *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
     102    cd glut
     103    $(MAKE_CMD) NODEP=1 dep
     104    cd ..\glu
     105    $(MAKE_CMD) NODEP=1 dep
     106    cd ..
     107
     108!ifndef NODEP
     109!include .depend
     110!endif
     111
    75112
    76113clean:
    77         $(RM) *.obj *.lib *.dll *.map resource.asm *exp.def
    78         $(RM) $(PDWIN32_BIN)\$(TARGET1).dll
    79         $(RM) $(PDWIN32_LIB)\$(TARGET1).lib
    80         cd glut
    81         $(MAKE_CMD) clean
    82         cd ..\glu
    83         $(MAKE_CMD) clean
    84         cd ..
     114    $(RM) *.obj *.lib *.dll *.map resource.asm *exp.def \
     115        $(RM) $(PDWIN32_BIN)\$(TARGET1).dll $(PDWIN32_LIB)\$(TARGET1).lib \
     116    cd glut
     117    $(MAKE_CMD) clean
     118    cd ..\glu
     119    $(MAKE_CMD) clean
     120    cd ..
    85121
Note: See TracChangeset for help on using the changeset viewer.