!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

!IFNDEF GLROOT
GLROOT = $(PROJECT_ROOT)\opengl
!ENDIF
!INCLUDE $(GLROOT)\global.mk

#
# 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=$(_OBJ_DIR)
TARGETTYPE=DYNLINK
PASS1_PUBLISH=\
    {$(DYNLINK_LIB)=$(SDK_LIB_DEST)\$(DYNLINK_LIBDIR)} \

# Make sure the component libs are built first

SYNCHRONIZE_DRAIN = 1

TARGETLIBS= \
           $(SDK_LIB_PATH)\kernel32.lib    \
           $(SDK_LIB_PATH)\advapi32.lib    \
           $(WINDOWS_LIB_PATH)\gdi32p.lib      \
           $(SDK_LIB_PATH)\glu32.lib       \
           $(SDK_LIB_PATH)\ddraw.lib       \
           $(SDK_LIB_PATH)\user32.lib

LINKLIBS= \
           ..\dlist\$(O)\gldlist.lib           \
           ..\server\generic\$(O)\glgen.lib    \
           ..\server\pixel\$(O)\glpixel.lib    \
           ..\server\soft\$(O)\glsoft.lib      \
           ..\server\wgl\$(O)\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 = \
	..\gls\inc;\
	$(INCLUDES)

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

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