changeset 15137:74c840c2f577

(LOCAL_FLAGS): Include path to NT shadow includes. (movemail.exe, fakemail.exe): Now built under Win32.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 03 May 1996 18:28:18 +0000
parents 6a1b4fcbb216
children 92326afec2a6
files lib-src/makefile.nt
diffstat 1 files changed, 36 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.nt	Fri May 03 18:26:22 1996 +0000
+++ b/lib-src/makefile.nt	Fri May 03 18:28:18 1996 +0000
@@ -24,7 +24,7 @@
 #
 !include ..\nt\makefile.def
 
-LOCAL_FLAGS	= -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1 -I..\src
+LOCAL_FLAGS	= -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1 -I..\nt\inc -I..\src
 OBJDIR	      	= obj
 BLD	      	= $(OBJDIR)\$(ARCH)
 
@@ -34,7 +34,9 @@
 		$(BLD)\hexl.exe		\
 		$(BLD)\wakeup.exe	\
 		$(BLD)\ctags.exe	\
-		$(BLD)\etags.exe
+		$(BLD)\etags.exe	\
+		$(BLD)\movemail.exe	\
+		$(BLD)\fakemail.exe	\
 
 		
 # don't know what (if) to do with these yet...
@@ -43,9 +45,7 @@
 #		$(BLD)\env.exe		\
 #		$(BLD)\server.exe	\
 #		$(BLD)\emacstool.exe	\
-#		$(BLD)\fakemail.exe	\
 #		$(BLD)\leditcfns.exe	\
-#		$(BLD)\movemail.exe	\
 #		$(BLD)\emacsclient.exe	\
 #		$(BLD)\cvtmail.exe	\
 #		$(BLD)\digest-doc.exe	\
@@ -54,16 +54,22 @@
 
 LIBS	      = $(BASE_LIBS)
 
-$(BLD)\make-docfile.exe: 	$(BLD)\make-docfile.obj
+$(BLD)\make-docfile.exe: 	$(BLD)\make-docfile.obj $(BLD)\ntlib.obj
+		$(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\make-docfile.obj $(BLD)\ntlib.obj $(LIBS)
 $(BLD)\hexl.exe:		$(BLD)\hexl.obj
 $(BLD)\wakeup.exe: 		$(BLD)\wakeup.obj $(BLD)\ntlib.obj
-		$(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj \
-		$(BLD)\ntlib.obj $(LIBS)
+		$(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\wakeup.obj $(BLD)\ntlib.obj $(LIBS)
+$(BLD)\movemail.exe: 		$(BLD)\movemail.obj $(BLD)\pop.obj $(BLD)\ntlib.obj
+		$(LINK) -out:$@ $(LINK_FLAGS) -debug:FULL $(BLD)\movemail.obj $(BLD)\pop.obj $(BLD)\ntlib.obj $(LIBS) wsock32.lib
+$(BLD)\fakemail.exe: 		$(BLD)\fakemail.obj $(BLD)\ntlib.obj
+		$(LINK) -out:$@ $(LINK_FLAGS) -debug:full $(BLD)\fakemail.obj $(BLD)\ntlib.obj $(LIBS)
 
 make-docfile:	$(BLD) $(BLD)\make-docfile.exe
 wakeup:		$(BLD) $(BLD)\wakeup.exe
 etags:		$(BLD) $(BLD)\etags.exe
 hexl:		$(BLD) $(BLD)\hexl.exe
+movemail:	$(BLD) $(BLD)\movemail.exe
+fakemail:	$(BLD) $(BLD)\fakemail.exe
 
 ETAGSOBJ      = $(BLD)\etags.obj \
 		$(BLD)\getopt.obj \
@@ -106,20 +112,15 @@
 #
 # don't know what to do with these yet...
 #
-# $(BLD)\sorted-doc.exe: 		$(LIBS) $(BLD)\sorted-doc.obj
-# $(BLD)\yow.exe: 		$(LIBS) $(BLD)\yow.obj
-# $(BLD)\emacstool.exe: 	$(LIBS) $(BLD)\emacstool.obj
-# $(BLD)\env.exe: 		$(LIBS) $(BLD)\env.obj
-# $(BLD)\fakemail.exe: 		$(LIBS) $(BLD)\fakemail.obj
-# $(BLD)\leditcfns.exe: 	$(LIBS) $(BLD)\leditcfns.obj
-# $(BLD)\server.exe: 		$(LIBS) $(BLD)\server.obj
-# $(BLD)\wakeup.exe: 		$(LIBS) $(BLD)\wakeup.obj
-# $(BLD)\movemail.exe: 		$(LIBS) $(BLD)\movemail.obj
-# $(BLD)\cvtmail.exe: 		$(LIBS) $(BLD)\cvtmail.obj
-# $(BLD)\digest-doc.exe: 	$(LIBS) $(BLD)\digest-doc.obj
-# $(BLD)\emacsclient.exe: 	$(LIBS) $(BLD)\emacsclient.obj
-# $(BLD)\qsort.exe: 		$(LIBS) $(BLD)\qsort.obj
-# $(BLD)\test-distrib.exe: 	$(LIBS) $(BLD)\test-distrib.obj
+# $(BLD)\sorted-doc.exe: 	$(BLD)\sorted-doc.obj
+# $(BLD)\yow.exe: 		$(BLD)\yow.obj
+# $(BLD)\emacstool.exe: 	$(BLD)\emacstool.obj
+# $(BLD)\leditcfns.exe: 	$(BLD)\leditcfns.obj
+# $(BLD)\server.exe: 		$(BLD)\server.obj
+# $(BLD)\cvtmail.exe: 		$(BLD)\cvtmail.obj
+# $(BLD)\digest-doc.exe: 	$(BLD)\digest-doc.obj
+# $(BLD)\emacsclient.exe: 	$(BLD)\emacsclient.obj
+# $(BLD)\test-distrib.exe: 	$(BLD)\test-distrib.obj
 
 #
 # From ..\src\makefile.nt.
@@ -198,6 +199,8 @@
 		$(CP) $(BLD)\ctags.exe $(INSTALL_DIR)\bin
 		$(CP) $(BLD)\hexl.exe $(INSTALL_DIR)\bin
 		$(CP) $(BLD)\wakeup.exe $(INSTALL_DIR)\bin
+		$(CP) $(BLD)\movemail.exe $(INSTALL_DIR)\bin
+		$(CP) $(BLD)\fakemail.exe $(INSTALL_DIR)\bin
 		- mkdir $(INSTALL_DIR)\etc
 		$(CP) $(DOC) $(INSTALL_DIR)\etc
 
@@ -267,6 +270,7 @@
 
 $(BLD)\fakemail.obj : \
 	$(SRC)\fakemail.c \
+	$(SRC)\ntlib.h \
 	$(EMACS_ROOT)\src\s\windowsnt.h \
 	$(EMACS_ROOT)\src\m\intel386.h \
 	$(EMACS_ROOT)\lib-src\..\src\config.h \
@@ -315,6 +319,17 @@
 	$(EMACS_ROOT)\src\vmsproc.h \
 	$(EMACS_ROOT)\lib-src\..\src\syswait.h \
 	$(EMACS_ROOT)\nt\inc\pwd.h
+		$(CC) $(CFLAGS) -DUSG -Fo$@ movemail.c
+
+$(BLD)\ntlib.obj : \
+	$(SRC)\ntlib.c \
+	$(SRC)\ntlib.h \
+	$(EMACS_ROOT)\nt\inc\pwd.h
+
+$(BLD)\pop.obj : \
+	$(SRC)\pop.c \
+	$(SRC)\pop.h \
+	$(SRC)\ntlib.h
 
 $(BLD)\profile.obj : \
 	$(SRC)\profile.c \