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