source: trunk/src/advapi32/makefile@ 1036

Last change on this file since 1036 was 951, checked in by sandervl, 26 years ago

Initterm creates LX image object during initialization

File size: 1.1 KB
Line 
1# $Id: makefile,v 1.12 1999-09-15 23:26:05 sandervl Exp $
2
3#
4# PD-Win32 API
5#
6# advapi32.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
17CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
18CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
19
20
21TARGET = advapi32
22
23OBJS = advapi32.obj initterm.obj registry.obj
24
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)/odincrt.lib OS2386.LIB $(RTLLIB_O)
33 $(CP) $@ $(PDWIN32_BIN)
34
35
36$(TARGET).lib: $(TARGET)exp.def
37 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
38 $(CP) $@ $(PDWIN32_LIB)
39
40$(TARGET)exp.def: $(TARGET).def
41 $(IMPDEF) $** $@
42
43
44advapi32.obj: advapi32.cpp advapi32.h $(PDWIN32_INCLUDE)\odinwrap.h
45registry.obj: registry.cpp $(PDWIN32_INCLUDE)\odinwrap.h
46initterm.obj: initterm.cpp
47
48clean:
49 $(RM) *.obj *.lib *.dll *~ *.map *.pch
50 $(RM) $(PDWIN32_BIN)\$(TARGET).dll
51 $(RM) $(PDWIN32_LIB)\$(TARGET).lib
52 $(RM) $(TARGET)exp.def
Note: See TracBrowser for help on using the repository browser.