~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to netware/Makefile.am

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                                storage/myisam/myisam_ftdump.def
45
45
 
46
46
link_sources:
47
 
        set -x; \
48
47
        for f in $(netware_build_files); do \
49
48
          rm -f ../$$f; \
50
49
          org=`echo $$f | sed -e 's/.*\/\(.*\)/\1/g'`; \
51
50
          @LN_CP_F@ $(srcdir)/$$org ../$$f; \
52
51
        done
 
52
        echo timestamp > link_sources
 
53
 
 
54
BUILT_SOURCES =                 link_sources
 
55
CLEANFILES =                    $(BUILT_SOURCES)
 
56
 
53
57
else
54
58
 
55
 
BUILT_SOURCES =                 libmysql.imp
56
 
DISTCLEANFILES =                $(BUILT_SOURCES)
 
59
BUILT_SOURCES =                 libmysql.imp init_db.sql test_db.sql
 
60
DISTCLEANFILES =                libmysql.imp
 
61
CLEANFILES =                    init_db.sql test_db.sql
57
62
 
58
63
# Create the libmysql.imp from libmysql/libmysql.def
59
64
libmysql.imp: $(top_srcdir)/libmysql/libmysql.def
60
 
        awk 'BEGIN{x=0;} \
 
65
        $(AWK) 'BEGIN{x=0;} \
61
66
             END{printf("\n");} \
62
67
             x==1 {printf(" %s",$$1); x++; next} \
63
68
             x>1 {printf(",\n %s", $$1); next} \
64
69
             /EXPORTS/{x=1}' $(top_srcdir)/libmysql/libmysql.def > libmysql.imp
65
70
 
66
 
EXTRA_DIST=     $(BUILT_SOURCES) comp_err.def init_db.sql install_test_db.ncf \
 
71
EXTRA_DIST=     $(BUILT_SOURCES) comp_err.def install_test_db.ncf \
67
72
                libmysql.def \
68
73
                libmysqlmain.c my_manage.c my_manage.h \
69
74
                my_print_defaults.def myisam_ftdump.def myisamchk.def \
77
82
                mysqlshow.def mysqltest.def mysqlslap.def mysql_upgrade.def \
78
83
                perror.def \
79
84
                mysql_client_test.def \
80
 
                replace.def resolve_stack_dump.def resolveip.def test_db.sql \
 
85
                replace.def resolve_stack_dump.def resolveip.def \
81
86
                static_init_db.sql \
82
87
                BUILD/apply-patch BUILD/compile-AUTOTOOLS \
83
88
                BUILD/compile-linux-tools BUILD/compile-netware-END \
88
93
                BUILD/cron-build BUILD/crontab BUILD/knetware.imp \
89
94
                BUILD/mwasmnlm BUILD/mwccnlm BUILD/mwenv BUILD/mwldnlm \
90
95
                BUILD/nwbootstrap BUILD/openssl.imp BUILD/save-patch
 
96
 
 
97
 
 
98
# Build init_db.sql from the files that contain
 
99
# the system tables for this version of MySQL plus any commands
 
100
init_db.sql: $(top_srcdir)/scripts/mysql_system_tables.sql \
 
101
             $(top_srcdir)/scripts/mysql_system_tables_data.sql
 
102
        @echo "Building $@";
 
103
        @echo "CREATE DATABASE mysql;" > $@;
 
104
        @echo "CREATE DATABASE test;" >> $@;
 
105
        @echo "use mysql;" >> $@;
 
106
        @cat $(top_srcdir)/scripts/mysql_system_tables.sql \
 
107
             $(top_srcdir)/scripts/mysql_system_tables_fix.sql >> $@;
 
108
 
 
109
# Build test_db.sql from init_db.sql plus
 
110
# some test data
 
111
test_db.sql: init_db.sql $(top_srcdir)/scripts/mysql_test_data_timezone.sql
 
112
        @echo "Building $@";
 
113
        @cat init_db.sql \
 
114
             $(top_srcdir)/scripts/mysql_test_data_timezone.sql >> $@;
 
115
 
91
116
endif
92
117
 
93
118
# Don't update the files from bitkeeper