source: trunk/src/wsock32/makefile@ 1569

Last change on this file since 1569 was 1451, checked in by phaller, 26 years ago

Fix: invalid structure alignment for asynchronous operations

File size: 1.2 KB
Line 
1# $Id: makefile,v 1.12 1999-10-25 23:17:19 phaller Exp $
2
3#
4# PD-Win32 API
5#
6# wsock32.dll makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12PDWIN32_TOOLS = ..\..\tools\bin
13
14!include $(PDWIN32_INCLUDE)/pdwin32.mk
15
16
17CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
18CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
19
20
21TARGET = wsock32
22
23OBJS = wsock32.obj initterm.obj unknown.obj async.obj
24
25all: $(TARGET).dll $(TARGET).lib
26
27
28$(TARGET).dll: $(OBJS) $(TARGET).def
29 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
30 $(PDWIN32_LIB)\pmwinx.lib $(PDWIN32_LIB)\user32.lib \
31 tcp32dll.lib so32dll.lib $(PDWIN32_LIB)\kernel32.lib \
32 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
33 $(CP) $@ $(PDWIN32_BIN)
34
35$(TARGET).lib: $(TARGET)exp.def
36 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
37 $(CP) $@ $(PDWIN32_LIB)
38
39$(TARGET)exp.def: $(TARGET).def
40 $(IMPDEF) $** $@
41
42wsock32.obj: wsock32.cpp wsock32.h wsock32const.h
43unknown.obj: unknown.cpp wsock32.h
44async.obj: async.cpp wsock32const.h
45initterm.obj: initterm.cpp
46
47clean:
48 $(RM) *.obj *.lib *.dll *~ *.map *.pch
49 $(RM) $(PDWIN32_BIN)\$(TARGET).dll
50 $(RM) $(PDWIN32_LIB)\$(TARGET).lib
51
Note: See TracBrowser for help on using the repository browser.