Ignore:
Timestamp:
Oct 12, 2008, 4:04:00 PM (14 years ago)
Author:
Sam Hocevar
Message:

Improve the Win32 cross-build script. Still doesn't work well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/ThePimp/Makefile.am

    r2933 r2937  
    77        ErrorWindow.cs \
    88        MainWindow.cs \
     9        NewFile.cs \
    910        OpenFile.cs \
    10         NewFile.cs \
    1111        PictureView.cs \
    1212        SaveFile.cs \
     
    1616        gtk-gui/ThePimp.ErrorWindow.cs \
    1717        gtk-gui/ThePimp.MainWindow.cs \
     18        gtk-gui/ThePimp.NewFile.cs \
    1819        gtk-gui/ThePimp.OpenFile.cs \
    19         gtk-gui/ThePimp.NewFile.cs \
    2020        gtk-gui/ThePimp.PictureView.cs \
    2121        gtk-gui/ThePimp.SaveFile.cs \
     
    3131
    3232if USE_CSHARP
    33 if USE_GTKSHARP
    3433bin_SCRIPTS = ThePimp.exe
    3534endif
     35
     36if USE_GTKSHARP
     37pimp_flags = -pkg:gtk-sharp-2.0 -r:Mono.Posix
     38else
     39pimp_flags = \
     40        -r:$(top_srcdir)/win32/assembly/pango-sharp.dll \
     41        -r:$(top_srcdir)/win32/assembly/atk-sharp.dll \
     42        -r:$(top_srcdir)/win32/assembly/gdk-sharp.dll \
     43        -r:$(top_srcdir)/win32/assembly/gtk-sharp.dll \
     44        -r:$(top_srcdir)/win32/assembly/glib-sharp.dll
    3645endif
    3746
     
    3948
    4049ThePimp.exe: ../pipi-sharp/pipi-sharp.dll $(pimp_sources) $(pimp_resources)
     50        $(GMCS) -debug -codepage:utf8 -out:$@ $(pimp_flags) -lib:./ \
     51          $(addprefix $(srcdir)/, $(pimp_sources)) \
     52          $(foreach x, $(pimp_resources), \
     53                       -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \
     54          -r:pipi-sharp.dll
    4155        cp ../pipi-sharp/pipi-sharp.dll .
    4256        cp ../pipi-sharp/pipi-sharp.dll.config .
    4357        cp ../pipi-sharp/pipi-sharp.dll.mdb .
    44         $(GMCS) -debug -codepage:utf8 -out:$@ -lib:./ \
    45           $(addprefix $(srcdir)/, $(pimp_sources)) \
    46           $(foreach x, $(pimp_resources), \
    47                        -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \
    48           -pkg:gtk-sharp-2.0 -r:Mono.Posix -r:pipi-sharp.dll
    4958
    5059clean-local:
Note: See TracChangeset for help on using the changeset viewer.