Changeset 2526 for trunk/src


Ignore:
Timestamp:
Jan 27, 2000, 12:20:00 AM (26 years ago)
Author:
sandervl
Message:

YD's makefile changes

Location:
trunk/src
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DPlayX/makefile

    r2193 r2526  
    1 # $Id: makefile,v 1.3 1999-12-24 01:25:00 hugh Exp $
     1# $Id: makefile,v 1.4 2000-01-26 23:19:54 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3536
    3637
    37 $(TARGET).lib: $(TARGET).def
    38         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    39         $(CP) $@ $(PDWIN32_LIB)
     38$(TARGET).lib: $(TARGET)exp.def
     39        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     40        $(CP) $@ $(PDWIN32_LIB)
     41
     42$(TARGET)exp.def: $(TARGET).def
     43        $(IMPDEF) $** $@
    4044
    4145
  • trunk/src/capi2032/makefile

    r1585 r2526  
    1 # $Id: makefile,v 1.7 1999-11-03 23:28:04 sandervl Exp $
     1# $Id: makefile,v 1.8 2000-01-26 23:19:54 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    3839        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/comdlg32/makefile

    r2239 r2526  
    1 # $Id: makefile,v 1.9 1999-12-28 23:27:11 sandervl Exp $
     1# $Id: makefile,v 1.10 2000-01-26 23:19:54 sandervl Exp $
    22
    33#
     
    4343        $(CP) $@ $(PDWIN32_LIB)
    4444
     45$(TARGET)exp.def: $(TARGET).def
     46        $(IMPDEF) $** $@
     47
    4548resource.asm: rsrc.rc
    4649    $(RC) $(RCFLAGS) -o resource.asm rsrc.rc
  • trunk/src/dinput/makefile

    r1633 r2526  
    1 # $Id: makefile,v 1.1 1999-11-08 13:49:02 sandervl Exp $
     1# $Id: makefile,v 1.2 2000-01-26 23:19:54 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    3839        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/dplay/makefile

    r1585 r2526  
    1 # $Id: makefile,v 1.2 1999-11-03 23:28:04 sandervl Exp $
     1# $Id: makefile,v 1.3 2000-01-26 23:19:55 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    3839        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/dsound/makefile

    r1745 r2526  
    1 # $Id: makefile,v 1.11 1999-11-14 22:12:57 hugh Exp $
     1# $Id: makefile,v 1.12 2000-01-26 23:19:55 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
    3839        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/gdi32/gdi32.cpp

    r2492 r2526  
    1 /* $Id: gdi32.cpp,v 1.31 2000-01-21 22:35:05 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.32 2000-01-26 23:19:55 sandervl Exp $ */
    22
    33/*
     
    670670
    671671    rc = O32_CreateBitmap(nWidth, nHeight, cPlanes, cBitsPerPel, lpvBits);
    672     dprintf(("GDI32: CreateBitmap (%d,%d) bps %d returned %d\n", nWidth, nHeight, cBitsPerPel, rc));
     672    dprintf(("GDI32: CreateBitmap (%d,%d) bps %d returned %x\n", nWidth, nHeight, cBitsPerPel, rc));
    673673    return(rc);
    674674}
     
    24062406}
    24072407//******************************************************************************
    2408 
    2409 //******************************************************************************
    2410 int WIN32API DescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR)
    2411 {
    2412   dprintf(("GDI32: DescribePixelFormat, not implemented (GDI_ERROR)\n"));
    2413   return(GDI_ERROR);
    2414 }
    2415 //******************************************************************************
    24162408//******************************************************************************
    24172409BOOL WIN32API SetObjectOwner( HGDIOBJ arg1, int arg2 )
  • trunk/src/gdi32/opengl.cpp

    r526 r2526  
    1 /* $Id: opengl.cpp,v 1.4 1999-08-17 13:28:36 phaller Exp $ */
     1/* $Id: opengl.cpp,v 1.5 2000-01-26 23:19:55 sandervl Exp $ */
    22
    33/*
     
    3333typedef BOOL (* WIN32API SETPIXELFMT) (HDC, int, CONST PIXELFORMATDESCRIPTOR *);
    3434typedef BOOL (* WIN32API SWAPBUFFERS) (HDC hdc);
     35// JVDH MOD STARTS
     36typedef int  (* WIN32API DESCRIBEPIXELFMT) (HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
     37// JVDH MOD ENDS
    3538
    3639
     
    3942 ****************************************************************************/
    4043
    41 static CHOOSEPIXELFMT glChoosePixelFormat = NULL;
    42 static SETPIXELFMT    glSetPixelFormat    = NULL;
    43 static SWAPBUFFERS    glSwapBuffers       = NULL;
    44 static HINSTANCE      hOpenGL             = NULL;
     44static CHOOSEPIXELFMT    glChoosePixelFormat   = NULL;
     45static SETPIXELFMT       glSetPixelFormat      = NULL;
     46static SWAPBUFFERS       glSwapBuffers         = NULL;
     47// JVDH MOD STARTS
     48static DESCRIBEPIXELFMT  glDescribePixelFormat = NULL;
     49// JVDH MOD ENDS
     50static HINSTANCE         hOpenGL               = NULL;
    4551
    4652
     
    8490  }
    8591
    86   return(TRUE); /* OpenGL is initialized and enabled */
     92// JVDH MOD STARTS
     93  if(glDescribePixelFormat == NULL) {
     94        glDescribePixelFormat = (DESCRIBEPIXELFMT)O32_GetProcAddress(hOpenGL, "OS2wglDescribePixelFormat");
     95        if(glDescribePixelFormat == NULL)
     96                return(FALSE);
     97  }
     98// JVDH MOD ENDS
     99
     100  return(TRUE);                        /* OpenGL is initialized and enabled*/
    87101}
    88102
     
    110124
    111125  return(glChoosePixelFormat(hdc, pformat));
     126}
     127
     128ODINFUNCTION4(int,DescribePixelFormat,HDC,hdc,
     129                                      int,iFormat,
     130                                      UINT,nBytes,
     131                                      LPPIXELFORMATDESCRIPTOR,pformat)
     132{
     133  if (glDescribePixelFormat == NULL)
     134    if (internalOpenGLEnable() == FALSE)
     135      return(0);
     136
     137  return(glDescribePixelFormat(hdc, iFormat, nBytes, pformat));
    112138}
    113139
  • trunk/src/imagehlp/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.4 1999-11-12 11:38:39 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:56 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/imm32/makefile

    r1607 r2526  
    1 # $Id: makefile,v 1.4 1999-11-05 09:17:59 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:56 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/mpr/makefile

    r1590 r2526  
    1 # $Id: makefile,v 1.8 1999-11-04 10:55:31 phaller Exp $
     1# $Id: makefile,v 1.9 2000-01-26 23:19:57 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    38         $(CP) $@ $(PDWIN32_LIB)
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     39        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/msacm32/makefile

    r1607 r2526  
    1 # $Id: makefile,v 1.5 1999-11-05 09:19:15 sandervl Exp $
     1# $Id: makefile,v 1.6 2000-01-26 23:19:57 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3637
    3738
    38 $(TARGET).lib: $(TARGET).def
    39         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    40         $(CP) $@ $(PDWIN32_LIB)
     39$(TARGET).lib: $(TARGET)exp.def
     40        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     41        $(CP) $@ $(PDWIN32_LIB)
     42
     43$(TARGET)exp.def: $(TARGET).def
     44        $(IMPDEF) $** $@
    4145
    4246
  • trunk/src/msvfw32/makefile

    r1607 r2526  
    1 # $Id: makefile,v 1.3 1999-11-05 09:18:36 sandervl Exp $
     1# $Id: makefile,v 1.4 2000-01-26 23:19:57 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435        $(CP) $@ $(PDWIN32_BIN)
    3536
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     39        $(CP) $@ $(PDWIN32_LIB)
    3640
    37 $(TARGET).lib: $(TARGET).def
    38         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    39         $(CP) $@ $(PDWIN32_LIB)
    40 
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    4143
    4244initterm.obj: initterm.cpp
  • trunk/src/oleaut32/makefile

    r2325 r2526  
    1717CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
    1818
     19!ifdef NODEBUGINFO
     20CFLAGS = $(CFLAGS) -DDEFAULT_LOGGING_OFF
     21CXXFLAGS = $(CXXFLAGS) -DDEFAULT_LOGGING_OFF
     22!endif
    1923
    2024TARGET = olautos2
  • trunk/src/olecli32/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.4 1999-11-12 11:38:42 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:57 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/oledlg/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.4 1999-11-12 11:38:42 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:57 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/olesvr32/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.4 1999-11-12 11:38:43 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:58 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/psapi/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.3 1999-11-12 11:38:44 sandervl Exp $
     1# $Id: makefile,v 1.4 2000-01-26 23:19:58 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/rasapi32/makefile

    r1710 r2526  
    1 # $Id: makefile,v 1.4 1999-11-12 11:38:44 sandervl Exp $
     1# $Id: makefile,v 1.5 2000-01-26 23:19:58 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3334
    3435
    35 $(TARGET).lib: $(TARGET).def
    36         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    37         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3842
    3943
  • trunk/src/shlwapi/makefile

    r2238 r2526  
    1 # $Id: makefile,v 1.5 1999-12-28 23:17:04 sandervl Exp $
     1# $Id: makefile,v 1.6 2000-01-26 23:19:59 sandervl Exp $
    22
    33#
     
    3434
    3535
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    38         $(CP) $@ $(PDWIN32_LIB)
     36$(TARGET).lib: $(TARGET)exp.def
     37        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     38        $(CP) $@ $(PDWIN32_LIB)
     39
     40$(TARGET)exp.def: $(TARGET).def
     41        $(IMPDEF) $** $@
    3942
    4043
  • trunk/src/tapi32/makefile

    r2306 r2526  
    1 # $Id: makefile,v 1.8 2000-01-03 10:25:36 sandervl Exp $
     1# $Id: makefile,v 1.9 2000-01-26 23:19:59 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    38         $(CP) $@ $(PDWIN32_LIB)
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     39        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
  • trunk/src/win32k/Makefile

    r2511 r2526  
    11################################################################################
    2 # $Id: Makefile,v 1.15 2000-01-24 18:18:59 bird Exp $
     2# $Id: Makefile,v 1.16 2000-01-26 23:19:59 sandervl Exp $
    33#
    44# Copyright 1998-1999 knut st. osmundsen
     
    198198        $(CDEFINES16) -DDEBUGR3 -Fa$(WIN32KLIST)\$(*B).s     \
    199199        -Foprobkrnl.obj $(CINCLUDES16) dev16\probkrnl.c
    200     link /NOD /MAP:FULL /CO /pmtype:vio probkrnl.obj, probkrnl.exe, probkrnl.map, $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
     200    $(MSCPATH)\BINB\link /NOD /MAP:FULL /CO /pmtype:vio probkrnl.obj, probkrnl.exe, probkrnl.map, $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
    201201
    202202
  • trunk/src/winspool/makefile

    r2217 r2526  
    1 # $Id: makefile,v 1.8 1999-12-27 18:45:27 sandervl Exp $
     1# $Id: makefile,v 1.9 2000-01-26 23:20:00 sandervl Exp $
    22
    33#
     
    1010PDWIN32_LIB = ..\..\lib
    1111PDWIN32_BIN = ..\..\bin
     12PDWIN32_TOOLS = ..\..\tools\bin
    1213
    1314
     
    3435
    3536
    36 $(TARGET).lib: $(TARGET).def
    37         $(IMPLIB) $(IMPLIBFLAGS) $@ $**
    38         $(CP) $@ $(PDWIN32_LIB)
     37$(TARGET).lib: $(TARGET)exp.def
     38        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
     39        $(CP) $@ $(PDWIN32_LIB)
     40
     41$(TARGET)exp.def: $(TARGET).def
     42        $(IMPDEF) $** $@
    3943
    4044
Note: See TracChangeset for help on using the changeset viewer.