summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: fa6f5dc0ea6551500a50a0395f8d5e00593fe32e (plain)
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
## Process this file with automake to produce Makefile.in

bin_PROGRAMS = glade

glade_CPPFLAGS = \
	-I$(top_srcdir)    \
	-I$(top_builddir)  \
	-DGLADE_GNOMEHELPDIR="\"$(HELP_DIR)\""
	$(AM_CPPFLAGS)

glade_CFLAGS =           \
	$(GTK_CFLAGS)      \
	$(IGE_MAC_CFLAGS)  \
	$(WARN_CFLAGS)     \
	$(AM_CFLAGS)

glade_LDFLAGS = $(AM_LDFLAGS)

glade_LDADD = $(top_builddir)/gladeui/libgladeui-3.la $(IGE_MAC_LIBS)

glade_SOURCES = \
	glade-window.c \
	glade-window.h \
	glade-close-button.c \
	glade-close-button.h \
	main.c

if NATIVE_WIN32
glade_LDADD += glade-win32-res.o
if !GLADE_UNSTABLE
glade_LDFLAGS += -mwindows
endif
endif

glade-win32-res.o: glade.rc
	$(WINDRES) $< $@

EXTRA_DIST = glade.rc.in