source: trunk/src/tapi32/makefile@ 2912

Last change on this file since 2912 was 2730, checked in by bird, 26 years ago

clean fix.

File size: 1.4 KB
Line 
1# $Id: makefile,v 1.13 2000-02-10 01:23:30 bird Exp $
2
3#
4# PD-Win32 API
5#
6# tapi32.dll makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12PDWIN32_TOOLS = ..\..\tools\bin
13
14
15!include $(PDWIN32_INCLUDE)/pdwin32.mk
16
17
18CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
19CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
20
21
22TARGET = tapi32
23
24OBJS = tapi32.obj resource.obj $(PDWIN32_LIB)/dllentry.obj
25
26all: $(TARGET).dll $(TARGET).lib
27
28
29$(TARGET).dll: $(OBJS) $(TARGET).def
30 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
31 $(PDWIN32_LIB)/kernel32.lib \
32 $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \
33 OS2386.LIB $(RTLLIB_O)
34 $(CP) $@ $(PDWIN32_BIN)
35
36
37lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib
38
39$(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib
40 $(CP) $** $@
41
42$(TARGET).lib: $(TARGET)exp.def
43 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
44 $(CP) $@ $(PDWIN32_LIB)
45
46$(TARGET)exp.def: $(TARGET).def
47 $(IMPDEF) $** $@
48
49
50resource.asm: $(TARGET).rc
51 $(RC) $(RCFLAGS) -o resource.asm $(TARGET).rc
52
53
54dep:
55 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
56 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
57
58!ifndef NODEP
59!include .depend
60!endif
61
62
63clean:
64 $(RM) *.obj *.lib *.dll *.map *.pch \
65 $(PDWIN32_BIN)\$(TARGET).dll $(PDWIN32_LIB)\$(TARGET).lib \
66 resource.asm $(TARGET)exp.def
67
68
Note: See TracBrowser for help on using the repository browser.