Do not build eggsmclient lib either

This commit is contained in:
Yevgen Muntyan 2008-08-23 01:03:40 -05:00
parent d242646cbd
commit 54447526aa
4 changed files with 16 additions and 16 deletions

View File

@ -14,7 +14,7 @@ mooapp_sources = \
noinst_LTLIBRARIES = libmooapp.la
libmooapp_la_SOURCES = $(mooapp_sources)
libmooapp_la_LIBADD = libsmclient.la
libmooapp_la_LIBADD =
BUILT_SOURCES += mooapp-credits.h

View File

@ -1,32 +1,23 @@
noinst_LTLIBRARIES += \
libsmclient.la
libsmclient_la_CFLAGS = \
$(MOO_CFLAGS) \
$(MOO_W_NO_UNUSED)
libsmclient_la_SOURCES = \
libmooapp_la_SOURCES += \
smclient/eggsmclient.c \
smclient/eggsmclient.h \
smclient/eggsmclient-mangle.h \
smclient/eggsmclient-private.h
libsmclient_la_LIBADD =
if GDK_X11
libsmclient_la_CFLAGS += $(X_CFLAGS) -DEGG_SM_CLIENT_BACKEND_XSMP
libsmclient_la_LIBADD += $(X_LIBS) $(X_EXTRA_LIBS) -lSM -lICE
libsmclient_la_SOURCES += \
AM_CFLAGS += $(X_CFLAGS) -DEGG_SM_CLIENT_BACKEND_XSMP
libmooapp_la_LIBADD += $(X_LIBS) $(X_EXTRA_LIBS) -lSM -lICE
libmooapp_la_SOURCES += \
smclient/eggsmclient-xsmp.c \
smclient/eggdesktopfile.h \
smclient/eggdesktopfile.c
endif GDK_X11
if GDK_WIN32
libsmclient_la_SOURCES += \
libmooapp_la_SOURCES += \
smclient/eggsmclient-win32.c
endif GDK_WIN32
if GDK_QUARTZ
libsmclient_la_SOURCES += \
libmooapp_la_SOURCES += \
smclient/eggsmclient-dummy.c
endif GDK_QUARTZ

View File

@ -20,6 +20,10 @@
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
#include <gdkconfig.h>
#include "eggsmclient.h"

View File

@ -28,6 +28,11 @@
#ifndef __XDG_MIME_INT_H__
#define __XDG_MIME_INT_H__
#if __GNUC__ == 4 && __GNUC_MINOR__ >= 2
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
#include "xdgmime.h"