Mercurial > dwindows
annotate Makefile.in @ 636:f6f887d2c5aa
Add _dw_log() internal logging function
Preliminary support for building with GTK+ on Windows with MinGW
Deprecate dw_menu_item_set_check(); use dw_menu_item_set_state()
Support dw_window_set_text() from groupbox
Support transparent bitmaps( GTK+ already did by default)
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 10 Apr 2009 22:55:56 +0000 |
parents | a5deb87b26e4 |
children | 06be879f5137 |
rev | line source |
---|---|
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
1 srcdir=@srcdir@ |
3 | 2 CC = @CC@ |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
3 MLFLAGS = -L. |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
4 CCFLAGS = @CFLAGS@ -g -O2 -fPIC -Wall -D@DW_DEFINE@ -DBUILD_DLL -DDW_RESOURCES |
3 | 5 LFLAGS = @LIBS@ |
41
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
6 INSTALL = @INSTALL@ |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
7 DW_SRC = @DW_SRC@ |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
8 INCPATH = -I.. -I. -I$(srcdir) |
3 | 9 TARGET = dw |
636
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
629
diff
changeset
|
10 SRCS = $(srcdir)/$(DW_SRC)/dw.c $(DW_SRC)rel2abs.c |
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
629
diff
changeset
|
11 BROWSER_OBJECT=@BROWSER_OBJECT@ |
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
629
diff
changeset
|
12 OBJECTS = dw.o rel2abs.o $(BROWSER_OBJECT) |
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
629
diff
changeset
|
13 SRCS2 = $(srcdir)compat.c |
f6f887d2c5aa
Add _dw_log() internal logging function
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
629
diff
changeset
|
14 OBJECTS2= compat.o |
3 | 15 TARGET2 = dwcompat |
625
21c321ec0810
Make version dependent on configure
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
622
diff
changeset
|
16 VER_MAJ = @DW_MAJOR_VERSION@ |
21c321ec0810
Make version dependent on configure
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
622
diff
changeset
|
17 VER_MIN = @DW_MINOR_VERSION@ |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
18 SOSUFFIX= @SOSUFFIX@ |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
19 PREFIX = $(DESTDIR)@prefix@ |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
20 SRCDIR=dwindows-$(VER_MAJ).$(VER_MIN) |
3 | 21 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
22 #.SUFFIXES: .c .h |
3 | 23 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
24 #.c.o: |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
25 # $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $< |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
26 |
3 | 27 |
28 # Link flags shared objects | |
432
5f9f185e4aa0
Wrong predicate on SHAREDFLAGS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
430
diff
changeset
|
29 SYSCONF_LFLAGS_SHOBJ = @SHAREDFLAG@ |
3 | 30 |
31 # Linking shared libraries | |
32 # - Build the $(TARGET) library, eg. lib$(TARGET).so.0.0 | |
33 # - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN) | |
34 # | |
35 SYSCONF_LINK_SHLIB = gcc | |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
36 SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).$(SOSUFFIX).$(VER_MAJ).$(VER_MIN) |
430
636a8a19f6c8
Condifure and Makefile changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
428
diff
changeset
|
37 SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) $(SYSCONF_LFLAGS_SHOBJ) \ |
3 | 38 -o $(SYSCONF_LINK_TARGET_SHARED) \ |
39 $(OBJECTS) $(LFLAGS); \ | |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
40 rm -f lib$(TARGET).$(SOSUFFIX) lib$(TARGET).$(SOSUFFIX).$(VER_MAJ); \ |
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
41 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX); \ |
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
42 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX).$(VER_MAJ) |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
43 |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
44 SYSCONF_LINK_TARGET_SHARED2 = lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ).$(VER_MIN) |
430
636a8a19f6c8
Condifure and Makefile changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
428
diff
changeset
|
45 SYSCONF_LINK_LIB_SHARED2 = $(SYSCONF_LINK_SHLIB) $(SYSCONF_LFLAGS_SHOBJ) \ |
3 | 46 -o $(SYSCONF_LINK_TARGET_SHARED2) \ |
47 $(OBJECTS2) $(LFLAGS); \ | |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
48 rm -f lib$(TARGET2).$(SOSUFFIX) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ); \ |
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
49 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX); \ |
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
50 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ) |
3 | 51 |
52 | |
53 # Linking static libraries | |
54 # - Build the $(TARGET) library, eg. lib$(TARGET).a | |
55 # | |
56 SYSCONF_AR = ar cqs | |
57 SYSCONF_LINK_TARGET_STATIC = lib$(TARGET).a | |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
58 SYSCONF_LINK_LIB_STATIC = rm -f $(SYSCONF_LINK_TARGET_STATIC) ; \ |
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
59 $(SYSCONF_AR) $(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) |
3 | 60 |
61 | |
62 | |
63 ####### Build rules | |
64 | |
65 SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED) | |
66 SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED) | |
67 | |
68 SYSCONF_LINK_TARGET2 = $(SYSCONF_LINK_TARGET_SHARED2) | |
69 SYSCONF_LINK_LIB2 = $(SYSCONF_LINK_LIB_SHARED2) | |
70 | |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
71 all: $(SYSCONF_LINK_TARGET) $(SYSCONF_LINK_TARGET2) dwtest |
3 | 72 |
44
24afe3035088
Removed dependencies on install rule.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
41
diff
changeset
|
73 install: |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
74 $(INSTALL) -d $(PREFIX)/include; \ |
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
75 $(INSTALL) -d $(PREFIX)/bin; \ |
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
76 $(INSTALL) -d $(PREFIX)/lib; \ |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
77 $(INSTALL) $(srcdir)/dw.h $(PREFIX)/include; \ |
80
5e4730c42014
Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
78
diff
changeset
|
78 $(INSTALL) dw-config $(PREFIX)/bin; \ |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
79 $(INSTALL) dwtest $(PREFIX)/bin; \ |
41
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
80 $(INSTALL) $(SYSCONF_LINK_TARGET) $(PREFIX)/lib; \ |
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
81 $(INSTALL) $(SYSCONF_LINK_TARGET2) $(PREFIX)/lib; \ |
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
82 cd $(PREFIX)/lib; \ |
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
83 rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ); \ |
437
903fb3085d42
More MacOS fixes, make install now works properly. Made special test
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
434
diff
changeset
|
84 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX); \ |
903fb3085d42
More MacOS fixes, make install now works properly. Made special test
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
434
diff
changeset
|
85 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX).$(VER_MAJ); \ |
903fb3085d42
More MacOS fixes, make install now works properly. Made special test
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
434
diff
changeset
|
86 rm -f lib$(TARGET2).$(SOSUFFIX) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ); \ |
903fb3085d42
More MacOS fixes, make install now works properly. Made special test
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
434
diff
changeset
|
87 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX); \ |
903fb3085d42
More MacOS fixes, make install now works properly. Made special test
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
434
diff
changeset
|
88 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ) |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
89 |
3 | 90 clean: |
91 rm -f *.so | |
92 rm -f *.o | |
93 rm -f *~ | |
94 rm -f *.a | |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
95 rm -f $(DW_SRC)/*.o |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
96 |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
97 $(SYSCONF_LINK_TARGET2): $(OBJECTS2) |
3 | 98 $(SYSCONF_LINK_LIB2) |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
99 |
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
100 $(SYSCONF_LINK_TARGET): $(OBJECTS) |
3 | 101 $(SYSCONF_LINK_LIB) |
193
efd4703450fa
Build test application on Unix too... and also fixed GTK to allow
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
147
diff
changeset
|
102 |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
103 dw.o: $(srcdir)/$(DW_SRC)/dw.c |
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
104 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/$(DW_SRC)/dw.c |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
105 |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
106 browser.o: $(srcdir)/$(DW_SRC)/browser.cpp |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
107 $(CXX) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/$(DW_SRC)/browser.cpp |
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
108 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
109 compat.o: $(srcdir)/compat.c |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
110 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/compat.c |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
111 |
629
a5deb87b26e4
Add support for using initial directory in dw_file_browse()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
625
diff
changeset
|
112 rel2abs.o: $(DW_SRC)/rel2abs.c |
a5deb87b26e4
Add support for using initial directory in dw_file_browse()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
625
diff
changeset
|
113 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(DW_SRC)/rel2abs.c |
a5deb87b26e4
Add support for using initial directory in dw_file_browse()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
625
diff
changeset
|
114 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
115 ci.o: $(srcdir)/ci.c |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
116 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/ci.c |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
117 |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
118 dwtest.o: $(srcdir)/dwtest.c |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
119 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/dwtest.c |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
120 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
121 ci: ci.o |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
122 $(CC) -o ci ci.o -L$(PREFIX)/lib -ldw -ldwcompat $(LFLAGS) |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
123 |
193
efd4703450fa
Build test application on Unix too... and also fixed GTK to allow
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
147
diff
changeset
|
124 dwtest: dwtest.o |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
125 $(CC) -o dwtest dwtest.o $(MLFLAGS) -ldw -ldwcompat $(LFLAGS) |
566
f6de197ecbe9
Add dw_color_choose()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
126 -chmod +x mac/finishup.sh |
f6de197ecbe9
Add dw_color_choose()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
443
diff
changeset
|
127 -mac/finishup.sh |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
128 |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
129 zip: |
396
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
130 zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/license.txt $(srcdir)/makefile.* $(srcdir)/readme $(srcdir)/*.c $(srcdir)/dw.h $(srcdir)/compat.h \ |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
131 $(srcdir)/*.def $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure \ |
396
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
132 $(srcdir)/ac*.m4 \ |
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
133 $(srcdir)/gtk/*.c $(srcdir)/win/*.c $(srcdir)/os2/*.c \ |
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
134 $(srcdir)/gtk/*.xpm $(srcdir)/win/*.ico $(srcdir)/os2/*.ico \ |
609
f41b7e3a54f6
Add finishup.sh to source distros.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
601
diff
changeset
|
135 $(srcdir)/mac/Info.plist $(srcdir)/mac/PkgInfo $(srcdir)/mac/*.c $(srcdir)/mac/dwtest.r $(srcdir)/mac/finishup.sh \ |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
136 $(srcdir)/platform/*.h |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
137 |
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
138 dist: |
396
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
139 (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/license.txt $(SRCDIR)/makefile.* $(SRCDIR)/readme $(SRCDIR)/*.c $(SRCDIR)/dw.h $(SRCDIR)/compat.h \ |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
140 $(SRCDIR)/*.def $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure \ |
396
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
141 $(SRCDIR)/ac*.m4 \ |
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
142 $(SRCDIR)/gtk/*.c $(SRCDIR)/win/*.c $(SRCDIR)/os2/*.c \ |
278707e0532c
Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
382
diff
changeset
|
143 $(SRCDIR)/gtk/*.xpm $(SRCDIR)/win/*.ico $(SRCDIR)/os2/*.ico \ |
261
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
144 $(SRCDIR)/platform/*.h | gzip > dwindows-$(VER_MAJ).$(VER_MIN).tar.gz ) |