source: trunk/src/imagehlp/makefile@ 3721

Last change on this file since 3721 was 3634, checked in by sandervl, 26 years ago

JW: Updated (Wine 26/05/2000)

File size: 1.7 KB
Line 
1# $Id: makefile,v 1.10 2000-05-29 22:31:30 sandervl Exp $
2
3#
4# Odin32 API
5#
6# imagehlp.dll makefile
7#
8
9# Directory macros.
10PDWIN32_INCLUDE = ..\..\include
11PDWIN32_LIB = ..\..\lib
12PDWIN32_BIN = ..\..\$(OBJDIR)
13PDWIN32_TOOLS = ..\..\tools\bin
14
15
16# Compiler, tools, and interference rules.
17!include $(PDWIN32_INCLUDE)/pdwin32.mk
18
19
20# Flag overloads and local macros.
21CLEANEXTRAS = imagehlprsrc.asm
22
23
24# Object files. All objects should be prefixed with $(OBJDIR)!
25OBJS = \
26$(OBJDIR)\imagehlp.obj \
27$(OBJDIR)\access.obj \
28$(OBJDIR)\debug.obj \
29$(OBJDIR)\integrity.obj \
30$(OBJDIR)\internal.obj \
31$(OBJDIR)\modify.obj \
32$(OBJDIR)\symbol.obj \
33$(OBJDIR)\initterm.obj \
34$(OBJDIR)\imagehlprsrc.obj
35
36
37# Target name - name of the dll without extention and path.
38TARGET = imagehlp
39
40
41# All rule - build objs, target dll, copies dll to bin and makes libs.
42all: $(OBJDIR) \
43 $(OBJDIR)\$(TARGET).dll \
44 $(PDWIN32_BIN)\$(TARGET).dll \
45 lib
46
47
48# Lib rule - build importlibrary (and evt. other libs)
49lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
50
51
52# Dll rule - builds the target dll.
53$(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf
54 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf
55
56
57# Linker file - creates the parameter file passed on to the linker.
58$(OBJDIR)\$(TARGET).lrf: makefile
59 @echo Creating file <<$@
60/OUT:$(OBJDIR)\$(TARGET).dll
61/MAP:$(OBJDIR)\$(TARGET).map
62$(OBJS)
63$(PDWIN32_LIB)/kernel32.lib
64$(PDWIN32_LIB)/odincrt.lib
65OS2386.LIB
66$(RTLLIB_O)
67$(TARGET).def
68<<keep
69
70
71# Dep rule - makes depenencies for C, C++ and Asm files.
72dep:
73 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
74 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
75
76
77# Includes the common rules.
78!include $(PDWIN32_INCLUDE)/pdwin32.post
79
Note: See TracBrowser for help on using the repository browser.