1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/archivers/librtfcomp/files/patch-test_Makefile.in
Erwin Lansing 54a151c57f Add librtfcomp 1.1, LZRTF compression library.
PR:		ports/124554
Submitted by:	Alexander Logvinov <ports at logvinov.com>
2008-06-19 21:48:54 +00:00

62 lines
2.4 KiB
Plaintext

--- tests/Makefile.in.orig 2008-06-13 23:05:10.000000000 +1000
+++ tests/Makefile.in 2008-06-13 23:07:12.000000000 +1000
@@ -36,8 +36,8 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-bin_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
-noinst_PROGRAMS = test$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
+bin_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
+noinst_PROGRAMS = testrtf$(EXEEXT) tortf$(EXEEXT) fromrtf$(EXEEXT)
subdir = tests
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -54,10 +54,10 @@
fromrtf_OBJECTS = $(am_fromrtf_OBJECTS)
fromrtf_LDADD = $(LDADD)
fromrtf_DEPENDENCIES = ../src/librtfcomp.la
-am_test_OBJECTS = main.$(OBJEXT)
-test_OBJECTS = $(am_test_OBJECTS)
-test_LDADD = $(LDADD)
-test_DEPENDENCIES = ../src/librtfcomp.la
+am_testrtf_OBJECTS = main.$(OBJEXT)
+testrtf_OBJECTS = $(am_testrtf_OBJECTS)
+testrtf_LDADD = $(LDADD)
+testrtf_DEPENDENCIES = ../src/librtfcomp.la
am_tortf_OBJECTS = tortf.$(OBJEXT)
tortf_OBJECTS = $(am_tortf_OBJECTS)
tortf_LDADD = $(LDADD)
@@ -73,8 +73,8 @@
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
-DIST_SOURCES = $(fromrtf_SOURCES) $(test_SOURCES) $(tortf_SOURCES)
+SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
+DIST_SOURCES = $(fromrtf_SOURCES) $(testrtf_SOURCES) $(tortf_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -195,7 +195,7 @@
target_alias = @target_alias@
INCLUDES = -I../include
LDADD = ../src/librtfcomp.la
-test_SOURCES = main.c
+testrtf_SOURCES = main.c
tortf_SOURCES = tortf.c
fromrtf_SOURCES = fromrtf.c
EXTRA_DIST = testnote.crtf
@@ -270,9 +270,9 @@
fromrtf$(EXEEXT): $(fromrtf_OBJECTS) $(fromrtf_DEPENDENCIES)
@rm -f fromrtf$(EXEEXT)
$(LINK) $(fromrtf_LDFLAGS) $(fromrtf_OBJECTS) $(fromrtf_LDADD) $(LIBS)
-test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES)
- @rm -f test$(EXEEXT)
- $(LINK) $(test_LDFLAGS) $(test_OBJECTS) $(test_LDADD) $(LIBS)
+testrtf$(EXEEXT): $(testrtf_OBJECTS) $(testrtf_DEPENDENCIES)
+ @rm -f testrtf$(EXEEXT)
+ $(LINK) $(testrtf_LDFLAGS) $(testrtf_OBJECTS) $(testrtf_LDADD) $(LIBS)
tortf$(EXEEXT): $(tortf_OBJECTS) $(tortf_DEPENDENCIES)
@rm -f tortf$(EXEEXT)
$(LINK) $(tortf_LDFLAGS) $(tortf_OBJECTS) $(tortf_LDADD) $(LIBS)