Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

win32/shellext: provide nmake file

Changeset cccd006af970

Parent 599be7707fd3

by Sune Foldager

Changes to one file · Browse files at cccd006af970 Showing diff from parent 599be7707fd3 Diff from another changeset...

Change 1 of 1 Show Entire File win32/​shellext/​Makefile.nmake Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@@ -0,0 +1,40 @@
+ +OBJECTS_DIRSTATE = TortoiseUtils.obj \ + Direntry.obj \ + Directory.obj \ + Winstat.obj + +OBJECTS_THGSGELL = $(OBJECTS_DIRSTATE) \ + ContextMenu.obj \ + IconOverlay.obj \ + ShellExt.obj \ + ShellUtils2.obj \ + StringUtils.obj \ + dirstate.obj \ + Winstat64.obj \ + Dirstatecache.obj \ + DirectoryStatus.obj \ + QueryDirstate.obj + +LIBS = User32.lib Ole32.lib Shlwapi.lib Shell32.lib Advapi32.lib +DEFFILE = ShellExt.def + + +CPPFLAGS = /nologo /Ox /W2 /EHsc /MD /DAPPMAIN +BASE_LDFLAGS = /nologo /INCREMENTAL:NO /MANIFEST $(LIBS) +LDFLAGS_THGSHELL = $(BASE_LDFLAGS) /DLL /DEF:$(DEFFILE) +LDFLAGS_DIRSTATE = $(BASE_LDFLAGS) /SUBSYSTEM:CONSOLE + + +all: THgShell.dll dirstate.exe + +clean: + del *.obj *.dll *.exe *.lib *.exp *.manifest + +THgShell.dll: $(OBJECTS_THGSGELL) + link /OUT:$@ $(LDFLAGS_THGSHELL) $** + mt -nologo -manifest $@.manifest -outputresource:"$@;#2" + +dirstate.exe: dirstate.obj $(OBJECTS_DIRSTATE) + link /OUT:$@ $(LDFLAGS_DIRSTATE) $** + mt -nologo -manifest $@.manifest -outputresource:"$@;#1"