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 | gdk.pc.in gtk+.pc.in |
---|
103 | |
---|
104 | pkgconfigdir = $(libdir)/pkgconfig |
---|
105 | pkgconfig_DATA= gdk.pc gtk+.pc |
---|
106 | |
---|
107 | dist-hook: gtk+.spec |
---|
108 | if test -e $(srcdir)/INSTALL.in && test -e $(srcdir)/README.in ; then \ |
---|
109 | CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \ |
---|
110 | CONFIG_HEADERS= \ |
---|
111 | $(SHELL) config.status \ |
---|
112 | && cp INSTALL README $(distdir) ; \ |
---|
113 | fi \ |
---|
114 | && cp gtk+.spec $(distdir) |
---|
115 | |
---|
116 | m4datadir = $(datadir)/aclocal |
---|
117 | m4data_DATA = gtk.m4 |
---|
118 | |
---|
119 | .PHONY: files release sanity snapshot |
---|
120 | |
---|
121 | files: |
---|
122 | @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \ |
---|
123 | echo $$p; \ |
---|
124 | done |
---|
125 | @for subdir in $(SUBDIRS); do \ |
---|
126 | files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \ |
---|
127 | for file in $$files; do \ |
---|
128 | echo $$subdir/$$file; \ |
---|
129 | done; \ |
---|
130 | done |
---|
131 | |
---|
132 | release: |
---|
133 | rm -rf .deps */.deps |
---|
134 | $(MAKE) distcheck |
---|
135 | |
---|
136 | sanity: |
---|
137 | ./sanity_check $(VERSION) |
---|
138 | |
---|
139 | |
---|
140 | snapshot: |
---|
141 | $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"` |
---|