!IF 0

Copyright (c) 1989  Microsoft Corporation

Module Name:

    sources.

Abstract:

    This file specifies the target component being built and the list of
    sources files needed to build that component.  Also specifies optional
    compiler switches and libraries that are unique for the component being
    built.

Author:

    Steve Wood (stevewo) 12-Apr-1989

Revision History:

!ENDIF

#
# The MAJORCOMP and MINORCOMP variables are defined
# so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
# cross compiling to provide unique filenames in a flat namespace.
#

MAJORCOMP=opengl
MINORCOMP=opengl32

#
# The TARGETNAME variable is defined by the developer.  It is the name of
# the target (component) that is being built by this makefile.  It
# should NOT include any path or file extension information.
#

TARGETNAME=opengl32
TARGETPATH=$(BASEDIR)\public\sdk\lib
TARGETTYPE=DYNLINK

# Make sure the component libs are built first

SYNCHRONIZE_DRAIN = 1

TARGETLIBS= \
           $(BASEDIR)\public\sdk\lib\*\kernel32.lib    \
           $(BASEDIR)\public\sdk\lib\*\advapi32.lib    \
           $(BASEDIR)\public\sdk\lib\*\gdi32p.lib      \
           $(BASEDIR)\public\sdk\lib\*\glu32.lib       \
           $(BASEDIR)\public\sdk\lib\*\dciman32.lib    \
           $(BASEDIR)\public\sdk\lib\*\user32.lib

LINKLIBS= \
           ..\dlist\obj\*\gldlist.lib           \
           ..\server\generic\obj\*\glgen.lib    \
           ..\server\pixel\obj\*\glpixel.lib    \
           ..\server\soft\obj\*\glsoft.lib      \
           ..\server\wgl\obj\*\glwgl.lib        \
!IFDEF OPENGL_95
	   i386\oldcrt.lib
!ENDIF

DLLENTRY=DllInitialize

#
# The INCLUDES variable specifies any include paths that are specific to
# this source directory.  Separate multiple directory paths with single
# semicolons.  Relative path specifications are okay.
#

INCLUDES = ..\..\inc;                          \
           $(BASEDIR)\private\ntos\w32\ntgdi\inc;\
           ..\inc;..\server\inc;..\gls\inc

#
# Turn off direct imporation for GDI and OpenGL APIs
#
# _CLIENTSIDE_ is defined for client implementaions (WinNT and Win95)
#

C_DEFINES=$(C_DEFINES) -D_GDI32_ -DNT -D_CLIENTSIDE_ -DGL_METAFILE
!IFDEF OPENGL_95
C_DEFINES=$(C_DEFINES) -D_WIN95_
ASM_DEFINES=$(ASM_DEFINES) /D_WIN95_=1
!ENDIF

INCLUDES=$(INCLUDES);..\mcd\inc
C_DEFINES=$(C_DEFINES) -D_MCD_

USE_CRTDLL=1

!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL = -W3
!ENDIF
MSC_WARNING_LEVEL = $(MSC_WARNING_LEVEL) -WX

!IFNDEF MSC_OPTIMIZATION
MSC_OPTIMIZATION = /Oxs
!ENDIF

NTPROFILEINPUT=yes

SOURCES=array.c     \
        dllinit.c   \
        fontextr.c  \
        fontoutl.c  \
        glcltgs.c   \
        glcltgsh.c  \
        glcltpt.c   \
        layer.c     \
        local.c     \
        metasup.c   \
        opengl32.rc \
        subutil.c   \
        wgl.c       \
        wglcli.c

PRECOMPILED_INCLUDE = precomp.h
PRECOMPILED_PCH = precomp.pch
PRECOMPILED_OBJ = precomp.obj
