Revision 20721,
2.3 KB
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r20720,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | ## Makefile for building the GLib dlls with Microsoft C |
---|
2 | ## Use: nmake -f makefile.msc |
---|
3 | |
---|
4 | TOP = ..\.. |
---|
5 | |
---|
6 | !INCLUDE ..\build\win32\make.msc |
---|
7 | |
---|
8 | ################################################################ |
---|
9 | |
---|
10 | INCLUDES = -FImsvc_recommended_pragmas.h -I . -I .. |
---|
11 | DEFINES = -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG |
---|
12 | DEPCFLAGS = -Zm400 $(INTL_CFLAGS) $(LIBICONV_CFLAGS) $(DIRENT_CFLAGS) |
---|
13 | |
---|
14 | all : \ |
---|
15 | ..\config.h \ |
---|
16 | ..\glibconfig.h \ |
---|
17 | gnulib\gnulib.lib \ |
---|
18 | libglib-2.0-0.dll \ |
---|
19 | glib-2.4s.lib \ |
---|
20 | gspawn-win32-helper.exe \ |
---|
21 | |
---|
22 | |
---|
23 | gnulib\gnulib.lib : |
---|
24 | cd gnulib |
---|
25 | nmake -f makefile.msc |
---|
26 | cd .. |
---|
27 | |
---|
28 | glib_OBJECTS = \ |
---|
29 | garray.obj \ |
---|
30 | gasyncqueue.obj \ |
---|
31 | gatomic.obj \ |
---|
32 | gbacktrace.obj \ |
---|
33 | gcache.obj \ |
---|
34 | gcompletion.obj \ |
---|
35 | gconvert.obj \ |
---|
36 | gdataset.obj \ |
---|
37 | gdate.obj \ |
---|
38 | gdir.obj \ |
---|
39 | gerror.obj \ |
---|
40 | gfileutils.obj \ |
---|
41 | ghash.obj \ |
---|
42 | ghook.obj \ |
---|
43 | giochannel.obj \ |
---|
44 | giowin32.obj \ |
---|
45 | glist.obj \ |
---|
46 | gmain.obj \ |
---|
47 | gmarkup.obj \ |
---|
48 | gmem.obj \ |
---|
49 | gmessages.obj \ |
---|
50 | gnode.obj \ |
---|
51 | gprimes.obj \ |
---|
52 | gqsort.obj \ |
---|
53 | gqueue.obj \ |
---|
54 | gpattern.obj \ |
---|
55 | gprintf.obj \ |
---|
56 | grand.obj \ |
---|
57 | grel.obj \ |
---|
58 | gscanner.obj \ |
---|
59 | gshell.obj \ |
---|
60 | gslist.obj \ |
---|
61 | gspawn-win32.obj \ |
---|
62 | gstrfuncs.obj \ |
---|
63 | gstring.obj \ |
---|
64 | gthread.obj \ |
---|
65 | gthreadpool.obj \ |
---|
66 | gtimer.obj \ |
---|
67 | gtree.obj \ |
---|
68 | gunibreak.obj \ |
---|
69 | gunicollate.obj \ |
---|
70 | gunidecomp.obj \ |
---|
71 | guniprop.obj \ |
---|
72 | gutf8.obj \ |
---|
73 | gutils.obj \ |
---|
74 | gwin32.obj \ |
---|
75 | localcharset.obj |
---|
76 | |
---|
77 | ..\glibconfig.h: ..\glibconfig.h.win32 |
---|
78 | copy ..\glibconfig.h.win32 ..\glibconfig.h |
---|
79 | |
---|
80 | ..\config.h: ..\config.h.win32 |
---|
81 | copy ..\config.h.win32 ..\config.h |
---|
82 | |
---|
83 | localcharset.c : libcharset/localcharset.c |
---|
84 | copy libcharset\localcharset.c localcharset.c |
---|
85 | |
---|
86 | ################ glib |
---|
87 | |
---|
88 | # create a static libary |
---|
89 | # static library can well have the real version number in the name |
---|
90 | glib-2.4s.lib : $(glib_OBJECTS) gnulib\gnulib.lib |
---|
91 | lib /out:glib-2.4s.lib $(glib_OBJECTS) gnulib\gnulib.lib |
---|
92 | |
---|
93 | libglib-2.0-0.dll : $(glib_OBJECTS) gnulib\gnulib.lib glib.def |
---|
94 | $(CC) $(CFLAGS) -LD -Fe$@ $(glib_OBJECTS) $(LIBICONV_LIBS) $(INTL_LIBS) \ |
---|
95 | gnulib\gnulib.lib $(DIRENT_LIBS) user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) /implib:glib-2.0.lib /def:glib.def |
---|
96 | |
---|
97 | gspawn-win32-helper.exe : gspawn-win32-helper.c libglib-2.0-0.dll |
---|
98 | $(CC) $(CFLAGS) -Fe$@ -DG_LOG_DOMAIN=\"gspawn-win32-helper\" gspawn-win32-helper.c glib-2.0.lib $(LDFLAGS) /subsystem:windows user32.lib |
---|
99 | |
---|
100 | ################ other stuff |
---|
101 | |
---|
102 | clean:: |
---|
103 | del ..\config.h |
---|
104 | del ..\glibconfig.h |
---|
105 | |
---|
Note: See
TracBrowser
for help on using the repository browser.