aboutsummaryrefslogblamecommitdiffstats
path: root/src/Makefile_Ethumb_Client.am
blob: 6b37b34dbdbed81490dbb99876ba32a2feae010f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                 
                                                                                                     






                                                                                  





                                                                                    










                                                                        
                                                                    


                                                 
                                             
                      
                                                               


                                                                             
                                                                                                
                                                                      





                                                                                 
                                                                                        
                                                                     
                                                                                                           
### Library

lib_LTLIBRARIES += \
lib/ethumb_client/libethumb_client.la

installed_ethumbclientmainheadersdir = $(includedir)/ethumb-client-@VMAJ@
dist_installed_ethumbclientmainheaders_DATA = \
lib/ethumb_client/Ethumb_Client.h

# libethumb_client.la
lib_ethumb_client_libethumb_client_la_SOURCES = lib/ethumb_client/ethumb_client.c
lib_ethumb_client_libethumb_client_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ETHUMB_CLIENT_CFLAGS@
lib_ethumb_client_libethumb_client_la_LIBADD = @ETHUMB_CLIENT_LIBS@
lib_ethumb_client_libethumb_client_la_DEPENDENCIES = @ETHUMB_CLIENT_INTERNAL_LIBS@
lib_ethumb_client_libethumb_client_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@


### Binary

if HAVE_WIN32
USE_ETHUMB_CLIENT_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_ETHUMB_CLIENT_LIBS@
else
USE_ETHUMB_CLIENT_BIN_LIBS = @USE_ETHUMB_CLIENT_LIBS@
endif

bin_PROGRAMS += \
bin/ethumb_client/ethumbd \
bin/ethumb_client/ethumbd_client

ethumbclientinternal_bindir=$(libdir)/ethumb_client/utils/$(MODULE_ARCH)
ethumbclientinternal_bin_PROGRAMS = \
bin/ethumb_client/ethumbd_slave

bin_ethumb_client_ethumbd_SOURCES = \
bin/ethumb_client/ethumbd_private.h \
bin/ethumb_client/ethumbd.c
bin_ethumb_client_ethumbd_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/ethumb_client\" \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
@ETHUMB_CLIENT_CFLAGS@
bin_ethumb_client_ethumbd_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_DEPENDENCIES = @USE_ETHUMB_CLIENT_INTERNAL_LIBS@

bin_ethumb_client_ethumbd_client_SOURCES = bin/ethumb_client/ethumbd_client.c
bin_ethumb_client_ethumbd_client_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ETHUMB_CLIENT_CFLAGS@
bin_ethumb_client_ethumbd_client_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_client_DEPENDENCIES = @USE_ETHUMB_CLIENT_INTERNAL_LIBS@

# slave does not use dbus, it's a simple ethumb application
bin_ethumb_client_ethumbd_slave_SOURCES = \
bin/ethumb_client/ethumbd_private.h \
bin/ethumb_client/ethumbd_slave.c
bin_ethumb_client_ethumbd_slave_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ETHUMB_CFLAGS@
bin_ethumb_client_ethumbd_slave_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_slave_DEPENDENCIES = @USE_ETHUMB_CLIENT_INTERNAL_LIBS@ @USE_ETHUMB_INTERNAL_LIBS@