1 #******************************************************************************
2 # title MAKEFILE - EMMLIB.LIB build file
3 #******************************************************************************
5 # (C) Copyright MICROSOFT Corp. 1986
7 # Title: MEMM - MICROSOFT Expanded Memory Manager 386
8 # EMMLIB.LIB - EMM functions library
10 # Module: MAKEFILE for EMMLIB - EMM library
16 #******************************************************************************
20 # DATE REVISION DESCRIPTION
21 # -------- -------- -------------------------------------------------------
23 # 06/25/86 0.02 Added EMMDEF.INC (SBP).
25 #******************************************************************************
27 # Functional Description:
29 # This file assembles and links EMMLIB.LIB
31 #******************************************************************************
33 .SUFFIXES: .c .asm .obj .lst .def .lnk .lrf .exe .com
35 # Definition for turning OFF high memory allocation
36 # HIFLAG = -DNOHIMEM => turns it off
37 # HIFLAG = => turns on high memory allocation
41 # Definitions for assembler
46 AFLAGS = /Mx /t /DI386 /i..\memm $(HIFLAG)
47 AINC = ..\memm\vdmseg.inc ..\memm\vdmsel.inc emmdef.inc
49 # Definitions for linker for old style .exe files
55 # Definitions for librarian
59 # Defines for C Compiler
63 CFLAGS =/ASw /G2 /Oat /Gs /Ze /Zl /Fc /c
66 # definition of objects
68 OBJS=emmfunct.obj emm40.obj emmp.obj emmsup.obj emmdisp.obj emmdata.obj emminc.obj
69 LOBJS=emmfunct.obj+emm40.obj+emmp.obj+emmsup.obj+emmdisp.obj+emmdata.obj
73 $(LIB) emmlib+$(LOBJS),;
75 emmfunct.obj: emmfunct.c emm.h
76 $(C) $(CFLAGS) emmfunct.c
78 emm40.obj: emm40.c emm.h
79 $(C) $(CFLAGS) emm40.c
81 emmp.obj: emmp.asm $(AINC)
82 $(MASM) $(AFLAGS) emmp.asm,emmp.obj,emmp.lst;
84 emmsup.obj: emmsup.asm $(AINC)
85 $(MASM) $(AFLAGS) emmsup.asm,emmsup.obj,emmsup.lst;
87 emmdisp.obj: emmdisp.asm $(AINC)
88 $(MASM) $(AFLAGS) emmdisp.asm,emmdisp.obj,emmdisp.lst;
90 emmdata.obj: emmdata.asm $(AINC)
91 $(MASM) $(AFLAGS) emmdata.asm,emmdata.obj,emmdata.lst;
93 emminc.obj: emminc.asm $(AINC)
94 $(MASM) $(AFLAGS) emminc.asm,emminc.obj,emminc.lst;