Commit c21f9f0065482cc068aaa2c3b0c93572dc0d2919

Authored by Perry Werneck
1 parent 733e0bda

Ajustes para compilação em windows.

Showing 2 changed files with 17 additions and 1 deletions   Show diff stats
@@ -46,6 +46,7 @@ INSTALL_DATA=@INSTALL_DATA@ @@ -46,6 +46,7 @@ INSTALL_DATA=@INSTALL_DATA@
46 INSTALL_PROGRAM=@INSTALL_PROGRAM@ 46 INSTALL_PROGRAM=@INSTALL_PROGRAM@
47 XGETTEXT=@XGETTEXT@ 47 XGETTEXT=@XGETTEXT@
48 MSGCAT=@MSGCAT@ 48 MSGCAT=@MSGCAT@
  49 +WINDRES=@WINDRES@
49 50
50 #---[ Paths ]---------------------------------------------------------------------------- 51 #---[ Paths ]----------------------------------------------------------------------------
51 52
@@ -108,6 +109,13 @@ $(OBJDBG)/%.o: \ @@ -108,6 +109,13 @@ $(OBJDBG)/%.o: \
108 -DDEBUG=1 \ 109 -DDEBUG=1 \
109 -o $@ -c $< 110 -o $@ -c $<
110 111
  112 +$(OBJDBG)/%.o: \
  113 + %.rc
  114 +
  115 + @echo $< ...
  116 + @$(MKDIR) `dirname $@`
  117 + @$(WINDRES) $< -O coff -o $@
  118 +
111 #---[ Release Rules ]-------------------------------------------------------------------- 119 #---[ Release Rules ]--------------------------------------------------------------------
112 120
113 $(OBJRLS)/%.o: \ 121 $(OBJRLS)/%.o: \
@@ -121,6 +129,13 @@ $(OBJRLS)/%.o: \ @@ -121,6 +129,13 @@ $(OBJRLS)/%.o: \
121 -DNDEBUG=1 \ 129 -DNDEBUG=1 \
122 -o $@ -c $< 130 -o $@ -c $<
123 131
  132 +$(OBJRLS)/%.o: \
  133 + %.rc
  134 +
  135 + @echo $< ...
  136 + @$(MKDIR) `dirname $@`
  137 + @$(WINDRES) $< -O coff -o $@
  138 +
124 #---[ Misc Rules ]----------------------------------------------------------------------- 139 #---[ Misc Rules ]-----------------------------------------------------------------------
125 140
126 $(POTDIR)/%.pot: \ 141 $(POTDIR)/%.pot: \
@@ -72,6 +72,8 @@ dnl --------------------------------------------------------------------------- @@ -72,6 +72,8 @@ dnl ---------------------------------------------------------------------------
72 dnl Check for OS specifics 72 dnl Check for OS specifics
73 dnl --------------------------------------------------------------------------- 73 dnl ---------------------------------------------------------------------------
74 74
  75 +DLLPREFIX="lib"
  76 +
75 case "$host" in 77 case "$host" in
76 *-mingw32) 78 *-mingw32)
77 app_cv_osname="windows" 79 app_cv_osname="windows"
@@ -103,7 +105,6 @@ case &quot;$host&quot; in @@ -103,7 +105,6 @@ case &quot;$host&quot; in
103 app_cv_osname="linux" 105 app_cv_osname="linux"
104 LOGDIR="/var/log" 106 LOGDIR="/var/log"
105 DLLEXT=".so" 107 DLLEXT=".so"
106 - DLLPREFIX="lib"  
107 108
108 esac 109 esac
109 110