# These three macros define the source, object, and destination folders
SRC=$(AFSROOT)\src
DOC=$(AFSROOT)\doc
+TESTS=$(AFSROOT)\tests
#If AFS_OBJDIR is not defined then use obj as relative obj folder
!IFNDEF AFS_OBJDIR
des: rxgen
@echo ***** $@
-! IF (EXIST($(SRC)\des\NTMakefile))
- $(DOCD) $(SRC)\des
- $(CD) $(SRC)\des
- $(NTMAKE)
- $(CD) ..\..
-! ELSE
- $(DOCD) $(SRC)\des_stub
- $(CD) $(SRC)\des_stub
- $(NTMAKE)
- $(CD) ..\..
-! ENDIF
+ $(DOCD) $(SRC)\des
+ $(CD) $(SRC)\des
+ $(NTMAKE)
+ $(CD) ..\..
rx: des
@echo ***** $@
$(DOCD) $(SRC)\$@
$(CD) $(SRC)\$@
$(NTMAKE)
- $(CD) ..\..
+ $(CD) ..\..
libacl: ptserver
@echo ***** $@
$(NTMAKE)
$(CD) ..\..
-tbutc: tvolser
+dviced: tvolser
+ @echo ***** $@
+ $(DOCD) $(SRC)\$@
+ $(CD) $(SRC)\$@
+ $(NTMAKE)
+ $(CD) ..\..
+
+dvolser: dviced
+ @echo ***** $@
+ $(DOCD) $(SRC)\$@
+ $(CD) $(SRC)\$@
+ $(NTMAKE)
+ $(CD) ..\..
+
+tbutc: dvolser
@echo ***** $@
$(DOCD) $(SRC)\$@
$(CD) $(SRC)\$@
$(NTMAKE)
$(CD) ..\..\..
-extra: netidmgr_plugin
+rpctestlib: fsint libafsrpc
+ @echo ***** $@
+ $(DOCD) $(TESTS)\$@
+ $(CD) $(TESTS)\$@
+ $(NTMAKE)
+ $(CD) ..\..
+
+extra: netidmgr_plugin rpctestlib
! IF EXIST($(SRC)\WINNT\extra) && EXIST($(SRC)\WINNT\extra\NTMakefile)
@echo ***** $@
$(DOCD) $(SRC)\WINNT\$@
# Clean target for obj tree
clean:
- nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" "NTMAKE_OBJS = nmake /nologo /f ntmakefile clean" install
+ $(CD) $(SRC)\config
+ nmake /nologo /f ntmakefile version
+ $(CD) ..\..
nmake /nologo /f ntmakefile "NTMAKE = nmake /nologo /f ntmakefile clean" "NTMAKE_HEADERS = nmake /nologo /f ntmakefile clean" "NTMAKE_OBJS = nmake /nologo /f ntmakefile clean" media
$(CD) $(SRC)\config
nmake /nologo /f ntmakefile clean_version
$(NTMAKE)
$(CD) ..\..\..\..
+wix-lite: loopback man-pages documentation
+ @echo ***** Making Wix MSI Installer (Lite)
+ $(DOCD) $(SRC)\WINNT\install\wix
+ $(CD) $(SRC)\WINNT\install\wix
+ $(NTMAKE) LITECLIENT=1
+ $(CD) ..\..\..\..
+
media: install NSIS wix
install-nsis: install NSIS
install-wix: install wix
+install-wix-lite: install wix-lite