#include "opendylan/run-time.h"

/* Generated by Open Dylan 2014.1 for x86_64-linux */

/* Typedefs for referenced classes */

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
  dylan_value incremental_gf_module_;
  dylan_value incremental_gf_domain_info_;
  dylan_value incremental_gf_method_libraries_;
  dylan_value incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLfunction_classGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value mm_wrapper_implementation_class_; \
    dylan_value mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    dylan_value mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  dylan_value wrapper;
  dylan_value namespace_name_;
  dylan_value library_major_version_;
  dylan_value library_minor_version_;
  dylan_value library_build_count_;
  dylan_value used_libraries_;
  dylan_value all_used_libraries_;
  dylan_value runtime_module_;
  dylan_value library_defined_generics_;
  dylan_value library_number_static_dispatches_;
  dylan_value library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(16);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(4);
define__KLsimple_object_vectorGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
} _KLsealed_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value head_;
  dylan_value tail_;
} _KLempty_listGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value symbol_name_;
} _KLsymbolGVKd;

typedef struct {
  dylan_value wrapper;
} _KLfile_locatorGYlocatorsVsystem;

typedef struct {
  dylan_value wrapper;
  dylan_value outer_stream_;
  dylan_value private_stream_element_type_value_;
  dylan_value private_stream_direction_value_;
  dylan_value private_stream_lock_value_;
  dylan_value actual_stream_input_buffer_;
  dylan_value actual_stream_output_buffer_;
  dylan_value stream_shared_buffer_;
  dylan_value initial_position_;
  dylan_value current_position_;
  dylan_value final_position_;
  dylan_value stream_locator_;
  dylan_value accessor_;
} _KLfile_streamGYstreams_internalsVio;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(47);
define__KLbyte_stringGVKd(5);

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
} _KLsignatureGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value project_source_record_table_;
  dylan_value project_current_compilation_context_;
  dylan_value project_namespace_loaded_;
  dylan_value Pproject_owners_;
  dylan_value Pproject_top_levelQ_;
  dylan_value Pdatabase_in_memory_;
  dylan_value Pdatabase_in_memory_current_;
  dylan_value Pdatabase_saved_;
  dylan_value project_major_version_;
  dylan_value project_minor_version_;
  dylan_value project_library_pack_;
  dylan_value project_library_loose_bindings_;
  dylan_value project_library_tight_bindings_;
  dylan_value project_lid_location_;
  dylan_value project_lid_date_;
  dylan_value project_lid_library_name_;
  dylan_value project_build_settings_slot_;
  dylan_value project_lid_file_info_;
  dylan_value project_source_files_;
  dylan_value project_source_record_class_;
  dylan_value project_compilation_mode_;
  dylan_value project_compiler_back_end_;
  dylan_value project_platform_name_;
  dylan_value project_target_type_;
} _KLlid_projectGYlid_projectsVprojects;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
  dylan_value signature_values_;
} _KLsignatureAvaluesGVKi;


/* Typedefs for defined classes */


/* Referenced object declarations */

dylan_value KPadd_methodVKnI (dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kmakefile_existsQYprojects_implementationVprojects;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLlibraryGVKe Kuser_projects_libraryYdylan_userVuser_projects;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLincremental_generic_functionGVKe Kgenerate_makefileYprojects_implementationVprojects;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLsimple_methodGVKe Kused_compilation_contextsYdfmc_project_compilationVdfmc_browser_support;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLincremental_generic_functionGVKe Ktype_for_copyVKd;
extern _KLsealed_generic_functionGVKe Kmap_as_oneVKi;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsimple_methodGVKe Kcompilation_context_projectYdfmc_project_compilationVdfmc_browser_support;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLincremental_generic_functionGVKe Kproject_build_locationVprojects;
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLincremental_generic_functionGVKe Kproject_library_nameVprojects;
extern _KLsealed_generic_functionGVKe Kconvert_path_to_relativeVuser_projects;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLsymbolGVKd KJname_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLfile_locatorGYlocatorsVsystem;
extern _KLmm_wrapperGVKi_0 KLfile_locatorGYlocatorsVsystemW;
extern _KLsymbolGVKd KJdirection_;
extern _KLsymbolGVKd KJoutput_;
extern _KLincremental_generic_functionGVKe Kopen_file_streamYstreams_protocolVcommon_dylan;
extern _KLclassGVKd KLfile_streamGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLfile_streamGYstreams_internalsVioW;
dylan_value Kwrite_commentVuser_projectsI (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kproject_lid_library_nameYlid_projectsVprojects;
dylan_value Ksave_single_valueVuser_projectsMM0I (dylan_value, dylan_value, dylan_value);
dylan_value Ksave_lid_infoVuser_projectsI (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLsealed_generic_functionGVKe Kcompilation_context_object_namesVdfmc_namespace;
extern _KLsimple_methodGVKe Ksave_list_valueVuser_projectsMM0;
dylan_value Ksave_list_valueVuser_projectsMM0I (dylan_value, dylan_value, dylan_value);
dylan_value Kall_c_librariesVuser_projectsI (dylan_value);
extern _KLincremental_generic_functionGVKe Kstream_openQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KcloseYcommon_extensionsVcommon_dylan;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLlid_projectGYlid_projectsVprojects;
extern _KLmm_wrapperGVKi_0 KLlid_projectGYlid_projectsVprojectsW;
extern _KLsealed_generic_functionGVKe Kfile_existsQYfile_systemVsystem;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern dylan_value Ddylan_makefileVuser_projects;

/* Defined object declarations */

extern _KLsimple_methodGVKe Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0;
dylan_value Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0I (dylan_value);
extern _KLsimple_methodGVKe Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0;
dylan_value Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0I (dylan_value);
static _KLsymbolGVKd KJsystem_;
static _KLbyte_stringGVKd_5 K7;
static _KLsymbolGVKd KJdirectory_;
static _KLbyte_stringGVKd_47 K9;
static _KLsymbolGVKd KJlibrary_;
static _KLsymbolGVKd KJfiles_;
static _KLsymbolGVKd KJused_projects_;
static _KLsymbolGVKd KJall_c_libraries_;
static _KLbyte_stringGVKd_15 K14;
static _KLbyte_stringGVKd_13 K15;
static _KLbyte_stringGVKd_5 K16;
static _KLbyte_stringGVKd_7 K17;
static _KLbyte_stringGVKd_9 K18;
static _KLbyte_stringGVKd_6 K19;
static _KLsignatureGVKe K20;
static _KLsimple_object_vectorGVKd_1 K21;
static _KLsignatureAvaluesGVKi K22;

/* Indirection variables */

static dylan_value IKJsystem_ = &KJsystem_;
static dylan_value IKJdirectory_ = &KJdirectory_;
static dylan_value IKJlibrary_ = &KJlibrary_;
static dylan_value IKJfiles_ = &KJfiles_;
static dylan_value IKJused_projects_ = &KJused_projects_;
static dylan_value IKJall_c_libraries_ = &KJall_c_libraries_;

/* Variables */


/* Objects */

_KLsimple_methodGVKe Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K22,
  &Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0I
};

_KLsimple_methodGVKe Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K20,
  &Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0I
};

static _KLsymbolGVKd KJsystem_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K19
};

static _KLbyte_stringGVKd_5 K7 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "dummy"
};

static _KLsymbolGVKd KJdirectory_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K18
};

static _KLbyte_stringGVKd_47 K9 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 189,
  "This build file is generated, please don\'t edit"
};

static _KLsymbolGVKd KJlibrary_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K17
};

static _KLsymbolGVKd KJfiles_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K16
};

static _KLsymbolGVKd KJused_projects_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K15
};

static _KLsymbolGVKd KJall_c_libraries_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K14
};

static _KLbyte_stringGVKd_15 K14 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "all-c-libraries"
};

static _KLbyte_stringGVKd_13 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "used-projects"
};

static _KLbyte_stringGVKd_5 K16 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "files"
};

static _KLbyte_stringGVKd_7 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 29,
  "library"
};

static _KLbyte_stringGVKd_9 K18 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "directory"
};

static _KLbyte_stringGVKd_6 K19 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "system"
};

static _KLsignatureGVKe K20 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040197,
  &K21
};

static _KLsimple_object_vectorGVKd_1 K21 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLlid_projectGYlid_projectsVprojects
};

static _KLsignatureAvaluesGVKi K22 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K21,
  &KDsignature_LbooleanG_typesVKi
};

/* Code */

dylan_value Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0I (dylan_value project_) {
  dylan_value build_;
  dylan_value make_locator_;
  dylan_value T4_0;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};

  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:8
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:10
  CONGRUENT_CALL_PROLOG(&Kproject_build_locationVprojects, 1);
  build_ = CONGRUENT_CALL1(project_);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:12
  T5.vector_element_[0] = IKJdirectory_;
  T5.vector_element_[1] = build_;
  T5.vector_element_[2] = &KJname_;
  T5.vector_element_[3] = Ddylan_makefileVuser_projects;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:12
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  make_locator_ = CONGRUENT_CALL2(&KLfile_locatorGYlocatorsVsystem, &T5);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:15
  T4_0 = CALL1(&Kfile_existsQYfile_systemVsystem, make_locator_);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:8
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0I (dylan_value project_) {
  dylan_value T2;
  dylan_value build_;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10T, T10;
  dylan_value T11;
  dylan_value T12;
  dylan_value location_;
  dylan_value name_;
  dylan_value T15;
  dylan_value T16;
  dylan_value T17;
  dylan_value make_locator_;
  dylan_value T19;
  dylan_value T20;
  dylan_value stream_;
  dylan_value T22;
  dylan_value T23;
  dylan_value T24;
  dylan_value T25;
  dylan_value T26;
  dylan_value T27;
  dylan_value info_;
  dylan_value T29;
  dylan_value T30;
  dylan_value Ustream_;
  dylan_value T32;
  dylan_value T33;
  dylan_value T34;
  dylan_value T35;
  dylan_value T36;
  dylan_value T37;
  dylan_value T38;
  dylan_value T39;
  dylan_value T40;
  dylan_value T41;
  _KLsimple_object_vectorGVKd_4 T42 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};
  _KLsimple_object_vectorGVKd_2 T43 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};

  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:18
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:19
  T36 = SLOT_VALUE_INITD(project_, 1);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:21
  T2 = CALL1(&Kused_compilation_contextsYdfmc_project_compilationVdfmc_browser_support, T36);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:21
  CONGRUENT_CALL_PROLOG(&Ktype_for_copyVKd, 1);
  T37 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:21
  T38 = CALL3(&Kmap_as_oneVKi, T37, &Kcompilation_context_projectYdfmc_project_compilationVdfmc_browser_support, T2);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:22
  info_ = &KPempty_listVKi;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:23
  CONGRUENT_CALL_PROLOG(&Kproject_build_locationVprojects, 1);
  build_ = CONGRUENT_CALL1(project_);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
  T4 = CONGRUENT_CALL1(T38);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T5 = T4;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T6 = MV_GET_ELT(1);
;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T7 = MV_GET_ELT(2);
;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T8 = MV_GET_ELT(3);
;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T9 = MV_GET_ELT(5);
;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  T10T = T5;
L0: ;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
    T10 = T10T;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
    T11 = CALL3(T8, T38, T10, T6);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
    if (T11 == &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
      T12 = CALL2(T9, T38, T10);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:25
      location_ = CALL1(&Kproject_build_locationVprojects, T12);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:26
      name_ = CALL1(&Kproject_library_nameVprojects, T12);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      if (location_ != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:31
        CONGRUENT_CALL_PROLOG(&Kconvert_path_to_relativeVuser_projects, 2);
        T15 = CONGRUENT_CALL2(location_, build_);
        T16 = T15;
      } else {
        T16 = IKJsystem_;
      }
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      T30 = info_;
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      T39 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      SLOT_VALUE_SETTER(T16, T39, 0);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:28
      SLOT_VALUE_SETTER(T30, T39, 1);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      T40 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      SLOT_VALUE_SETTER(&K7, T40, 0);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      SLOT_VALUE_SETTER(T39, T40, 1);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      T41 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      SLOT_VALUE_SETTER(name_, T41, 0);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      SLOT_VALUE_SETTER(T40, T41, 1);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:27
      info_ = T41;
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
      T17 = CALL2(T7, T38, T10);
      // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
      T10T = T17;
      goto L0;
    }
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:24
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:36
  T42.vector_element_[0] = IKJdirectory_;
  T42.vector_element_[1] = build_;
  T42.vector_element_[2] = &KJname_;
  T42.vector_element_[3] = Ddylan_makefileVuser_projects;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:36
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  make_locator_ = CONGRUENT_CALL2(&KLfile_locatorGYlocatorsVsystem, &T42);
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  Ustream_ = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  ENTER_UNWIND_FRAME(T19);
  if (!nlx_setjmp(FRAME_DEST(T19))) {
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    T43.vector_element_[0] = &KJdirection_;
    T43.vector_element_[1] = &KJoutput_;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    CONGRUENT_CALL_PROLOG(&Kopen_file_streamYstreams_protocolVcommon_dylan, 2);
    T20 = CONGRUENT_CALL2(make_locator_, &T43);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    Ustream_ = T20;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    T35 = Ustream_;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    primitive_type_check(T35, &KLfile_streamGYstreams_internalsVio);
    stream_ = T35;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:40
    Kwrite_commentVuser_projectsI(stream_, &K9);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:41
    CONGRUENT_CALL_PROLOG(&Kproject_lid_library_nameYlid_projectsVprojects, 1);
    T22 = CONGRUENT_CALL1(project_);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:41
    Ksave_single_valueVuser_projectsMM0I(stream_, IKJlibrary_, T22);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:42
    Ksave_lid_infoVuser_projectsI(project_, stream_, &KPempty_vectorVKi, &KPtrueVKi);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:44
    CONGRUENT_CALL_PROLOG(&Kcompilation_context_object_namesVdfmc_namespace, 1);
    T23 = CONGRUENT_CALL1(T36);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:43
    CALL3(&Ksave_list_valueVuser_projectsMM0, stream_, IKJfiles_, T23);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:45
    T29 = info_;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:45
    Ksave_list_valueVuser_projectsMM0I(stream_, IKJused_projects_, T29);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:46
    T24 = Kall_c_librariesVuser_projectsI(project_);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:46
    T25 = Ksave_list_valueVuser_projectsMM0I(stream_, IKJall_c_libraries_, T24);
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    FALL_THROUGH_UNWIND(T25);
  }
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  T33 = Ustream_;
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  if (T33 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    T34 = Ustream_;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    T26 = CALL1(&Kstream_openQYstreams_protocolVcommon_dylan, T34);
    T27 = T26;
  } else {
    T27 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  if (T27 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    T32 = Ustream_;
    // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
    CALL1(&KcloseYcommon_extensionsVcommon_dylan, T32);
  }
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:39
  CONTINUE_UNWIND();
  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:18
  return(T25);
}


/* SYSTEM INIT CODE */

void _Init_user_projects__X_build_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJsystem_);
    if (T0 != &KJsystem_) {
      IKJsystem_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJdirectory_);
    if (T0 != &KJdirectory_) {
      IKJdirectory_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJlibrary_);
    if (T0 != &KJlibrary_) {
      IKJlibrary_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJfiles_);
    if (T0 != &KJfiles_) {
      IKJfiles_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJused_projects_);
    if (T0 != &KJused_projects_) {
      IKJused_projects_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJall_c_libraries_);
    if (T0 != &KJall_c_libraries_) {
      IKJall_c_libraries_ = T0;
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_user_projects__X_build_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:8
  T0 = KPadd_methodVKnI(&Kmakefile_existsQYprojects_implementationVprojects, &Kmakefile_existsQYprojects_implementationVprojectsMuser_projectsM0, &Kuser_projects_libraryYdylan_userVuser_projects);
  goto I2;
}
I2:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/project-manager/user-projects/build.dylan:18
  T0 = KPadd_methodVKnI(&Kgenerate_makefileYprojects_implementationVprojects, &Kgenerate_makefileYprojects_implementationVprojectsMuser_projectsM0, &Kuser_projects_libraryYdylan_userVuser_projects);
  goto I5;
}
I5:

  return;
}


/* eof */
