blob: 5cd7a604d9a6f6bd157f0d28d96fc257495af8cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
!IF "$(CFG)" == ""
CFG=Release
#CFG=Debug
!MESSAGE No configuration specified. Defaulting to $(CFG)
!ENDIF
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
LINK32=link.exe
out=../../bin/Debug/Plugins
obj=obj
LIBS = user32.lib netapi32.lib comdlg32.lib shlwapi.lib
LINK32_OBJS= \
"$(obj)\resource.res" \
"$(obj)\wumfplug.obj" \
"$(obj)\list.obj" \
"$(obj)\resizer.obj" \
"$(obj)\wumf.obj"
all : "$(out)\wumfplug.dll" test
$(obj):
if not exist $(obj) mkdir $(obj)
$(out):
if not exist "$(out)/$(NULL)" mkdir "$(out)"
!IF "$(CFG)" == "Release"
CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "_WIN32_WINNT" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Fp"$(obj)/wumfplug.pch" /YX /Fo"$(obj)/" /Fd"$(obj)/" /FD /c
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC_PROJ=/l 0x809 /fo"$(obj)\resource.res" /d "NDEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(obj)\wumfplug.bsc"
BSC32_SBRS= \
LINK32_FLAGS= $(LIBS) /nologo /dll /incremental:no /pdb:"$(obj)\wumfplug.pdb" /machine:I386 /out:"$(out)/wumfplug.dll" /implib:"$(obj)/wumfplug.lib"
!ELSEIF "$(CFG)" == "Debug"
CPP_PROJ=/nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_WIN32_WINNT" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Fp"$(obj)\wumfplug.pch" /YX /Fo"$(obj)\\" /Fd"$(obj)\\" /FD /GZ /c
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC_PROJ=/l 0x809 /fo"$(obj)/resource.res" /d "_DEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(obj)/wumfplug.bsc"
BSC32_SBRS= \
LINK32_FLAGS=$(LIBS) /nologo /dll /incremental:yes /pdb:"$(obj)\wumfplug.pdb" /debug /machine:I386 /out:"$(out)\wumfplug.dll" /implib:"$(obj)/wumfplug.lib" /pdbtype:sept
!ENDIF
"$(out)\wumfplug.dll" : "$(out)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
.c{$(obj)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(obj)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(obj)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(obj)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(obj)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(obj)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
$(obj)/wumfplug.obj: wumfplug.c $(obj) wumf.h
$(obj)/wumf.obj: wumf.c $(obj) wumf.h
$(obj)/resizer.obj: resizer.c $(obj) wumf.h
$(obj)/resource.res: resource.rc $(obj)
$(RSC) $(RSC_PROJ) resource.rc
clean:
rm -f $(obj)/*.* $(out)/wumfplug.* *.aps
yPER: $(out)/wumfplug.dll
yPER $(out)/wumfplug.dll /REALIGN_NORMAL
distr: zip
zip: $(out)/wumfplug.dll yPER res/wumf.readme.txt
pkzip25 -add -max wumf.zip $(out)/wumfplug.dll res/wumf.readme.txt
src:
rar a -ag wumf-src.rar *.c *.h *.hm *.txt Makefile *.rc res/*.*
re: clean all
test:
"C:\Documents and Settings\Nike.Neosoft\Application Data\Microsoft\Internet Explorer\Quick Launch\miranda32dbg.exe.lnk"
|