-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.in
108 lines (80 loc) · 2.88 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Makefile.in -- input for rep-gtk Makefile
# Copyright (C) 1998 John Harper <john@dcs.warwick.ac.uk>
# $Id: Makefile.in,v 1.29 2002/02/13 07:50:27 jsh Exp $
SRCS = rep-gtk.c gtk-support.c gtk-compat.c glib-glue.c gdk-glue.c gtk-glue.c gdk-pixbuf-glue.c rep-types.c
OBJS = $(SRCS:.c=.lo)
OUT = @OUT@
OUT_DESTS = $(foreach x, $(OUT), gui/$(x))
version=@version@
SHELL=/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
datarootdir=@datarootdir@
repexecdir=@REP_EXECDIR@
include $(repexecdir)/rules.mk
CC=@CC@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@ @DEVELOPMENT_CFLAGS@
LDFLAGS=@LDFLAGS@
override CPPFLAGS += -DHAVE_CONFIG_H -I.
override CFLAGS += @GLIB_CFLAGS@ @GTK_CFLAGS@ @REP_CFLAGS@ @GDK_PIXBUF_CFLAGS@
REP_SGTK_LIBS=@GLIB_LIBS@ @LIBS@
REP_GTK_LIBS=@GTK_LIBS@ @LIBS@
INSTALL=@INSTALL@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
LIBTOOL=@LIBTOOL@
DESTDIR=
installdir=$(repexecdir)
includedir=@includedir@
top_srcdir=@top_srcdir@
top_builddir=.
VPATH=@top_srcdir@:.
.PHONY: clean distclean gitclean install
all : build_dirs $(OUT)
gtk-2/gtk.la : $(OBJS)
$(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(REP_GTK_LIBS)
%-glue.c : %.defs build-gtk.jlc
LC_ALL=C rep build-gtk.jlc -f build-gtk-batch $< $@
# shut up warnings for generated code
gdk-glue.lo : gdk-glue.c
$(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -w $<
gdk-pixbuf-glue.lo : gdk-pixbuf-glue.c
$(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -w $<
glib-glue.lo : glib-glue.c
$(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -w $<
gtk-glue.lo : gtk-glue.c
$(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -w $<
.PRECIOUS: %-glue.c
build-gtk.jlc : build-gtk.jl
rep compiler -f compile-batch $<
install : all installdirs
set -e; for f in $(OUT); do \
$(rep_DL_INSTALL) $$f $(DESTDIR)$(installdir)/gui/gtk-2; \
done
$(rep_INSTALL_ALIASES) -c . $(DESTDIR)$(installdir)
install -m644 rep-gtk.h $(DESTDIR)$(includedir)/rep-gtk/
install -d $(DESTDIR)$(libdir)/pkgconfig/
install -m644 rep-gtk.pc $(DESTDIR)$(libdir)/pkgconfig/
installdirs : $(top_srcdir)/mkinstalldirs
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(installdir)/gui/gtk-2 \
$(DESTDIR)$(includedir)/rep-gtk
uninstall :
$(rep_DL_UNINSTALL) -f $(DESTDIR)$(installdir)/gui/$(OUT)
rm -f $(DESTDIR)$(libdir)/pkgconfig/rep-gtk.pc
rm -rf $(DESTDIR)$(includedir)/rep-gtk
clean :
rm -f *-glue.c *~ core *.jlc *.o *.lo *.la
rm -rf gtk-2 .libs
distclean : clean
rm -f Makefile config.cache config.log config.status \
config.h rep-gtk.pc rm -f aclocal.m4 configure \
libtool ltmain.sh config.h.in
rm -rf autom4te.cache m4/
-fakeroot debian/rules clean
build_dirs : gtk-2
gtk-2 :
mkdir gtk-2
# hand-needed dependences
gtk-glue.c : glib.defs gdk.defs gdk-pixbuf.defs gtk.defs gtktext.defs gtktree.defs gtkbuilder.defs gtkuimanager.defs gtkfilechooser.defs build-gtk.jlc