summaryrefslogtreecommitdiff
path: root/Jamfile
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-03-29 17:29:22 +0200
committerTor Andersson <tor@ghostscript.com>2005-03-29 17:29:22 +0200
commit4d218727a950f694498d81ee1b179d1f4f8260da (patch)
tree774c24fe0f6da6f529b7fc4196a791f365901651 /Jamfile
parent10d750cbc3e4325ee56fd56d6d8056933da36d59 (diff)
downloadmupdf-4d218727a950f694498d81ee1b179d1f4f8260da.tar.xz
win32 polish
Diffstat (limited to 'Jamfile')
-rw-r--r--Jamfile21
1 files changed, 18 insertions, 3 deletions
diff --git a/Jamfile b/Jamfile
index af49ce18..4add9813 100644
--- a/Jamfile
+++ b/Jamfile
@@ -209,11 +209,26 @@ Library libmupdf :
LINKLIBS = -lfreetype -ljpeg -lz -lm ;
-if $(OS) = NT
+if $(OS) = MINGW
{
- Main w32pdf : apps/w32pdf.c ;
+ rule UserObject
+ {
+ Res $(<) : $(>) ;
+ }
+
+ rule Res
+ {
+ Depends $(<) : $(>) ;
+ }
+
+ actions Res
+ {
+ windres -i $(>) -o $(<)
+ }
+
+ Main w32pdf : apps/w32pdf.c apps/w32res.rc ;
LinkLibraries w32pdf : libmupdf libfitz ;
- LINKLIBS on w32pdf$(SUFEXE) = $(LINKLIBS) -lgdi32 ;
+ LINKLIBS on w32pdf$(SUFEXE) = $(LINKLIBS) -lgdi32 -lcomdlg32 -mwindows ;
}
if $(OS) = MACOSX