summaryrefslogtreecommitdiff
path: root/makefile.msc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-08-30 05:09:11 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-08-30 05:09:11 +0000
commit74b4d8c22e6b63661430395f40b978684009c29b (patch)
tree779d758cbd7f2c7b21185c425402536bc111c051 /makefile.msc
parent66529cef67ae7bf10ddf81ca7a243c4576a7fa9e (diff)
downloadglib-74b4d8c22e6b63661430395f40b978684009c29b.tar.gz
After being away for about five months, I'm back working on this... For
2001-08-30 Tor Lillqvist <tml@iki.fi> After being away for about five months, I'm back working on this... For now, still using same build setup for Win32. Probably will change to not including version numbers in the import library names, though. (But the DLL names would still include them, possibly even also the micro version number.) That would be more Unix-like. Also, will have to check out newest mingw tool versions to see if the build-dll script now can be retired. * makefile.mingw * makefile.msc: New files, no need to generate from .in as they don't contain references to automake variables. * makefile.mingw.in * makefile.msc.in: Removed. * glib.rc.in: Remove * glib/glib.rc.in: Moved here. * Makefile.am * glib/Makefile.am: Corresponding changes. * glib/glib.def: Fix typo, add new entries. * glib/gspawn-win32-helper.c: More debugging. Doesn't work currently (or then it never has on Win2k, which I now use?) * glib/gstrfuncs.c * glib/gstrfuncs.h: Mark g_ascii_table for export/import on Win32. * */makefile.mingw.in: Reflect new location of glib library.
Diffstat (limited to 'makefile.msc')
-rw-r--r--makefile.msc24
1 files changed, 24 insertions, 0 deletions
diff --git a/makefile.msc b/makefile.msc
new file mode 100644
index 000000000..433c1f295
--- /dev/null
+++ b/makefile.msc
@@ -0,0 +1,24 @@
+## Makefile for building the GLib dlls with Microsoft C
+## Use: nmake -f makefile.msc
+
+PARTS = glib gmodule gthread gobject tests
+
+all : \
+ config.h \
+ sub-all
+
+sub-all:
+ for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=all
+
+clean : sub-clean
+
+sub-clean:
+ for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
+
+sub-one:
+ @cd $(THIS)
+ @nmake -nologo -f makefile.msc $(TARGET)
+ @cd ..
+
+config.h: config.h.win32
+ copy config.h.win32 config.h