~ubuntu-branches/ubuntu/oneiric/openjade1.3/oneiric

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
#
#  Makefile.prog.in - Makerules for bilding programs
#
#  $Id: Makefile.prog.in,v 1.1.1.2.6.1.2.3 2002/01/22 11:57:53 icastle Exp $
#
#  Copyright (C) 1998 Cees A. de Groot
#
CLEANFILES=-r $(PROG) $(OBJS) core .libs Makefile.lt

top_builddir=/home/dwitch/work/debian/mine/markup/oj1.3/openjade1.3-1.3.1
LINKFLAGS = 

ALL_LIBS = $(XLIBS) $(LIBS)
Makefile.lt:
	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt

PROG:=$(shell echo "$(PROG)" | sed 's,x,x,')

all: $(PROG)

$(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)

install: $(PROG)
	-test -d $(DESTDIR)$(bindir) || \
	  (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
	-rm -f $(DESTDIR)$(bindir)/$(PROG)
	$(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)

depend: depend_src
depend.temp: $(GENSRCS)
gen: $(GENSRCS)