-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
65 lines (49 loc) · 2.48 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
bin_PROGRAMS = hoe
SUBDIRS = . libnova icons debian ini
hoe_SOURCES =\
main.c gtkut.c general_gui.c menu.c io_gui.c callbacks.c progress.c efs.c etc.c calcpa.c edit.c plan.c service.c objtree.c linetree.c stdtree.c fcdbtree.c trdbtree.c etctree.c magdb.c lunar.c solar.c earth.c rise_set.c sidereal_time.c vsop87.c julian_day.c utility.c transform.c nutation.c dynamical_time.c precession.c http-client.c scp-client.c fc.c configfile.c skymon.c votable.c json_parse.c fc_output.c mercury.c venus.c mars.c jupiter.c saturn.c uranus.c neptune.c pluto.c resources.c hds.c ircs.c lgs.c hsc.c ird.c seimei.c main.h gtkut.h calcpa.h fc.h objtree.h service.h general_gui.h menu.h io_gui.h callbacks.h votable.h configfile.h ssl.h hsc.h hsc_filter.h ird.h std.h post.h post_sdss.h post_lamost.h post_smoka.h post_hst.h post_eso.h get_gemini.h post_kepler.h post_seimei.h star_template.h libssh2_config.h hds.h ircs.h lgs.h resources.h observatory.h seimei.h
if HAVE_WINDRES
HOE_RES = hoe.res
hoe.res: hoe_res.rc
$(WINDRES) $< -O coff -o $@
else
HOE_RES =
endif
EXTRA_DIST = autogen.sh\
README.jp\
gresource.xml\
standard.list\
sample.list\
samplePS.list\
hoe.ico\
subaru_logo.ico\
hoe_res.rc.in\
hoe.1\
makewin32.sh\
makewin64.sh\
makeosx.sh\
hoe.spec\
libssh2_config.h.in
BUILT_SOURCES=resources.c resources.h
man_MANS = hoe.1
CLEANFILES = *~ libnova/*~ icons/*~ debian/*~ ini/*~
DISTCLEANFILES =
AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\"
CLEANFILES += $(BUILT_SOURCES)
resource_files=$(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/gresource.xml)
resources.h:
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header $(srcdir)/gresource.xml
resources.c: gresource.xml $(resource_files) resources.h
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/gresource.xml
INCLUDES = @GTK_CFLAGS@ $(GTK3_CFLAGS) $(GTKMAC_CFLAGS) $(DISABLE_DEPRECATED) $(XML_CPPFLAGS)
LDADD = $(OSX_LDADD) @GTK_LIBS@ $(GTK3_LIBS) $(GTKMAC_LIBS) $(WINMM_LIBS) $(WINSOCK_LIBS) $(XML_LIBS) $(HOE_RES)
CFLAGS+=
GZIP_ENV =
BZIP2_ENV =
TAR=tar
#ACLOCAL_AMFLAGS = -l m4
release: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
BZIP2=$(BZIP2_ENV) $(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
-rm -rf $(distdir)