source: trunk/src/advapi32/makefile@ 577

Last change on this file since 577 was 510, checked in by sandervl, 26 years ago

Makefile changes & initterm.cpp no longer calls c/c++ library init & termination functions (should only be done in odincrt.dll)

File size: 1.0 KB
Line 
1# $Id: makefile,v 1.9 1999-08-16 16:28:01 sandervl Exp $
2
3#
4# PD-Win32 API
5#
6# advapi32.dll makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12
13
14!include $(PDWIN32_INCLUDE)/pdwin32.mk
15
16CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
17CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
18
19
20TARGET = advapi32
21
22OBJS = advapi32.obj initterm.obj registry.obj
23
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)/kernel32.lib \
31 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB cppom30O.lib
32 $(CP) $@ $(PDWIN32_BIN)
33
34
35$(TARGET).lib: $(TARGET)exp.def
36 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
37 $(CP) $@ $(PDWIN32_LIB)
38
39
40advapi32.obj: advapi32.cpp advapi32.h $(PDWIN32_INCLUDE)\odinwrap.h
41registry.obj: registry.cpp $(PDWIN32_INCLUDE)\odinwrap.h
42initterm.obj: initterm.cpp
43
44clean:
45 $(RM) *.obj *.lib *.dll *~ *.map *.pch
46 $(RM) $(PDWIN32_BIN)\$(TARGET).dll
47 $(RM) $(PDWIN32_LIB)\$(TARGET).lib
48
49
50
Note: See TracBrowser for help on using the repository browser.