| Revision 2898,
1.2 KB
checked in by sam, 5 years ago
(diff) |
|
Reorganise MSVC files so that each project is with its source code.
|
| Line | |
|---|
| 1 | # $Id: Makefile.am 552 2006-04-13 16:10:16Z jylam $ |
|---|
| 2 | |
|---|
| 3 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca |
|---|
| 4 | |
|---|
| 5 | EXTRA_DIST = libcaca++.vcproj libcaca++.def test-cxx.vcproj |
|---|
| 6 | if USE_CXX |
|---|
| 7 | pkgconfig_DATA = caca++.pc |
|---|
| 8 | pkgconfigdir = $(libdir)/pkgconfig |
|---|
| 9 | |
|---|
| 10 | include_HEADERS = caca++.h |
|---|
| 11 | lib_LTLIBRARIES = libcaca++.la |
|---|
| 12 | endif |
|---|
| 13 | |
|---|
| 14 | libcaca___la_SOURCES = caca++.cpp caca++.h |
|---|
| 15 | libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ |
|---|
| 16 | libcaca___la_LIBADD = ../caca/libcaca.la |
|---|
| 17 | |
|---|
| 18 | if USE_CXX |
|---|
| 19 | noinst_PROGRAMS = cxxtest |
|---|
| 20 | endif |
|---|
| 21 | |
|---|
| 22 | cxxtest_SOURCES = cxxtest.cpp |
|---|
| 23 | cxxtest_LDADD = libcaca++.la ../caca/libcaca.la |
|---|
| 24 | |
|---|
| 25 | install-exec-local: |
|---|
| 26 | $(mkinstalldirs) $(DESTDIR)$(libdir) |
|---|
| 27 | . libcaca++.la; \ |
|---|
| 28 | for x in $$library_names; do \ |
|---|
| 29 | ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ |
|---|
| 30 | done |
|---|
| 31 | |
|---|
| 32 | install-data-local: |
|---|
| 33 | $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) |
|---|
| 34 | ln -sf caca++.pc $(DESTDIR)$(pkgconfigdir)/cucul++.pc |
|---|
| 35 | |
|---|
| 36 | uninstall-local: |
|---|
| 37 | . libcaca++.la; \ |
|---|
| 38 | for x in $$library_names; do \ |
|---|
| 39 | rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ |
|---|
| 40 | done |
|---|
| 41 | rmdir $(DESTDIR)$(libdir) 2>/dev/null || true |
|---|
| 42 | rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc |
|---|
| 43 | rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true |
|---|
| 44 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.