annotate Makefile.in @ 404:720e61df8cf6

An even better combobox drawing fix. Only add 100 pixels to the size of the combobox when the list needs to be shown. This way it won't screw up clipping of items below it in the box. So OS/2 comboboxes can now be safely used in vertical boxes without worries.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 10 May 2003 10:33:54 +0000
parents 278707e0532c
children a8015e02b590
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 CC = @CC@
382
838781d4f1dc Changes to allow Dynamic Windows to compile properly on Sparc Solaris.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 287
diff changeset
3 CCFLAGS = @CFLAGS@ -g -O2 -fPIC -Wall -D__UNIX__ -DBUILD_DLL -DDW_RESOURCES
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 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
5 INSTALL = @INSTALL@
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
6 INCPATH = -I.. -I. -I$(srcdir)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 DESTDIR = ./lib/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8 MLFLAGS = -L$(DESTDIR)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9 TARGET = dw
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
10 SRCS = $(srcdir)/gtk/dw.c
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
11 OBJECTS = dw.o
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
12 SRCS2 = $(srcdir)compat.c
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13 OBJECTS2= compat.o
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 TARGET2 = dwcompat
147
b479002e013f Upped the DW revision to 1.0, and merged with the latest code in the FX
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
15 VER_MAJ = 1
b479002e013f Upped the DW revision to 1.0, and merged with the latest code in the FX
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
16 VER_MIN = 0
41
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
17 PREFIX = @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
18 SRCDIR=dwindows-$(VER_MAJ).$(VER_MIN)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
20 #.SUFFIXES: .c .h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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 #.c.o:
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
23 # $(CC) -c $(CCFLAGS) $(INCPATH) -o $@ $<
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 # Link flags shared objects
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27 SYSCONF_LFLAGS_SHOBJ = -shared
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
28
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
29 # Linking shared libraries
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
30 # - Build the $(TARGET) library, eg. lib$(TARGET).so.0.0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
31 # - Place target in $(DESTDIR) - which has a trailing /
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
32 # - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
33 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
34 SYSCONF_LINK_SHLIB = gcc
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
35 SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
382
838781d4f1dc Changes to allow Dynamic Windows to compile properly on Sparc Solaris.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 287
diff changeset
36 SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
37 -o $(SYSCONF_LINK_TARGET_SHARED) \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
38 $(OBJECTS) $(LFLAGS); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
39 mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
40 cd $(DESTDIR); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
41 rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
42 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
43 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
44
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
45 SYSCONF_LINK_TARGET_SHARED2 = lib$(TARGET2).so.$(VER_MAJ).$(VER_MIN)
382
838781d4f1dc Changes to allow Dynamic Windows to compile properly on Sparc Solaris.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 287
diff changeset
46 SYSCONF_LINK_LIB_SHARED2 = $(SYSCONF_LINK_SHLIB) -shared \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
47 -o $(SYSCONF_LINK_TARGET_SHARED2) \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
48 $(OBJECTS2) $(LFLAGS); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
49 mv $(SYSCONF_LINK_TARGET_SHARED2) $(DESTDIR); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
50 cd $(DESTDIR); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
51 rm -f lib$(TARGET2).so lib$(TARGET2).so.$(VER_MAJ); \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
52 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).so; \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
53 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).so.$(VER_MAJ)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
54
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
55
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
56 # Linking static libraries
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
57 # - Build the $(TARGET) library, eg. lib$(TARGET).a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
58 # - Place target in $(DESTDIR) - which has a trailing /
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
59 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
60 SYSCONF_AR = ar cqs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
61 SYSCONF_LINK_TARGET_STATIC = lib$(TARGET).a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
62 SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
63 $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
64
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
65
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
66
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
67 ####### Build rules
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
68
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
69 SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
70 SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
71
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
72 SYSCONF_LINK_TARGET2 = $(SYSCONF_LINK_TARGET_SHARED2)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
73 SYSCONF_LINK_LIB2 = $(SYSCONF_LINK_LIB_SHARED2)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
74
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
75 all: $(SYSCONF_LINK_TARGET) $(SYSCONF_LINK_TARGET2) dwtest
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
76
44
24afe3035088 Removed dependencies on install rule.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 41
diff changeset
77 install:
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
78 $(INSTALL) $(srcdir)/dw.h $(PREFIX)/include; \
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
79 $(INSTALL) $(srcdir)/compat.h $(PREFIX)/include; \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 78
diff changeset
80 $(INSTALL) dw-config $(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
81 cd $(DESTDIR); \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
82 $(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
83 $(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
84 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
85 rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ); \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
86 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
87 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ); \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
88 rm -f lib$(TARGET2).so lib$(TARGET2).so.$(VER_MAJ); \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
89 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).so; \
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
90 ln -s $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).so.$(VER_MAJ)
af0a78aa0d45 More updates, and a more comprehensive unix install scheme. Use target
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
91
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
92 clean:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
93 rm -f *.so
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
94 rm -f *.o
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
95 rm -f *~
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
96 rm -f *.a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
97 rm -f gtk/*.o
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
98
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
99 $(DESTDIR):
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
100 mkdir $(DESTDIR)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
101
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
102 $(SYSCONF_LINK_TARGET2): $(OBJECTS2) $(DESTDIR)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
103 $(SYSCONF_LINK_LIB2)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
104
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
105 $(SYSCONF_LINK_TARGET): $(OBJECTS) $(DESTDIR)
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
106 $(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
107
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
108 dw.o: $(srcdir)/gtk/dw.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
109 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/gtk/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
110
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
111 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
112 $(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
113
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
114 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
115 $(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
116
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
117 dwtest.o: $(srcdir)/dwtest.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
118 $(CC) -c $(INCPATH) $(CCFLAGS) -o $@ $(srcdir)/dwtest.c
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
119
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
120 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
121 $(CC) -o ci ci.o -L$(PREFIX)/lib -ldw -ldwcompat $(LFLAGS)
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
122
193
efd4703450fa Build test application on Unix too... and also fixed GTK to allow
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 147
diff changeset
123 dwtest: dwtest.o
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
124 $(CC) -o dwtest dwtest.o -L$(PREFIX)/lib -ldw -ldwcompat $(LFLAGS)
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
125
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
126 zip:
396
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
127 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
128 $(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
129 $(srcdir)/ac*.m4 \
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
130 $(srcdir)/messagebox*.xpm \
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
131 $(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
132 $(srcdir)/gtk/*.xpm $(srcdir)/win/*.ico $(srcdir)/os2/*.ico \
250
967b8cd9deb4 Add srcdir usage to allow building to be done from anywhere.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 193
diff changeset
133 $(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
134
3087f7da0515 Change the order of header file includes; ensure local files are found first.
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 250
diff changeset
135 dist:
396
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
136 (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
137 $(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
138 $(SRCDIR)/ac*.m4 \
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
139 $(SRCDIR)/messagebox*.xpm \
278707e0532c Add messagebox xpms in distro
mhessling@81767d24-ef19-dc11-ae90-00e081727c95
parents: 382
diff changeset
140 $(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
141 $(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
142 $(SRCDIR)/platform/*.h | gzip > dwindows-$(VER_MAJ).$(VER_MIN).tar.gz )