Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / glib / Makefile.am
blobf059565091c0172eb998055b2a5543f2c2aa9053
1 ## Process this file with automake to produce Makefile.in
3 # require automake 1.4
4 AUTOMAKE_OPTIONS = 1.4
6 SUBDIRS = . gmodule gthread docs tests
8 configincludedir = $(pkglibdir)/include
10 bin_SCRIPTS=glib-config
11 BUILT_SOURCES=glib-config
12 glib-config: glib-config.in
14 INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
16 EXTRA_DIST = \
17         glib.m4                 \
18         glib.spec.in            \
19         acglib.m4               \
20         sanity_check            \
21         README.win32            \
22         glib.def                \
23         makefile.msc.in         \
24         makefile.msc            \
25         giowin32.c              \
26         glibconfig.h.win32      \
27         glibconfig.h.win32.in   \
28         config.h.win32          \
29         config.h.win32.in       \
30         glib.pc.in              \
31         gmodule.pc.in           \
32         gthread.pc.in
35 lib_LTLIBRARIES = libglib.la
37 libglib_la_SOURCES = \
38         garray.c        \
39         gcache.c        \
40         gcompletion.c   \
41         gdataset.c      \
42         gdate.c         \
43         gerror.c        \
44         ghash.c         \
45         ghook.c         \
46         giochannel.c    \
47         giounix.c       \
48         glist.c         \
49         gmain.c         \
50         gmem.c          \
51         gmessages.c     \
52         gmutex.c        \
53         gnode.c         \
54         gprimes.c       \
55         grel.c          \
56         gscanner.c      \
57         gslist.c        \
58         gstrfuncs.c     \
59         gstring.c       \
60         gtimer.c        \
61         gtree.c         \
62         gutils.c
64 glibincludedir=$(includedir)/glib-1.2
65 glibinclude_HEADERS =   \
66         glib.h
68 configinclude_DATA = \
69         glibconfig.h
71 CONFIGURE_DEPENDENCIES = acglib.m4              
73 BUILT_SOURCES += stamp-gc-h #note: not glibconfig.h
74 glibconfig.h: stamp-gc-h
75         @:
76 stamp-gc-h: config.status
77         CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
78         echo timestamp > stamp-gc-h
80 libglib_la_LDFLAGS = \
81         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
82         -release $(LT_RELEASE) \
83         -export-dynamic
85 noinst_PROGRAMS = testglib testgdate testgdateparser
86 testglib_LDADD = libglib.la
87 testgdate_LDADD = libglib.la
88 testgdateparser_LDADD = libglib.la
90 m4datadir = $(datadir)/aclocal
91 m4data_DATA = glib.m4
93 pkgconfigdir = $(libdir)/pkgconfig
94 pkgconfig_DATA = glib.pc gmodule.pc gthread.pc
96 glibconfig.h.win32: $(top_builddir)/config.status $(top_srcdir)/glibconfig.h.win32.in
97         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
99 config.h.win32: $(top_builddir)/config.status $(top_srcdir)/config.h.win32.in
100         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
102 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/makefile.msc.in
103         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
105 .PHONY: files release sanity snapshot
107 files:
108         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
109           echo $$p; \
110         done
112 release:
113         rm -rf .deps */.deps
114         cd docs && make glib.html
115         $(MAKE) distcheck
117 sanity:
118         ./sanity_check $(VERSION)
120 snapshot:
121         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
123 dist-hook: glib.spec
124         if test -e $(srcdir)/INSTALL.in && test -e $(srcdir)/README.in ; then \
125              CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \
126              CONFIG_HEADERS= \
127              $(SHELL) config.status \
128              && cp INSTALL README $(distdir) ; \
129         fi \
130         && cp glib.spec $(distdir)