Commit ca21695f authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)

Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>

	* examples/**/Makefile.am: Convert to use pkg-config
	rather than gtk-config. (#53375, Skip Montanaro)
parent bc0d15ab
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com>
* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)
2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
......@@ -2,7 +2,7 @@
CC = gcc
arrow: arrow.c
$(CC) `gtk-config --cflags` arrow.c -o arrow `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` arrow.c -o arrow `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o arrow
......@@ -2,7 +2,7 @@
CC = gcc
aspectframe: aspectframe.c
$(CC) `gtk-config --cflags` aspectframe.c -o aspectframe `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` aspectframe.c -o aspectframe `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o aspectframe
......@@ -2,7 +2,7 @@
CC = gcc
base: base.c
$(CC) `gtk-config --cflags` base.c -o base `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` base.c -o base `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o base
......@@ -2,7 +2,7 @@
CC = gcc
buttonbox: buttonbox.c
$(CC) `gtk-config --cflags` buttonbox.c -o buttonbox `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` buttonbox.c -o buttonbox `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o buttonbox
......@@ -2,7 +2,7 @@
CC = gcc
buttons: buttons.c
$(CC) `gtk-config --cflags` buttons.c -o buttons `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` buttons.c -o buttons `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o buttons
......@@ -2,7 +2,7 @@
CC = gcc
calendar: calendar.c
$(CC) `gtk-config --cflags` calendar.c -o calendar `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` calendar.c -o calendar `pkg-config --libs gtk+-2.0`
clean:
rm -f calendar
......@@ -2,7 +2,7 @@
CC = gcc
clist: clist.c
$(CC) `gtk-config --cflags` clist.c -o clist `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` clist.c -o clist `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o clist
......@@ -2,7 +2,7 @@
CC = gcc
entry: entry.c
$(CC) `gtk-config --cflags` entry.c -o entry `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` entry.c -o entry `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o entry
......@@ -2,7 +2,7 @@
CC = gcc
eventbox: eventbox.c
$(CC) `gtk-config --cflags` eventbox.c -o eventbox `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` eventbox.c -o eventbox `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o eventbox
......@@ -2,7 +2,7 @@
CC = gcc
filesel: filesel.c
$(CC) `gtk-config --cflags` filesel.c -o filesel `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` filesel.c -o filesel `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o filesel
......@@ -2,7 +2,7 @@
CC = gcc
fixed: fixed.c
$(CC) `gtk-config --cflags` fixed.c -o fixed `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` fixed.c -o fixed `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o fixed
......@@ -2,7 +2,7 @@
CC = gcc
frame: frame.c
$(CC) `gtk-config --cflags` frame.c -o frame `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` frame.c -o frame `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o frame
......@@ -2,13 +2,13 @@
CC = gcc
dial_test: gtkdial.o dial_test.o
$(CC) dial_test.o gtkdial.o -o dial_test `gtk-config --libs`
$(CC) dial_test.o gtkdial.o -o dial_test `pkg-config --libs gtk+-2.0`
dial_test.o: dial_test.c gtkdial.h
$(CC) `gtk-config --cflags` -c dial_test.c -o dial_test.o
$(CC) `pkg-config --cflags gtk+-2.0` -c dial_test.c -o dial_test.o
gtkdial.o: gtkdial.c gtkdial.h
$(CC) `gtk-config --cflags` -c gtkdial.c -o gtkdial.o
$(CC) `pkg-config --cflags gtk+-2.0` -c gtkdial.c -o gtkdial.o
clean:
rm -f *.o dial_test
......@@ -2,7 +2,7 @@
CC = gcc
helloworld: helloworld.c
$(CC) `gtk-config --cflags` helloworld.c -o helloworld `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` helloworld.c -o helloworld `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o helloworld
......@@ -2,7 +2,7 @@
CC = gcc
helloworld2: helloworld2.c
$(CC) `gtk-config --cflags` helloworld2.c -o helloworld2 `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` helloworld2.c -o helloworld2 `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o helloworld2
......@@ -2,7 +2,7 @@
CC = gcc
label: label.c
$(CC) `gtk-config --cflags` label.c -o label `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` label.c -o label `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o label
......@@ -2,7 +2,7 @@
CC = gcc
list: list.c
$(CC) `gtk-config --cflags` list.c -o list `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` list.c -o list `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o list
......@@ -4,10 +4,10 @@ CC = gcc
all: menu itemfactory
menu: menu.c
$(CC) `gtk-config --cflags` menu.c -o menu `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` menu.c -o menu `pkg-config --libs gtk+-2.0`
itemfactory: itemfactory.c
$(CC) `gtk-config --cflags` itemfactory.c -o itemfactory `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` itemfactory.c -o itemfactory `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o menu itemfactory
......@@ -2,7 +2,7 @@
CC = gcc
notebook: notebook.c
$(CC) `gtk-config --cflags` notebook.c -o notebook `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` notebook.c -o notebook `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o notebook
......@@ -2,7 +2,7 @@
CC = gcc
packbox: packbox.c
$(CC) `gtk-config --cflags` packbox.c -o packbox `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` packbox.c -o packbox `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o packbox
......@@ -2,7 +2,7 @@
CC = gcc
packer: pack.c
$(CC) `gtk-config --cflags` pack.c -o packer `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` pack.c -o packer `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o packer
......@@ -2,7 +2,7 @@
CC = gcc
paned: paned.c
$(CC) `gtk-config --cflags` paned.c -o paned `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` paned.c -o paned `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o paned
......@@ -2,7 +2,7 @@
CC = gcc
pixmap: pixmap.c
$(CC) `gtk-config --cflags` pixmap.c -o pixmap `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` pixmap.c -o pixmap `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o pixmap
......@@ -2,7 +2,7 @@
CC = gcc
progressbar: progressbar.c
$(CC) `gtk-config --cflags` progressbar.c -o progressbar `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` progressbar.c -o progressbar `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o progressbar
......@@ -2,7 +2,7 @@
CC = gcc
radiobuttons: radiobuttons.c
$(CC) `gtk-config --cflags` radiobuttons.c -o radiobuttons `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` radiobuttons.c -o radiobuttons `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o radiobuttons
......@@ -2,7 +2,7 @@
CC = gcc
rangewidgets: rangewidgets.c
$(CC) `gtk-config --cflags` rangewidgets.c -o rangewidgets `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` rangewidgets.c -o rangewidgets `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o rangewidgets
......@@ -2,7 +2,7 @@
CC = gcc
rulers: rulers.c
$(CC) `gtk-config --cflags` rulers.c -o rulers `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` rulers.c -o rulers `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o rulers
......@@ -2,7 +2,7 @@
CC = gcc
scribble-simple: scribble-simple.c
$(CC) `gtk-config --cflags` scribble-simple.c -o scribble-simple `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` scribble-simple.c -o scribble-simple `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o scribble-simple
......@@ -2,7 +2,7 @@
CC = gcc
scribble-xinput: scribble-xinput.c
$(CC) `gtk-config --cflags` scribble-xinput.c -o scribble-xinput `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` scribble-xinput.c -o scribble-xinput `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o scribble-xinput
......@@ -2,7 +2,7 @@
CC = gcc
scrolledwin: scrolledwin.c
$(CC) `gtk-config --cflags` scrolledwin.c -o scrolledwin `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` scrolledwin.c -o scrolledwin `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o scrolledwin
......@@ -4,10 +4,10 @@ CC = gcc
all: gettargets setselection
gettargets: gettargets.c
$(CC) `gtk-config --cflags` gettargets.c -o gettargets `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` gettargets.c -o gettargets `pkg-config --libs gtk+-2.0`
setselection: setselection.c
$(CC) `gtk-config --cflags` setselection.c -o setselection `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` setselection.c -o setselection `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o gettargets setselection
......@@ -2,7 +2,7 @@
CC = gcc
spinbutton: spinbutton.c
$(CC) `gtk-config --cflags` spinbutton.c -o spinbutton `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` spinbutton.c -o spinbutton `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o spinbutton
......@@ -95,8 +95,6 @@ int main( int argc,
5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE);
gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
GTK_SHADOW_OUT);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0);
......@@ -110,8 +108,6 @@ int main( int argc,
5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE);
gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0);
......@@ -125,8 +121,6 @@ int main( int argc,
1.0, 100.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), FALSE);
gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
GTK_SHADOW_IN);
gtk_widget_set_usize (spinner, 55, 0);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
......
......@@ -2,7 +2,7 @@
CC = gcc
statusbar: statusbar.c
$(CC) `gtk-config --cflags` statusbar.c -o statusbar `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` statusbar.c -o statusbar `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o statusbar
......@@ -2,7 +2,7 @@
CC = gcc
table: table.c
$(CC) `gtk-config --cflags` table.c -o table `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` table.c -o table `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o table
......@@ -2,7 +2,7 @@
CC = gcc
text: text.c
$(CC) `gtk-config --cflags` text.c -o text `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` text.c -o text `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o text
......@@ -2,13 +2,13 @@
CC = gcc
ttt_test: tictactoe.o ttt_test.o
$(CC) ttt_test.o tictactoe.o -o ttt_test `gtk-config --libs`
$(CC) ttt_test.o tictactoe.o -o ttt_test `pkg-config --libs gtk+-2.0`
ttt_test.o: ttt_test.c tictactoe.h
$(CC) `gtk-config --cflags` -c ttt_test.c -o ttt_test.o
$(CC) `pkg-config --cflags gtk+-2.0` -c ttt_test.c -o ttt_test.o
tictactoe.o: tictactoe.c tictactoe.h
$(CC) `gtk-config --cflags` -c tictactoe.c -o tictactoe.o
$(CC) `pkg-config --cflags gtk+-2.0` -c tictactoe.c -o tictactoe.o
clean:
rm -f *.o ttt_test
......@@ -2,7 +2,7 @@
CC = gcc
tree: tree.c
$(CC) `gtk-config --cflags` tree.c -o tree `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` tree.c -o tree `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o tree
......@@ -2,7 +2,7 @@
CC = gcc
wheelbarrow: wheelbarrow.c
$(CC) `gtk-config --cflags` wheelbarrow.c -o wheelbarrow `gtk-config --libs`
$(CC) `pkg-config --cflags gtk+-2.0` wheelbarrow.c -o wheelbarrow `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o wheelbarrow
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment