2003-06-28 22:50:33 +02:00
|
|
|
include GNUmakevars
|
|
|
|
|
|
|
|
CONFDIR=../../configure
|
|
|
|
CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok)
|
|
|
|
|
|
|
|
all: configure ts
|
|
|
|
|
|
|
|
clean:
|
2016-07-05 22:47:42 +02:00
|
|
|
rm -f ts ts.bx 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
|
|
|
|
|
2009-02-02 12:39:33 +01:00
|
|
|
GNUmakevars: GNUmakevars.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
GNUmakerules: GNUmakerules.sh
|
|
|
|
sh ./$^ > $@
|
|
|
|
|
|
|
|
|
2003-06-28 22:50:33 +02:00
|
|
|
include GNUmakerules
|