-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
41 lines (30 loc) · 1.37 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
bin_PROGRAMS = hdslog
SUBDIRS=icons
hdslog_SOURCES =\
main.c main.h configfile.c configfile.h gui.c gui.h gtkut.c gtkut.h tree.c tree.h http-client.c mltree.c hdsql.c mltree.h resources.c resources.h mail.h hdsql.h scp-client.c
INCLUDES = @CFITSIO_CFLAGS@ @GTK_CFLAGS@ $(GTK3_CFLAGS)
LDADD = @CFITSIO_LIBS@ @GTK_LIBS@ $(GTK3_LIBS)
# for ANA
# INCLUDES = -I/opt/share/pgplot/g77_gcc @GTK_CFLAGS@
# LDADD = -L/opt/sahre/pgplot/g77_gcc -lcpgplot -lpgplot -lg2c @GTK_LIBS@
CLEANFILES = *~ icons/*~
DISTCLEANFILES = .deps/*.P
AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" -DCOMMON_DIR=\""$(commondir)"\"
EXTRA_DIST = autogen.sh\
gresource.xml\
libssh2_config.h.in
BUILT_SOURCES=resources.c resources.h
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
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)
-rm -rf $(distdir)