Windows: install afs_shl_ext icon files
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 4 Dec 2010 23:02:38 +0000 (18:02 -0500)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 5 Dec 2010 19:48:33 +0000 (11:48 -0800)
mount.ico and link.ico to dest\root.client\usr\vice\etc

Change-Id: Ic66f3cef73170d9101b12695a12ec41cdca6c89a
Reviewed-on: http://gerrit.openafs.org/3441
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

src/WINNT/client_exp/NTMakefile

index 3af3169..216b139 100644 (file)
@@ -13,10 +13,17 @@ RELDIR=WINNT\client_exp
 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
 !include ..\..\config\NTMakefile.version
 
+ETC = $(DESTDIR)\root.client\usr\vice\etc
+
 ############################################################################
 # afs_shl_ext.dll
 
-DLLFILE = $(DESTDIR)\root.client\usr\vice\etc\afs_shl_ext.dll
+
+DLLFILE = $(ETC)\afs_shl_ext.dll
+
+ICONS =\
+        $(ETC)\link.ico \
+        $(ETC)\mount.ico
 
 DLLOBJS =\
        $(OUT)\add_acl_entry_dlg.obj \
@@ -73,6 +80,15 @@ $(DLLFILE): $(DLLOBJS) $(DLLLIBS)
         $(SYMSTORE_IMPORT)
 
 ############################################################################
+# Install Icon files
+
+$(ETC)\mount.ico: mount.ico
+        $(COPY) $** $@
+
+$(ETC)\link.ico: link.ico
+        $(COPY) $** $@
+
+############################################################################
 # Definitions for generating versioninfo resources
 
 $(OUT)\afs_shl_ext_stub.res: AFS_component_version_number.h
@@ -80,9 +96,7 @@ $(OUT)\afs_shl_ext_stub.res: AFS_component_version_number.h
 ############################################################################
 # Install target; primary makefile target
 
-install: $(DLLFILE) lang
-install9x: install
-
+install: $(DLLFILE) $(ICONS) lang
 
 ############################################################################
 # Language target