File: Makefile.in

package info (click to toggle)
rep-gtk 0.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 472 kB
  • ctags: 276
  • sloc: ansic: 2,734; sh: 2,205; lisp: 965; makefile: 99
file content (73 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download
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
# Makefile.in -- input for rep-gtk Makefile
# Copyright (C) 1998 John Harper <john@dcs.warwick.ac.uk>
# $Id: Makefile.in,v 1.14 1999/11/30 22:33:41 john Exp $

DEFS = gdk-1.2.defs gtk-1.2.defs
RDEFS= $(DEFS:.defs=.defs.jl)

SRCS = rep-gtk.c gtk-support.c gtk-compat.c gdk-glue.c gtk-glue.c
OBJS = $(SRCS:.c=.lo)

OUT  = libgtk.la

version=@version@
host_type=@host@
SHELL=/bin/sh

repexecdir=@REP_EXECDIR@
include $(repexecdir)/rules.mk

CC=@CC@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
override CPPFLAGS += -DHAVE_CONFIG_H -I.
override CFLAGS += @GTK_CFLAGS@ @REP_CFLAGS@
LIBS=@GTK_LIBS@ @REP_LIBS@ @LIBS@

INSTALL=@INSTALL@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@

DESTDIR=
installdir=$(repexecdir)

top_srcdir=@top_srcdir@
top_builddir=.
VPATH=@top_srcdir@:.

.PHONY: clean realclean install

all : $(OUT)

$(OUT) : $(OBJS)
	$(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LIBS)

%-glue.c : %-1.2.defs.jl $(RDEFS) build-gtk.jlc
	rep --batch -l build-gtk -f build-gtk-batch $< $@

%.defs.jl : %.defs
	sed -f sed-fix-defs $< >$@

build-gtk.jlc : build-gtk.jl
	rep --batch -l compiler -f compile-batch $<

install : all installdirs
	$(rep_DL_INSTALL) $(OUT) $(DESTDIR)$(installdir)

installdirs : $(top_srcdir)/mkinstalldirs
	$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(installdir)

uninstall :
	$(rep_DL_UNINSTALL) $(DESTDIR)$(installdir)/$(OUT)

clean :
	rm -f *.defs.jl gtk-glue.c *~ core *.jlc *.o *.lo *.la
	rm -rf .libs

realclean : clean
	rm -f Makefile config.cache config.log config.status config.h
	rm -f rep-gtk.spec

cvsclean : realclean
	rm -f aclocal.m4 configure