-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
30 lines (27 loc) · 1.03 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS =
bin_PROGRAMS = virasoro
libexec_PROGRAMS = $(VWSTP)
EXTRA_DIST = README.md LICENSE.txt
EXTRA_PROGRAMS = vwstp
## LDADD = $(AM_LDADD) @staticlibs@
LDADD = $(AM_LDADD)
IDIR = include/
virasoro_SOURCES = main.cpp virasoro.cpp runfile.cpp access.cpp $(IDIR)virasoro.h $(IDIR)runfile.h $(IDIR)hmn.h $(IDIR)cpqmn.h $(IDIR)access.h $(IDIR)mpreal.h $(IDIR)mpcomplex.h
virasoro_LDADD = $(LDADD)
vwstp_SOURCES = vwstp.cpp virasoro.cpp runfile.cpp access.cpp vwstp.tm $(IDIR)virasoro.h $(IDIR)runfile.h $(IDIR)hmn.h $(IDIR)cpqmn.h $(IDIR)access.h $(IDIR)mpreal.h $(IDIR)mpcomplex.h
nodist_vwstp_SOURCES = vwstptm.c
vwstp_CFLAGS = $(AM_CFLAGS) @wstpflags@
vwstp_CXXFLAGS = $(AM_CXXFLAGS) @wstpflags@
vwstp_CPPFLAGS = -DHAVE_WSTP
vwstp_LDADD = $(LDADD) @wstpextralibs@
PKGDIR = @pkgdatadir@
if MAKE_VWSTP
dist_pkgdata_DATA = Virasoro.m
BUILT_SOURCES = vwstptm.c
CLEANFILES = vwstptm.c
vwstptm.c: vwstp.tm
$(WSPREP) $? -o $@
install-data-hook:
chown $(USERNAME) $(PKGDIR)/Virasoro.m
endif