| 1 |
ab11 |
1.1 |
# Generated automatically from Makefile.in by configure. |
| 2 |
|
|
srcdir = . |
| 3 |
|
|
|
| 4 |
|
|
#### package, host, target, and site dependent Makefile fragments come in here. |
| 5 |
|
|
## |
| 6 |
|
|
|
| 7 |
|
|
LIBS = -L$(srcdir)/.. -lsocket++ -lnsl -lsocket |
| 8 |
|
|
|
| 9 |
|
|
TESTSRCS = tdunread.C tdunwrite.C \ |
| 10 |
|
|
tdinread.C tdinwrite.C \ |
| 11 |
|
|
tsunread.C tsunwrite.C \ |
| 12 |
|
|
tsinread.C tsinwrite.C \ |
| 13 |
|
|
tpipe.C \ |
| 14 |
|
|
tsockpair.C \ |
| 15 |
|
|
tpopen.C tpopen-lpc.C tpopen-ftp.C \ |
| 16 |
|
|
tpopentest.C \ |
| 17 |
|
|
testall.C \ |
| 18 |
|
|
tnntp.C \ |
| 19 |
|
|
tsmtp.C \ |
| 20 |
|
|
tsendfiles.C \ |
| 21 |
|
|
thostnames.C \ |
| 22 |
|
|
twhois.C \ |
| 23 |
|
|
tfork.C tfork0.C \ |
| 24 |
|
|
tsecho.C tcecho.C \ |
| 25 |
|
|
tcsmtp.C \ |
| 26 |
|
|
tcftp.C |
| 27 |
|
|
|
| 28 |
|
|
TESTOBJS = $(TESTSRCS:.C=.o) |
| 29 |
|
|
TESTS = $(TESTSRCS:.C=) |
| 30 |
|
|
|
| 31 |
|
|
DEPEND_SOURCES = $(srcdir)/*.C |
| 32 |
|
|
|
| 33 |
|
|
.SUFFIXES: .o .C .cc |
| 34 |
|
|
|
| 35 |
|
|
.cc.o .C.o: |
| 36 |
|
|
$(CXX) -c $(CXXFLAGS) -I$(srcdir) -I$(srcdir)/.. $< |
| 37 |
|
|
|
| 38 |
|
|
.PHONY: check |
| 39 |
|
|
check: testall.out |
| 40 |
|
|
diff -c testall.exp testall.out || make -f Makefile.in message |
| 41 |
|
|
|
| 42 |
|
|
message: |
| 43 |
|
|
@echo |
| 44 |
|
|
@echo If there are any differences, manually check whether |
| 45 |
|
|
@echo testall.out and testall.exp have the same lines but |
| 46 |
|
|
@echo only their order is different. If they have the same |
| 47 |
|
|
@echo lines but for the order, you have installed properly. |
| 48 |
|
|
@echo Otherwise, try to findout what might be the reason and |
| 49 |
|
|
@echo if you could not please email me with your problem at |
| 50 |
|
|
@echo gs4t@virginia.edu. |
| 51 |
|
|
@echo |
| 52 |
|
|
|
| 53 |
|
|
|
| 54 |
|
|
testall.out: $(TESTS) |
| 55 |
|
|
testall > testall.out |
| 56 |
|
|
|
| 57 |
|
|
$(TESTS): $(TESTOBJS) |
| 58 |
|
|
$(CXX) $(CFLAGS) -o $@ $@.o $(LIBS) |
| 59 |
|
|
|
| 60 |
|
|
update-version: |
| 61 |
|
|
for i in $(TESTSRCS); \ |
| 62 |
|
|
do \ |
| 63 |
|
|
sed -e "s/Version: [0-9a-zA-Z]* [0-9.]*/Version: `date +%d%h%y` $(VERSION)/g" $$i > TMP$$i; \ |
| 64 |
|
|
mv TMP$$i $$i; \ |
| 65 |
|
|
done |
| 66 |
|
|
|
| 67 |
|
|
clean: |
| 68 |
|
|
-rm -f *~ *.o core $(TESTS) |
| 69 |
|
|
|
| 70 |
|
|
real-clean: clean |
| 71 |
|
|
-rm -f Makefile |
| 72 |
|
|
|
| 73 |
|
|
depend: |
| 74 |
|
|
makedepend $(CXXINCLUDES) $(TESTSRCS) |