Changeset 22 in svn for trunk/Makefile.frag


Ignore:
Timestamp:
2006-05-25T08:49:48+02:00 (9 years ago)
Author:
Xuefer
Message:

do not depends on mkstructinfo.awk if test is not enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.frag

    r11 r22  
    55XCACHE_INCLUDES_SRC=$(srcdir)/includes.c
    66XCACHE_INCLUDES_I=$(builddir)/includes.i
    7 XCACHE_STRUCT_OUT=$(builddir)/structinfo.m4
     7XCACHE_STRUCTINFO_OUT=$(builddir)/structinfo.m4
    88
    99$(XCACHE_INCLUDES_I): $(XCACHE_INCLUDES_SRC) $(srcdir)/xcache.h
    1010    $(CC) -I. -I$(srcdir) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -E $(XCACHE_INCLUDES_SRC) -o $(XCACHE_INCLUDES_I)
    1111
    12 $(XCACHE_STRUCT_OUT): $(XCACHE_INCLUDES_I) $(srcdir)/mkstructinfo.awk
    13     $(AWK) -f $(srcdir)/mkstructinfo.awk < $(XCACHE_INCLUDES_I) > $(XCACHE_STRUCT_OUT)
     12$(XCACHE_STRUCTINFO_OUT): $(XCACHE_INCLUDES_I) $(srcdir)/mkstructinfo.awk
     13    $(AWK) -W posix -f $(srcdir)/mkstructinfo.awk < $(XCACHE_INCLUDES_I) > $(XCACHE_STRUCTINFO_OUT)
    1414
    15 $(XCACHE_PROC_OUT): $(XCACHE_PROC_SRC) $(XCACHE_STRUCT_OUT) $(XCACHE_PROC_SOURCES)
     15$(XCACHE_PROC_OUT): $(XCACHE_PROC_SRC) $(XCACHE_STRUCTINFO) $(XCACHE_PROC_SOURCES)
    1616    $(M4) -D srcdir="$(srcdir)" -D builddir="$(builddir)" $(XCACHE_ENABLE_TEST) -E $(XCACHE_PROC_SRC) > $(XCACHE_PROC_OUT).tmp
    1717    mv -f $(XCACHE_PROC_OUT).tmp $(XCACHE_PROC_OUT)
Note: See TracChangeset for help on using the changeset viewer.