Mercurial > audlegacy-plugins
annotate src/modplug/Makefile @ 894:f19e6748d8eb trunk
[svn] maintenance of build system:
- link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency.
- make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk.
- *.h has been removed from SOURCES. these files had been passed to linker as object files.
| author | yaz |
|---|---|
| date | Sat, 24 Mar 2007 09:08:58 -0700 |
| parents | 550c9e382cf8 |
| children | 499656950801 |
| rev | line source |
|---|---|
| 17 | 1 include ../../mk/rules.mk |
| 2 include ../../mk/init.mk | |
| 3 | |
| 4 OBJECTIVE_LIBS = libmodplug$(SHARED_SUFFIX) | |
| 5 SUBDIRS = archive gui | |
| 6 | |
| 7 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) | |
| 8 | |
|
578
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
425
diff
changeset
|
9 CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I.. -I../.. -I../../intl |
|
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
425
diff
changeset
|
10 CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I.. -I../.. -I../../intl |
|
550c9e382cf8
[svn] - splitted GTK_CFLAGS in GTK_CFLAGS, GLIB_CFLAGS and PANGO_CFLAGS, splitted GTK_LIBS in GTK_LIBS, GLIB_LIBS, PANGO_LIBS
giacomo
parents:
425
diff
changeset
|
11 LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++ ./archive/libarchive.a ./gui/libgui.a |
|
136
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
12 SOURCES.plugin = plugin.cxx modplugbmp.cxx |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
13 SOURCES.core = tables.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
14 sndmix.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
15 sndfile.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
16 snd_fx.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
17 snd_flt.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
18 snd_dsp.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
19 fastmix.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
20 mmcmp.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
21 load_xm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
22 load_wav.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
23 load_umx.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
24 load_ult.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
25 load_stm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
26 load_s3m.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
27 load_ptm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
28 load_okt.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
29 load_mtm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
30 load_mod.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
31 load_med.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
32 load_mdl.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
33 load_it.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
34 load_far.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
35 load_dsm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
36 load_dmf.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
37 load_dbm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
38 load_ams.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
39 load_amf.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
40 load_669.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
41 load_j2b.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
42 load_mt2.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
43 load_psm.cxx \ |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
44 modplug.cxx |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
45 |
|
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
46 SOURCES = ${SOURCES.core} ${SOURCES.plugin} |
| 17 | 47 |
| 48 OBJECTS = ${SOURCES:.cxx=.o} | |
| 49 | |
| 894 | 50 LIBDEP = gui/libgui.a archive/libarchive.a |
| 51 | |
| 17 | 52 include ../../mk/objective.mk |
|
136
6b5a52635b3b
[svn] - like with so many other things, modplug is now maintained by us.
nenolod
parents:
17
diff
changeset
|
53 |
