]> git.pld-linux.org Git - packages/di.git/commitdiff
- adjuested for 4.20 auto/th/di-4_20-1
authorlisu <lisu@pld-linux.org>
Fri, 2 Apr 2010 14:28:01 +0000 (14:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    di-Makefile.patch -> 1.3

di-Makefile.patch

index 2794449b1c526ffe3125ba1f4a4d14f0a0a8aa2d..d7f139c377b837e7ad6d98e022affa40ca986034 100644 (file)
@@ -1,42 +1,31 @@
---- di-4.18/Makefile~  2009-11-30 01:50:38.000000000 +0000
-+++ di-4.18/Makefile   2009-11-30 15:11:51.460747491 +0000
-@@ -67,7 +67,7 @@
- # have to get various environment variables set up.
- all:
--      ./Build
-+      ./Build -mkc
- di-all:       config.h $(PROG)$(EXE_EXT) hasnls$(EXE_EXT)
-@@ -84,15 +84,14 @@
+--- di-4.20/Makefile~  2010-03-31 17:30:14.000000000 +0200
++++ di-4.20/Makefile   2010-04-02 16:24:55.767775880 +0200
+@@ -138,7 +138,7 @@
                CC=cl LD=cl EXE_EXT=".exe" OBJ_EXT=".obj" \
                CFLAGS="$(CFLAGS) -nologo -O2 \
                -DDEFAULT_FORMAT=\\\"sMbuvpT\\\"" \
--              LDFLAGS="-nologo -O2" $(PROG).exe
-+              LDFLAGS="-nologo" $(PROG).exe
+-              LDFLAGS="-nologo -O2" di-programs
++              LDFLAGS="-nologo" di-programs
  
  # This was tested using cygwin
- windows-gcc:  wconfig.h
-       $(MAKE) -f Makefile \
+ windows-gcc:
+@@ -148,8 +148,7 @@
+       $(MAKE) \
                CC=gcc LD=gcc EXE_EXT=".exe" OBJ_EXT=".o" \
                CFLAGS="$(CFLAGS) -g -O2 \
 -              -DDEFAULT_FORMAT=\\\"sMbuvpT\\\"" \
--              LDFLAGS="-g -O2" $(PROG).exe
+-              LDFLAGS="-g -O2" di-programs
 +              -DDEFAULT_FORMAT=\\\"sMbuvpT\\\""
  
- ####################
-@@ -191,7 +190,7 @@
-               realloc$(OBJ_EXT) trimchar$(OBJ_EXT) getopt$(OBJ_EXT)
-       @test ! -f reqlibs.txt || echo "*** Using libs: `cat reqlibs.txt`"
+ os2-gcc:
+       @echo ':' > di.env;chmod a+rx di.env
+@@ -279,12 +278,12 @@
+       @if [ -f reqlibs.txt ];then \
+               echo "*** Using libs: `$(CAT) reqlibs.txt`"; fi
        $(CC) -o $(PROG)$(EXE_EXT) \
--              $(CFLAGS) $(LDFLAGS) \
-+              $(CFLAGS) $(OPTFLAGS) $(LDFLAGS) \
-               di$(OBJ_EXT) didiskutil$(OBJ_EXT) digetinfo$(OBJ_EXT) \
-               digetentries$(OBJ_EXT) \
-               realloc$(OBJ_EXT) trimchar$(OBJ_EXT) \
-@@ -200,7 +199,7 @@
+-              $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) \
++              $(CFLAGS) $(OPTFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) \
+               `if [ -f reqlibs.txt ];then $(CAT) reqlibs.txt; fi`
  
  hasnls$(EXE_EXT):     hasnls$(OBJ_EXT)
        $(CC) -o hasnls$(EXE_EXT) \
This page took 0.079168 seconds and 4 git commands to generate.