File: Makefile.am

package info (click to toggle)
exult 0.98rc1-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 6,924 kB
  • ctags: 8,928
  • sloc: cpp: 83,768; sh: 7,643; ansic: 4,328; makefile: 890; yacc: 618; lex: 255; xml: 19
file content (93 lines) | stat: -rw-r--r-- 1,678 bytes parent folder | download
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
INCLUDES = -I$(srcdir)/../headers -I$(srcdir)/.. -I$(srcdir)/../shapes \
	-I$(srcdir)/../imagewin -I$(srcdir)/../conf \
	-I$(srcdir)/../files -I$(srcdir)/../server \
	$(GTK_INCLUDES) $(LIBGLADE_INCLUDES) $(INCDIRS) $(WINDOWING_SYSTEM) $(DEBUG_FLAGS) $(CPPFLAGS) -DEXULT_DATADIR=\"$(EXULT_DATADIR)\"

if GIMP_PLUGIN
GIMP_PLUGINS=u7shp
else
GIMP_PLUGINS=
endif

GTK_LIBS = @GTK_LIBS@

if HAVE_GTK
OUTPUT_LIBS = libmapedit.la
else
OUTPUT_LIBS =
endif

if HAVE_LIBGLADE 
LIBGLADE_APPS = exult_studio
else
LIBGLADE_APPS =
endif

u7shp_SOURCES = u7shp.c

exult_studio_SOURCES = \
	chunklst.cc \
	chunklst.h \
	dirbrowser.cc \
	dirbrowser.h \
	eggedit.cc \
	locator.cc \
	locator.h \
	npcedit.cc \
	objedit.cc \
	shapeedit.cc \
	studio.cc \
	studio.h \
	exult_studio.cc

bin_PROGRAMS = $(LIBGLADE_APPS)

noinst_PROGRAMS = $(GIMP_PLUGINS)

exult_studio_LDADD = \
	./libmapedit.la			\
	../conf/libconf.la		\
	../files/libu7file.la		\
	../imagewin/libimagewin.la	\
	../shapes/libshapes.la 		\
	../server/libserver.la		\
	$(GTK_LIBS) $(SYSLIBS) $(x_libraries) \
	$(LIBGLADE_LIBS)

exult_studio_CFLAGS = $(LIBGLADE_INCLUDES)

mapeditdir = $(datadir)/exult

mapedit_DATA = exult_studio.glade

noinst_LTLIBRARIES = $(OUTPUT_LIBS)

libmapedit_la_SOURCES = \
	objbrowse.h \
	objbrowse.cc \
	paledit.cc \
	paledit.h \
	shapedraw.cc \
	shapedraw.h \
	shapefile.cc \
	shapefile.h \
	shapegroup.cc \
	shapegroup.h \
	shapelst.cc \
	shapelst.h

u7shp$(EXEEXT): u7shp.c
	gimptool --build $<

EXTRA_DIST=	\
	exult_studio.glade

if GIMP_PLUGIN
install-exec-local:
	install -d $(GIMP_PLUGIN_PREFIX)
	install -c $(GIMP_PLUGINS) $(GIMP_PLUGIN_PREFIX)
else
install-exec-local:
endif

CLEANFILES = *~ u7shp