1 | ## Makefile.am for GTK+ |
---|
2 | |
---|
3 | SRC_SUBDIRS = gdk gtk |
---|
4 | SUBDIRS = po $(SRC_SUBDIRS) docs |
---|
5 | |
---|
6 | bin_SCRIPTS = gtk-config |
---|
7 | |
---|
8 | # require automake 1.4 |
---|
9 | AUTOMAKE_OPTIONS = 1.4 |
---|
10 | |
---|
11 | EXTRA_DIST = \ |
---|
12 | HACKING \ |
---|
13 | gtk+.spec.in \ |
---|
14 | gtk.m4 \ |
---|
15 | makecopyright \ |
---|
16 | TODO \ |
---|
17 | NEWS.pre-1-0 \ |
---|
18 | ChangeLog.pre-1-0 \ |
---|
19 | README.cvs-commits \ |
---|
20 | intl/libgettext.h \ |
---|
21 | intl/po2tbl.sed.in \ |
---|
22 | examples/aspectframe/Makefile \ |
---|
23 | examples/aspectframe/aspectframe.c \ |
---|
24 | examples/Makefile \ |
---|
25 | examples/README.1ST \ |
---|
26 | examples/extract.awk \ |
---|
27 | examples/extract.sh \ |
---|
28 | examples/base/Makefile \ |
---|
29 | examples/base/base.c \ |
---|
30 | examples/buttons/Makefile \ |
---|
31 | examples/buttons/buttons.c \ |
---|
32 | examples/buttons/info.xpm \ |
---|
33 | examples/calendar/Makefile \ |
---|
34 | examples/calendar/calendar.c \ |
---|
35 | examples/clist/Makefile \ |
---|
36 | examples/clist/clist.c \ |
---|
37 | examples/entry/Makefile \ |
---|
38 | examples/entry/entry.c \ |
---|
39 | examples/eventbox/Makefile \ |
---|
40 | examples/eventbox/eventbox.c \ |
---|
41 | examples/filesel/Makefile \ |
---|
42 | examples/filesel/filesel.c \ |
---|
43 | examples/gtkdial/Makefile \ |
---|
44 | examples/gtkdial/dial_test.c \ |
---|
45 | examples/gtkdial/gtkdial.c \ |
---|
46 | examples/gtkdial/gtkdial.h \ |
---|
47 | examples/helloworld/Makefile \ |
---|
48 | examples/helloworld/helloworld.c \ |
---|
49 | examples/helloworld2/Makefile \ |
---|
50 | examples/helloworld2/helloworld2.c \ |
---|
51 | examples/list/Makefile \ |
---|
52 | examples/list/list.c \ |
---|
53 | examples/menu/Makefile \ |
---|
54 | examples/menu/menu.c \ |
---|
55 | examples/menu/itemfactory.c \ |
---|
56 | examples/notebook/Makefile \ |
---|
57 | examples/notebook/notebook.c \ |
---|
58 | examples/packbox/Makefile \ |
---|
59 | examples/packbox/packbox.c \ |
---|
60 | examples/packer/Makefile \ |
---|
61 | examples/packer/pack.c \ |
---|
62 | examples/paned/Makefile \ |
---|
63 | examples/paned/paned.c \ |
---|
64 | examples/pixmap/Makefile \ |
---|
65 | examples/pixmap/pixmap.c \ |
---|
66 | examples/progressbar/Makefile \ |
---|
67 | examples/progressbar/progressbar.c \ |
---|
68 | examples/radiobuttons/Makefile \ |
---|
69 | examples/radiobuttons/radiobuttons.c \ |
---|
70 | examples/rangewidgets/Makefile \ |
---|
71 | examples/rangewidgets/rangewidgets.c \ |
---|
72 | examples/rulers/Makefile \ |
---|
73 | examples/rulers/rulers.c \ |
---|
74 | examples/scribble-simple/Makefile \ |
---|
75 | examples/scribble-simple/scribble-simple.c \ |
---|
76 | examples/scrolledwin/Makefile \ |
---|
77 | examples/scrolledwin/scrolledwin.c \ |
---|
78 | examples/selection/Makefile \ |
---|
79 | examples/selection/gettargets.c \ |
---|
80 | examples/selection/setselection.c \ |
---|
81 | examples/statusbar/Makefile \ |
---|
82 | examples/statusbar/statusbar.c \ |
---|
83 | examples/table/Makefile \ |
---|
84 | examples/table/table.c \ |
---|
85 | examples/text/Makefile \ |
---|
86 | examples/text/text.c \ |
---|
87 | examples/tictactoe/Makefile \ |
---|
88 | examples/tictactoe/tictactoe.c \ |
---|
89 | examples/tictactoe/tictactoe.h \ |
---|
90 | examples/tictactoe/ttt_test.c \ |
---|
91 | examples/tree/Makefile \ |
---|
92 | examples/tree/tree.c \ |
---|
93 | examples/wheelbarrow/Makefile \ |
---|
94 | examples/wheelbarrow/wheelbarrow.c \ |
---|
95 | examples/fixed/fixed.c \ |
---|
96 | examples/fixed/Makefile \ |
---|
97 | examples/frame/frame.c \ |
---|
98 | examples/frame/Makefile \ |
---|
99 | examples/spinbutton/spinbutton.c \ |
---|
100 | examples/spinbutton/Makefile \ |
---|
101 | examples/find-examples.sh |
---|
102 | |
---|
103 | dist-hook: gtk+.spec |
---|
104 | if test -e $(srcdir)/INSTALL.in && test -e $(srcdir)/README.in ; then \ |
---|
105 | CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \ |
---|
106 | CONFIG_HEADERS= \ |
---|
107 | $(SHELL) config.status \ |
---|
108 | && cp INSTALL README $(distdir) ; \ |
---|
109 | fi \ |
---|
110 | && cp gtk+.spec $(distdir) |
---|
111 | |
---|
112 | m4datadir = $(datadir)/aclocal |
---|
113 | m4data_DATA = gtk.m4 |
---|
114 | |
---|
115 | .PHONY: files release sanity snapshot |
---|
116 | |
---|
117 | files: |
---|
118 | @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \ |
---|
119 | echo $$p; \ |
---|
120 | done |
---|
121 | @for subdir in $(SUBDIRS); do \ |
---|
122 | files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \ |
---|
123 | for file in $$files; do \ |
---|
124 | echo $$subdir/$$file; \ |
---|
125 | done; \ |
---|
126 | done |
---|
127 | |
---|
128 | release: |
---|
129 | rm -rf .deps */.deps |
---|
130 | $(MAKE) distcheck |
---|
131 | |
---|
132 | sanity: |
---|
133 | ./sanity_check $(VERSION) |
---|
134 | |
---|
135 | |
---|
136 | snapshot: |
---|
137 | $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"` |
---|