2003-06-28 22:50:33 +02:00
|
|
|
include GNUmakevars
|
|
|
|
|
|
|
|
CONFDIR=../../configure
|
|
|
|
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
|
|
|
|
|
|
|
all: configure ts
|
|
|
|
|
|
|
|
clean:
|
2003-08-23 17:44:14 +02:00
|
|
|
rm -f ts ts.o
|
2003-06-28 22:50:33 +02:00
|
|
|
|
|
|
|
install: \
|
|
|
|
$(BINDIR)/ts \
|
|
|
|
|
2003-08-26 19:48:32 +02:00
|
|
|
ts: ts.bx
|
|
|
|
cp $< $@
|
2003-08-23 17:44:14 +02:00
|
|
|
|
2003-08-26 19:48:32 +02:00
|
|
|
ts.bx: ts.o
|
|
|
|
$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
2003-08-23 17:44:14 +02:00
|
|
|
|
2003-08-26 19:48:32 +02:00
|
|
|
%.plx: %.pl customize
|
2003-06-28 22:50:33 +02:00
|
|
|
sh ./customize < $< > $@
|
|
|
|
chmod +x $@
|
|
|
|
|
|
|
|
customize: configure
|
|
|
|
sh ./configure
|
|
|
|
|
|
|
|
ifeq ($(CONFDIR_exists),ok)
|
|
|
|
|
|
|
|
configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish
|
|
|
|
cat $^ > $@
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
include GNUmakerules
|