Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 33 | Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 41
Line 54... Line 54...
54
	$(SHLIBLINK) -o $@ $(LIBS) $(libdkim_PURE_OBJS)
54
	$(SHLIBLINK) -o $@ $(LIBS) $(libdkim_PURE_OBJS)
55
	-mkdir .lib 2>/dev/null
55
	-mkdir .lib 2>/dev/null
56
	[ -z "$(SHLIBSONAME)" ] || (cd .lib \
56
	[ -z "$(SHLIBSONAME)" ] || (cd .lib \
57
          && ln -sf ../$(SHLIBFORLINK) $(SHLIBSONAME))
57
          && ln -sf ../$(SHLIBFORLINK) $(SHLIBSONAME))
58
58
59
libdkimtest: $(libdkimtest_OBJS) libdkim.a
59
libdkimtest: $(libdkimtest_OBJS) $(SHLIBFORLINK)
60
	$(CXX) -static -o $@ libdkimtest.o libdkim.a $(LIBS)
60
	$(CXX) -L. -ldkim $(LIBS) -o $@ libdkimtest.o
61
61
62
libdkimtest.o: $(libdkimtest_SOURCES) $(HDRS)
62
libdkimtest.o: $(libdkimtest_SOURCES) $(HDRS)
63
	$(CXX) $(CXXFLAGS) -o $@ -c $<
63
	$(CXX) $(CXXFLAGS) -o $@ -c $<
64
64
65
%.$(OBJEXT): %.cpp $(HDRS)
65
%.$(OBJEXT): %.cpp $(HDRS)
Line 85... Line 85...
85
                || (cd $(DESTDIR)$(libdir) \
85
                || (cd $(DESTDIR)$(libdir) \
86
		&& ln -sf $(SHLIBFILE) $(SHLIBSONAME) \
86
		&& ln -sf $(SHLIBFILE) $(SHLIBSONAME) \
87
		&& ln -sf $(SHLIBFILE) $(SHLIBFORLINK) )
87
		&& ln -sf $(SHLIBFILE) $(SHLIBFORLINK) )
88
	install -m 644 $(srcdir)/dkim.h $(DESTDIR)$(includedir)
88
	install -m 644 $(srcdir)/dkim.h $(DESTDIR)$(includedir)
89
	install -m 644 libdkim.pc $(DESTDIR)$(libdir)/pkgconfig
89
	install -m 644 libdkim.pc $(DESTDIR)$(libdir)/pkgconfig
-
 
90
	install -m 755 -d $(DESTDIR)$(bindir)
-
 
91
	install -m 755 libdkimtest $(DESTDIR)$(bindir)
90
92
91
.PHONY: all install clean distclean
93
.PHONY: all install clean distclean