Mercurial > dwindows
annotate Makefile.in @ 2884:06e475feaac0
C++: Split Menu and MenuBar to prevent type conflicts.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 22 Dec 2022 14:51:21 +0000 |
parents | ac404083dc6b |
children | 11fd5cf0ee99 |
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@ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
2 mandir=@mandir@ |
3 | 3 CC = @CC@ |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
4 CXX = @CXX@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
5 PLATCCFLAGS = @PLATCCFLAGS@ |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
6 MLFLAGS = -L. |
2881
ac404083dc6b
Rename the Version file Version.mk since it is included by the Makefiles.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2867
diff
changeset
|
7 include $(srcdir)/Version.mk |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
8 CCFLAGS = @CFLAGS@ $(PLATCCFLAGS) @ARCH@ -D@DW_DEFINE@ -DBUILD_DLL -DDW_RESOURCES -DVER_REV=$(VER_REV) |
2867
ada74f4d3f39
C++: Implement conditional signal handlers based on overrides.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2863
diff
changeset
|
9 CXXFLAGS= -std=c++11 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
10 LFLAGS = @LIBS@ @ARCH@ |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
11 ARFLAGS = @ARFLAGS@ |
41
af0a78aa0d45
More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
3
diff
changeset
|
12 INSTALL = @INSTALL@ |
412
a8015e02b590
Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
396
diff
changeset
|
13 DW_SRC = @DW_SRC@ |
662
d7badd5606ca
Removed the Carbon source file, and changes to configure to build the Cocoa version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
646
diff
changeset
|
14 DW_DIR = @DW_DIR@ |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
15 INCPATH = -I.. -I. -I$(srcdir) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
16 TARGET = @TARGET@ |
878
4f1228efbdca
Switched to realpath() instead of rel2abs() for GTK1/2 for now also.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
761
diff
changeset
|
17 SRCS = $(srcdir)/$(DW_DIR)/$(DW_SRC) |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
18 BROWSER_OBJECT= @BROWSER_OBJECT@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
19 COMPAT_OBJECT = @COMPAT_OBJECT@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
20 INSTALL_COMPAT= @INSTALL_COMPAT@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
21 INSTALL_TEST = @INSTALL_TEST@ |
878
4f1228efbdca
Switched to realpath() instead of rel2abs() for GTK1/2 for now also.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
761
diff
changeset
|
22 OBJECTS = dw.o $(BROWSER_OBJECT) |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
23 SRCS2 = $(srcdir)dwcompat.c |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
24 OBJECTS2= $(COMPAT_OBJECT) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
25 TARGET2= @TARGET2@ |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
26 TARGETS = @TARGETS@ |
1351
751f127439f7
Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1160
diff
changeset
|
27 VER_MAJ = $(DW_MAJOR_VERSION) |
751f127439f7
Changes to the build system to no longer use the version during configure.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1160
diff
changeset
|
28 VER_MIN = $(DW_MINOR_VERSION) |
1160
924c8087a755
Attempt to use the subversion revision number as the sub version number.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1114
diff
changeset
|
29 VER_REV = @SVNVERSION@ |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
30 SOSUFFIX= @SOSUFFIX@ |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
31 SONAME = @SONAME@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
32 LIBPREFIX = @LIBPREFIX@ |
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
33 LIBSUFFIX = @LIBSUFFIX@ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
34 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
|
35 SRCDIR=dwindows-$(VER_MAJ).$(VER_MIN) |
3 | 36 |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
37 #.SUFFIXES: .c .cpp .h .hpp |
3 | 38 |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
39 #.c.o: |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
40 # $(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
|
41 |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
42 #.cpp.o: |
2867
ada74f4d3f39
C++: Implement conditional signal handlers based on overrides.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2863
diff
changeset
|
43 # $(CXX) -c $(CXXFLAGS) $(CCFLAGS) $(INCPATH) -o $@ $< |
2862
7479ab54e014
Linux: Fixes for building dwtestoo on Linux/gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2861
diff
changeset
|
44 |
3 | 45 |
46 # Link flags shared objects | |
432
5f9f185e4aa0
Wrong predicate on SHAREDFLAGS.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
430
diff
changeset
|
47 SYSCONF_LFLAGS_SHOBJ = @SHAREDFLAG@ |
3 | 48 |
49 # Linking shared libraries | |
50 # - Build the $(TARGET) library, eg. lib$(TARGET).so.0.0 | |
51 # - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN) | |
52 # | |
2029
10ca3e9d199f
Remove hardcoded "gcc" to fix building on systems without gcc.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1901
diff
changeset
|
53 SYSCONF_LINK_SHLIB = @CC@ |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
54 SYSCONF_LINK_TARGET_SHARED = @SYSCONF_LINK_TARGET_SHARED@ |
430
636a8a19f6c8
Condifure and Makefile changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
428
diff
changeset
|
55 SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) $(SYSCONF_LFLAGS_SHOBJ) \ |
3 | 56 -o $(SYSCONF_LINK_TARGET_SHARED) \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
57 $(OBJECTS) $(LFLAGS) $(SONAME); \ |
434
062ed9ddf3af
Shared library updates for MacOS X. Suffix should be dylib, and linker
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
432
diff
changeset
|
58 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
|
59 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
|
60 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
|
61 |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
62 SYSCONF_LINK_TARGET_SHARED2 = @SYSCONF_LINK_TARGET_SHARED2@ |
430
636a8a19f6c8
Condifure and Makefile changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
428
diff
changeset
|
63 SYSCONF_LINK_LIB_SHARED2 = $(SYSCONF_LINK_SHLIB) $(SYSCONF_LFLAGS_SHOBJ) \ |
3 | 64 -o $(SYSCONF_LINK_TARGET_SHARED2) \ |
65 $(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
|
66 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
|
67 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
|
68 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ) |
3 | 69 |
70 | |
71 # Linking static libraries | |
72 # - Build the $(TARGET) library, eg. lib$(TARGET).a | |
73 # | |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
74 SYSCONF_AR = ar $(ARFLAGS) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
75 SYSCONF_LINK_TARGET_STATIC = @SYSCONF_LINK_TARGET_STATIC@ |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
76 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
|
77 $(SYSCONF_AR) $(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) |
3 | 78 |
79 | |
80 | |
81 ####### Build rules | |
82 | |
83 SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED) | |
84 SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED) | |
85 | |
86 SYSCONF_LINK_TARGET2 = $(SYSCONF_LINK_TARGET_SHARED2) | |
87 SYSCONF_LINK_LIB2 = $(SYSCONF_LINK_LIB_SHARED2) | |
88 | |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
89 all: $(TARGETS) dwtest dwtestoo |
3 | 90 |
2111
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
91 install: installbase $(INSTALL_COMPAT) $(INSTALL_TEST) |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
92 |
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
93 installbase: $(SYSCONF_LINK_TARGET) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
94 $(INSTALL) -d $(prefix)/include; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
95 $(INSTALL) -d $(prefix)/lib; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
96 $(INSTALL) -d $(prefix)/bin; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
97 $(INSTALL) -d $(prefix)/share/man/man1; \ |
1851
c14384f1077b
Make sure pkgconfig directory exists before installing the .pc file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
98 $(INSTALL) -d $(prefix)/lib/pkgconfig; \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
99 $(INSTALL) $(srcdir)/dw.h $(prefix)/include; \ |
1758
517d6e3f4b88
Cause variable expansion to occur during install phase.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1612
diff
changeset
|
100 sed -e 's/@DW_MAJOR_VERSION@/'$(VER_MAJ)'/' -e 's/@DW_MINOR_VERSION@/'$(VER_MIN)'/' -e 's/@DW_SUB_VERSION@/'$(VER_REV)'/' < dwindows-config1 > dwindows-config |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
101 $(INSTALL) dwindows-config $(prefix)/bin; \ |
1850
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1758
diff
changeset
|
102 sed -e 's/@VERSION@/'$(VER_MAJ).$(VER_MIN).$(VER_REV)'/' < dwindows1.pc > dwindows.pc |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1758
diff
changeset
|
103 $(INSTALL) dwindows.pc $(prefix)/lib/pkgconfig; \ |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
104 $(INSTALL) $(srcdir)/dwindows-config.1 $(prefix)/share/man/man1; \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
105 cd $(prefix)/share/man/man1; gzip -f -9 dwindows-config.1 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
106 $(INSTALL) $(SYSCONF_LINK_TARGET) $(prefix)/lib; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
107 cd $(prefix)/lib; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
108 rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ); \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
109 ln -sf $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX); \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
110 ln -sf $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).$(SOSUFFIX).$(VER_MAJ) |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
111 |
2111
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
112 installdwtest: dwtest |
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
113 $(INSTALL) -d $(prefix)/bin; \ |
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
114 $(INSTALL) -d $(prefix)/share/applications; \ |
2854
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
115 $(INSTALL) -d $(prefix)/share/dwtest; \ |
2111
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
116 $(INSTALL) dwtest $(prefix)/bin; \ |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
117 $(INSTALL) dwtestoo $(prefix)/bin; \ |
2452
8a12b4caf6b9
GTK: Install dwtest images in $(prefix)/share/dwtest so they can be found
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2221
diff
changeset
|
118 $(INSTALL) org.dbsoft.dwindows.dwtest.desktop $(prefix)/share/applications/; \ |
2854
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
119 $(INSTALL) image/test.png $(prefix)/share/dwtest; \ |
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
120 $(INSTALL) gtk/file.xpm $(prefix)/share/dwtest; \ |
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
121 $(INSTALL) gtk/folder.xpm $(prefix)/share/dwtest |
2111
37ce3e22ee1a
GTK: Split installdwtest into a separate make rule and don't enable it when
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2109
diff
changeset
|
122 |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
123 installdwcompat: $(SYSCONF_LINK_TARGET2) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
124 $(INSTALL) -d $(prefix)/lib; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
125 $(INSTALL) $(SYSCONF_LINK_TARGET2) $(prefix)/lib; \ |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
126 $(INSTALL) $(srcdir)/dwcompat.h $(prefix)/include; \ |
2160
07f1366a724c
Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2111
diff
changeset
|
127 $(INSTALL) $(srcdir)/dwconfig.h $(prefix)/include; \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
128 cd $(prefix)/lib; \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
129 rm -f lib$(TARGET2).$(SOSUFFIX) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ); \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
130 ln -sf $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX); \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
131 ln -sf $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ) |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
132 |
1369
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
133 uninstall: |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
134 rm -f $(prefix)/lib/lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ) |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
135 rm -f $(prefix)/lib/lib$(TARGET2).$(SOSUFFIX) |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
136 rm -f $(prefix)/lib/lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ).$(VER_MIN) |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
137 rm -f $(prefix)/lib/lib$(TARGET).$(SOSUFFIX).$(VER_MAJ) |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
138 rm -f $(prefix)/lib/lib$(TARGET).$(SOSUFFIX) |
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
139 rm -f $(prefix)/lib/lib$(TARGET).$(SOSUFFIX).$(VER_MAJ).$(VER_MIN) |
2109
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
140 rm -f $(prefix)/lib/pkgconfig/dwindows.pc |
1369
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
141 rm -f $(prefix)/bin/dwindows-config |
2109
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
142 rm -f $(prefix)/bin/dwtest |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
143 rm -f $(prefix)/bin/dwtestoo |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
144 rm -f $(prefix)/include/dwcompat.h |
2160
07f1366a724c
Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2111
diff
changeset
|
145 rm -f $(prefix)/include/dwconfig.h |
1369
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
146 rm -f $(prefix)/include/dw.h |
2109
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
147 rm -f $(prefix)/share/applications/org.dbsoft.dwindows.dwtest.desktop |
1369
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
148 rm -f $(prefix)/share/man/man1/dwindows-config.1.gz |
2454
2312b315ec20
GTK: Fix incorrect uninstall rule. test.png not image.png.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2452
diff
changeset
|
149 rm -f $(prefix)/share/dwtest/test.png |
2854
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
150 rm -f $(prefix)/share/dwtest/file.xpm |
8a5131cbbe93
GTK2/3/4: Add return values to dw_window_set_bitmap(_from_data).
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2762
diff
changeset
|
151 rm -f $(prefix)/share/dwtest/folder.xpm |
1369
960ea1ec245e
Add an uninstall target.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1368
diff
changeset
|
152 |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
153 deb: dist |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
154 -rm -fr tmp |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
155 -mkdir tmp |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
156 (cd tmp;tar zxvf ../../$(srcdir)/$(SRCDIR).tar.gz;cd $(SRCDIR);dpkg-buildpackage -rfakeroot;cd ..;ls -l) |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
157 |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
158 distclean: clean |
2160
07f1366a724c
Rename config.h(.in) to dwconfig.h and install it with dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2111
diff
changeset
|
159 rm -f config.status config.log dwconfig.h |
2109
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
160 rm -f dwindows-config dwindows-config1 dwindows.pc dwindows1.pc |
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
161 rm -f org.dbsoft.dwindows.dwtest.desktop |
068681933258
GTK: Add dwtest to install rules and a desktop link required for
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2029
diff
changeset
|
162 rm -f Makefile |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
163 |
3 | 164 clean: |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
165 rm -f *.$(SOSUFFIX) |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
166 rm -f *.$(SOSUFFIX).* |
3 | 167 rm -f *.o |
168 rm -f *~ | |
169 rm -f *.a | |
662
d7badd5606ca
Removed the Carbon source file, and changes to configure to build the Cocoa version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
646
diff
changeset
|
170 rm -f $(DW_DIR)/*.o |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
171 rm -f dwtest |
2221
9f336ce185fd
Update Unix make rules for clean and dist taking into account 3.1 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2160
diff
changeset
|
172 rm -rf dwtest.app |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
173 rm -f dwtestoo |
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
174 rm -rf dwtestoo.app |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
175 |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
176 $(SYSCONF_LINK_TARGET2): $(OBJECTS2) |
3 | 177 $(SYSCONF_LINK_LIB2) |
601
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
178 |
fe6490a13ed2
Simplify and link dwtest with locally built shared libraries
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
566
diff
changeset
|
179 $(SYSCONF_LINK_TARGET): $(OBJECTS) |
3 | 180 $(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
|
181 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
182 $(SYSCONF_LINK_TARGET_STATIC): $(OBJECTS) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
183 $(SYSCONF_LINK_LIB_STATIC) |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
184 |
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
185 dw.o: $(srcdir)/$(DW_DIR)/$(DW_SRC) $(srcdir)/dw.h |
662
d7badd5606ca
Removed the Carbon source file, and changes to configure to build the Cocoa version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
646
diff
changeset
|
186 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/$(DW_DIR)/$(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
|
187 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
188 browser.o: $(srcdir)/$(DW_DIR)/browser.cpp $(srcdir)/dw.h |
662
d7badd5606ca
Removed the Carbon source file, and changes to configure to build the Cocoa version.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
646
diff
changeset
|
189 $(CXX) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/$(DW_DIR)/browser.cpp |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
190 |
1594
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
191 dwcompat.o: $(srcdir)/dwcompat.c |
6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1369
diff
changeset
|
192 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/dwcompat.c |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
193 |
761
39d848c20c05
Support for building on QNX platforms
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
662
diff
changeset
|
194 dwtest.o: $(srcdir)/dwtest.c $(srcdir)/dw.h |
622
fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
609
diff
changeset
|
195 $(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
|
196 |
193
efd4703450fa
Build test application on Unix too... and also fixed GTK to allow
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
147
diff
changeset
|
197 dwtest: dwtest.o |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
198 $(CC) -o dwtest dwtest.o $(MLFLAGS) -l$(TARGET) $(LFLAGS) |
639
06be879f5137
Support for building with GTK+ on Mac OSX
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
636
diff
changeset
|
199 -chmod +x $(srcdir)/mac/finishup.sh |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
200 -$(srcdir)/mac/finishup.sh $(srcdir) dwtest |
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
201 |
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
202 dwtestoo.o: $(srcdir)/dwtestoo.cpp $(srcdir)/dw.h $(srcdir)/dw.hpp |
2867
ada74f4d3f39
C++: Implement conditional signal handlers based on overrides.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2863
diff
changeset
|
203 $(CXX) -c $(INCPATH) $(CXXFLAGS) $(CCFLAGS) -o $@ $(srcdir)/dwtestoo.cpp |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
204 |
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
205 dwtestoo: dwtestoo.o |
2863
f0a00c7c4ec1
FreeBSD/Linux: Linking dwtestoo fails without -lstdc++.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2862
diff
changeset
|
206 $(CC) -o dwtestoo dwtestoo.o $(MLFLAGS) -l$(TARGET) $(LFLAGS) -lstdc++ |
2861
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
207 -chmod +x $(srcdir)/mac/finishup.sh |
ef7a414f9b71
Add initial C++ binding header and example program.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2854
diff
changeset
|
208 -$(srcdir)/mac/finishup.sh $(srcdir) dwtestoo |
250
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
209 |
967b8cd9deb4
Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
193
diff
changeset
|
210 zip: |
2762
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
211 zip dwindows$(VER_MAJ)$(VER_MIN).zip $(srcdir)/*.txt $(srcdir)/makefile.* $(srcdir)/*.c $(srcdir)/dw.h $(srcdir)/dwcompat.h \ |
2881
ac404083dc6b
Rename the Version file Version.mk since it is included by the Makefiles.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2867
diff
changeset
|
212 $(srcdir)/install.sh $(srcdir)/*.in $(srcdir)/configure $(srcdir)/Version.mk \ |
2762
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
213 $(srcdir)/ac*.m4 $(srcdir)/dwindows-config.1 $(srcdir)/config.sub $(srcdir)/config.guess $(srcdir)/image/test.* \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
214 $(srcdir)/win/*.c $(srcdir)/win/*.cpp $(srcdir)/win/*.h $(srcdir)/win/*.ico $(srcdir)/win/*.txt $(srcdir)/win/*.def $(srcdir)/win/*.rc $(srcdir)/win/*.manifest \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
215 $(srcdir)/os2/*.c $(srcdir)/os2/*.ico $(srcdir)/os2/*.txt $(srcdir)/os2/*.def \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
216 $(srcdir)/gtk/*.c $(srcdir)/gtk3/*.c $(srcdir)/gtk4/*.c $(srcdir)/gtk/*.xpm \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
217 $(srcdir)/mac/Info.plist $(srcdir)/mac/PkgInfo $(srcdir)/mac/*.m $(srcdir)/mac/*.sh $(srcdir)/mac/*.png \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
218 $(srcdir)/ios/*.m $(srcdir)/android/*.cpp $(srcdir)/android/*.kt $(srcdir)/platform/*.h \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
219 $(srcdir)/debian/control $(srcdir)/debian/rules $(srcdir)/debian/copyright $(srcdir)/debian/compat $(srcdir)/debian/changelog |
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
|
220 |
3087f7da0515
Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
250
diff
changeset
|
221 dist: |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
222 (cd $(srcdir)/..;ln -sf dwindows $(SRCDIR)) |
2762
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
223 (cd $(srcdir)/..;tar -cvf - $(SRCDIR)/*.txt $(SRCDIR)/makefile.* $(SRCDIR)/*.c $(SRCDIR)/dw.h $(SRCDIR)/dwcompat.h \ |
2881
ac404083dc6b
Rename the Version file Version.mk since it is included by the Makefiles.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2867
diff
changeset
|
224 $(SRCDIR)/install.sh $(SRCDIR)/*.in $(SRCDIR)/configure $(SRCDIR)/Version.mk \ |
2221
9f336ce185fd
Update Unix make rules for clean and dist taking into account 3.1 changes.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2160
diff
changeset
|
225 $(SRCDIR)/ac*.m4 $(SRCDIR)/dwindows-config.1 $(SRCDIR)/config.sub $(SRCDIR)/config.guess $(SRCDIR)/image/test.* \ |
2762
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
226 $(SRCDIR)/win/*.c $(SRCDIR)/win/*.cpp $(SRCDIR)/win/*.h $(SRCDIR)/win/*.txt $(SRCDIR)/win/*.def $(SRCDIR)/win/*.ico $(SRCDIR)/win/*.rc $(SRCDIR)/win/*.manifest \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
227 $(SRCDIR)/os2/*.c $(SRCDIR)/os2/*.ico $(SRCDIR)/os2/*.txt $(SRCDIR)/os2/*.def \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
228 $(SRCDIR)/gtk/*.c $(SRCDIR)/gtk3/*.c $(SRCDIR)/gtk4/*.c $(SRCDIR)/gtk/*.xpm \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
229 $(SRCDIR)/mac/Info.plist $(SRCDIR)/mac/PkgInfo $(SRCDIR)/mac/*.m $(SRCDIR)/mac/*.sh $(SRCDIR)/mac/*.png \ |
cfe1367ce58a
Update the "dist" and "zip" Makefile rules for the new files in 3.2.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
2454
diff
changeset
|
230 $(SRCDIR)/ios/*.m $(SRCDIR)/android/*.cpp $(SRCDIR)/android/*.kt \ |
643
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
231 $(SRCDIR)/debian/control $(SRCDIR)/debian/rules $(SRCDIR)/debian/copyright $(SRCDIR)/debian/compat $(SRCDIR)/debian/changelog \ |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
232 $(SRCDIR)/platform/*.h | gzip > $(SRCDIR).tar.gz ) |
9ab89d89e6b4
Add dw_listview_insert()
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents:
641
diff
changeset
|
233 (cd $(srcdir)/..;rm -f $(SRCDIR)) |