You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jf...@apache.org on 2003/02/17 16:09:24 UTC

cvs commit: jakarta-commons-sandbox/daemon/src/native/nt/procrun Makefile procrun.h

jfclere     2003/02/17 07:09:24

  Modified:    daemon/src/native/nt/procrun procrun.h
  Added:       daemon/src/native/nt/procrun Makefile
  Log:
  Add Makefile to build on cygwin (Adapt JAVA_HOME to your JAVA installation).
  
  Revision  Changes    Path
  1.6       +4 -0      jakarta-commons-sandbox/daemon/src/native/nt/procrun/procrun.h
  
  Index: procrun.h
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/procrun.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- procrun.h	13 Feb 2003 17:48:35 -0000	1.5
  +++ procrun.h	17 Feb 2003 15:09:24 -0000	1.6
  @@ -72,6 +72,10 @@
   extern "C" {
   #endif
   
  +#ifdef CYGWIN
  +#define PROCRUN_CONSOLE
  +#endif
  +
   #define IDD_DLGCONSOLE        101
   #define IDS_CONWRAPTITLE      102
   #define IDS_CONWRAPCLASS      103
  
  
  
  1.1                  jakarta-commons-sandbox/daemon/src/native/nt/procrun/Makefile
  
  Index: Makefile
  ===================================================================
  JAVA_HOME=c:/j2sdk1.4.1_01
  INCLUDE=-I. -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/win32
  BIN=.
  
  all: $(BIN)/procrun
  
  $(BIN)/procrun: procrun.c
  	gcc -mno-cygwin $(INCLUDE) -DCYGWIN procrun.c \
  	-lshlwapi \
  	-o $(BIN)/procrun
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org