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/08/08 12:57:13 UTC

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

jfclere     2003/08/08 03:57:13

  Modified:    daemon/src/native/nt/procrun Makefile procrun.h
  Log:
  Arrange the cygwin logic (I should be able to build the gui too).
  
  Revision  Changes    Path
  1.3       +2 -4      jakarta-commons-sandbox/daemon/src/native/nt/procrun/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/native/nt/procrun/Makefile,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile	16 Jun 2003 17:05:13 -0000	1.2
  +++ Makefile	8 Aug 2003 10:57:13 -0000	1.3
  @@ -2,13 +2,11 @@
   INCLUDE=-I. -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/win32
   BIN=.
   # CFLAGS for debugging
  -#CFLAGS=-DCYGWIN -D_DEBUG
  -# Normal CFLAGS
  -CFLAGS=-DCYGWIN
  +#CFLAGS=-D_DEBUG
   
   all: $(BIN)/procrun
   
   $(BIN)/procrun: procrun.c
  -	gcc -mno-cygwin $(INCLUDE) $(CFLAGS) procrun.c \
  +	gcc -mno-cygwin $(INCLUDE) $(CFLAGS) -DPROCRUN_CONSOLE procrun.c \
   	-lshlwapi \
   	-o $(BIN)/procrun
  
  
  
  1.20      +0 -4      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.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- procrun.h	8 May 2003 18:38:01 -0000	1.19
  +++ procrun.h	8 Aug 2003 10:57:13 -0000	1.20
  @@ -72,10 +72,6 @@
   extern "C" {
   #endif
   
  -#ifdef CYGWIN
  -#define PROCRUN_CONSOLE
  -#endif
  -
   #define IDD_DLGCONSOLE        101
   #define IDS_CONWRAPTITLE      102
   #define IDS_CONWRAPCLASS      103